[FFmpeg-user] Help Please

James Linder jam at tigger.ws
Mon Jul 15 16:05:09 CEST 2013


On 15/07/2013, at 9:15 PM, Carl Eugen Hoyos wrote:

> James Linder <jam <at> tigger.ws> writes:
> 
>> Output #1, rawvideo, to 'pipe:':
>>  Metadata:
>>    encoder         : Lavf55.11.101
>>    Stream #1:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 
>> 800x600, q=2-31, 200 kb/s, 90k tbn, 25 tbc
>> Stream mapping:
>>  Stream #1:0 -> #0:0 (rawvideo -> mpeg4)
>>  Stream #0:0 -> #0:1 (pcm_s16le -> ac3)
>>  Stream #1:0 -> #1:0 (rawvideo -> rawvideo)
>> Press [q] to stop, [?] for help
>> Input #0, rawvideo, from 'pipe:':
>>  Duration: N/A, start: 0.000000, bitrate: 144000 kb/s
>>    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p
> 
> (Sorry if you disagree or if I miss something but don't 
> you agree that above is nearly unreadable and the 
> problem can be reproduced using a file instead of a 
> pipe?)
> 
> You don't tell ffplay that your "input" is yuyv422 and the 
> default for rawvideo is yuv420p, use -pix_fmt yuyv422

Carl thanks, that fixed the picture immediately.

This records perfectly
/usr/bin/ffmpeg -f pulse -itsoffset 0.2 -i default -f v4l2 -i /dev/video0 -vtag divx -s 720x576 -r pal -q:v 5 mon.avi

As soon as I add 
-s 720x576 -f rawvideo - |/usr/bin/ffplay -f rawvideo -i - -pix_fmy yuyv422 -s 720x576
or indeed
-s 720x576 -f rawvideo - -pix_fmt yuv420p  |/usr/bin/ffplay -f rawvideo -i - -s 720x576

BOTH the display and the recorded file are [repeat_frame/ 1/2 frame new stuff every few seconds /old frame repeated]

where would I start to look for the cause. Display Size does not make any difference. Sys load is 10% (90% idle) Thanks
James


More information about the ffmpeg-user mailing list