[FFmpeg-user] Convert a file being downloaded

Karoly Horvath rhswdev at gmail.com
Tue May 31 18:35:37 CEST 2011


ffmpeg can read from stdin:
-i -

--
Karoly Horvath
software engineer

On Mon, May 30, 2011 at 8:50 AM, LongkerDandy <longkerdandy at gmail.com>wrote:

> Hi
>
> I'm tring to convert a file using command like:
> ffmpeg -i input.mp4 -vcodec copy -acodec libfaac -ac 2 output.mp4
>
> The problem is the file is being donwloaded and its size is keep
> increasing.
> The ffmpeg conversion stopped long before the download finished.
> So I only got part of the file.
> Is there a good way to get around it?
>
> In fact, I'm trying to convert some online videos.
> I know ffmpeg can handle http and other protocols.
> But I have to download it first because some website require special user
> agent (or other http header).
> So ffmpeg can't read them directly (at least I don't know how to change the
> ffmpeg's http header).
>
> Any hint?
>
> Regards
> LongkerDandy
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list