[FFmpeg-user] SDL and Video device - swscaler - 640x360 - 0x0 is invalid scaling dimension

Chau Pham chaupv79 at hotmail.com
Wed Jul 18 08:23:16 CEST 2012


Hi Everybody,

I compiled and use ffmpeg for tutorial02 in Dranger guideline:
http://dranger.com/ffmpeg/tutorial02.html

it requires SDL, then I installed SDL and set display: 

export DISPLAY=:0.0

but when I play mpeg file:

[root at CENT6 working]# ./tutorial02 advertisement.mpg

=> output:

[mpeg @ 0x9265c80] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'advertisement.mpg':
  Duration: 00:03:36.36, start: 0.989978, bitrate: 458 kb/s
    Stream #0:0[0x1e0]: Video: mpeg1video, yuv420p, 640x360 [SAR 1:1 DAR 16:9], 104857 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
    Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16, 128 kb/s

[swscaler @ 0x93b9540] 640x360 -> 0x0 is invalid scaling dimension
Cannot initialize the conversion context!


Could you show me what happen here?

Thank You,
Chau Pham


 		 	   		  


More information about the ffmpeg-user mailing list