[FFmpeg-user] Can anyone explain the error I am seeing when trying to do rtsp streaming

Arnie Bearak arnstrb at yahoo.com
Mon May 2 18:38:39 CEST 2011

When I try to run the following command to do rtsp streaming

ffmpeg -r 1  -i frame_%05d.pgm -b 18000 -vcodec libx264 -y   -vpre slow  

I get the following results

Input #0, image2, from 'frame_%05d.pgm':
  Duration: 00:00:24.00, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: pgm, gray, 3332x332, 1 fps, 1 tbr, 1 tbn, 1 tbc
[buffer @ 0x12b11050] w:3332 h:332 pixfmt:gray
[scale @ 0x12b11430] w:3332 h:332 fmt:gray -> w:640 h:160 fmt:yuv420p 
[buffer @ 0x12b14b20] w:3332 h:332 pixfmt:gray
[ffsink @ 0x12b16400] auto-inserting filter 'auto-inserted scaler 0' between the 
filter '(null)' and the filter 'out'
Impossible to convert between the formats supported by the filter 'auto-inserted 
scaler 0' and the filter 'out'
Error opening filters!
[flv @ 0x12b16d60] automatic thread number detection not supported by codec, 
patch welcome
Output #0, ffm, to 'http://condor1:8090/feed1.ffm':
    Stream #0.0: Video: flv, yuv420p, 640x160, q=1-5, 200 kb/s, 1000k tbn, 15 
    Stream #0.1: Video: [0][0][0][0] / 0x0000, (null), q=0-0, 102400 kb/s, 1000k 
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.0 -> #0.1
Error while opening encoder for output stream #0.0 - maybe incorrect parameters 
such as bit_rate, rate, width or height
*** glibc detected *** /home/champ/deps/ffmpeg-HEAD-60c68c0/ffmpeg: free(): 
invalid pointer: 0x0000000012b13220 ***

More information about the ffmpeg-user mailing list