[FFmpeg-user] can't pipe into into ffmpeg from mp4's

Renato Santos renato.cron at gmail.com
Sat Mar 1 21:37:30 CET 2014


I guess someone will ask you to paste on the email a complete output with
-loglevel debug, so, please!
On Mar 1, 2014 5:31 PM, "Brian Quandt" <brian.quandt at gmail.com> wrote:

> I'd like to do the following:
>
> This works fine:
> ffmpeg -i file.mp4 towhatever.ext
>
> however, this fails
>
> cat file.mp4 | ffmpeg -i - towhatever.ext
>
> I know the reason, ie mp4's (QT's) have their file information at the
> end of the file, and therefore ffmpeg fails to determine what to do
> when piped input.
>
> However, say I know all the details of the codec and container, can I
> specify them on the command line so that the pipe method would work?
> Say I created the file myself, and or have ffprobed the file
> previously.
>
> For instance:
>
> cat file.mp4 | ffmpeg -f xyz -pix_fmt rgb24 ... -i - towhatever.ext
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list