[FFmpeg-user] [FFmpeg-users] Play encoder's output video as it's being encoded

belcampo belcampo at zonnet.nl
Thu Jun 16 10:13:24 CEST 2011


On 06/16/11 03:55, Quy Pham Sy wrote:
> Hi,
> sorry i didnt make that clear in my question.
>>> Out of this I can't see what your encoding options are.
> I use H264/AVC encoding to mpegts
>
>>> You mention 'moov atom', so I guess it's mp4 ??
> Yes,
>
>
> And here the question again:
>
> Is it possible to play output video of encoding while it's being encoded?
> AFAIK, ffmpeg always put 'moov atom' at the end of file so that player
> can not play video file until encoding process finish. Is there anyway that
> make ffmpeg put "moov atom" to beginning of video file, or players can
> play raw output from encoding without moov atom?
ffmpeg -i source.mp4 -vcodec libx264 -acodec xxxxx -f mpegts encoded.mpg
The source.mp4 already is an existing file incl. the moov atom which can 
be played by any suitable player, and the resulting encoded.mpg als can 
be played while being encoded/created.
>
>
> Thanks,
> Quy
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list