[FFmpeg-user] ffmpeg live stream transcoding

radiocm vadim.lungu at radiocom.md
Tue Aug 21 15:37:53 CEST 2012


i stuck at the following error :

Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height


here is my configuration :

ffmpeg -re -y \
-loglevel warning  \
-loglevel verbose \
-i rtp://239.0.12.1:5000 \
-bufsize 3000k \
-an \
-filter:v yadif \
-vbsf h264_mp4toannexb \
-maxrate 3000k \
-r 32 \
-b:v 512 \
-s 240x320 \
-vcodec libx264 \
-vsync 2 \
-preset fast \
-preset baseline \
-f h264 -f rtp rtp://10.0.254.47:5000

I was also trying to play with all the parameters specified in error ,
taking in consideration that in x264 they should be divided by 16 , i was
switching rate parameter from 16 to 50 and so on , nothing doesn't change.
Also i was trying to configure different versions of ffmpeg, but still
getting such a type of errors.



-----
Best regards, Vadim.
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/ffmpeg-live-stream-transcoding-tp4652003p4652803.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list