[FFmpeg-user] Detecting frames on Raw video stream

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Jul 14 20:55:40 EEST 2016


Charl Wentzel <charl.wentzel <at> vodamail.co.za> writes:

> On 14/07/2016 15:29, Carl Eugen Hoyos wrote:
> > Charl Wentzel <charl.wentzel <at> vodamail.co.za> writes:
> >> $ ffmpeg -f image2pipe -vcodec rawvideo -pixel_format gray
> >> -video_size 2592x1944 -framerate 10 -i tcp://192.168.1.40:5556
> >
> > You are not using the -frame_size option, the command cannot
> > work without it.
> 
> Thanks, its working again, but I'm still having the same 
> issue with image not being aligned correctly inside the 
> window.
> 
> $ ffmpeg -f image2pipe -vcodec rawvideo -pixel_format gray 
> -frame_size 5038848 -video_size 2592x1944 -framerate 10 
> -i tcp://192.168.1.40:5556 

Please try to concatenate the files from your original 
"perfect" try and feed the result into above FFmpeg 
command ("-" instead of "tcp://...").
Does that work?

I am assuming that those files were of constant size 
5038848 bytes, are they?

> ffmpeg version 2.7.6-0ubuntu0.15.10.1

Please understand that generally, only current FFmpeg 
git head is supported here.

Carl Eugen



More information about the ffmpeg-user mailing list