[Libav-user] This command take 2 minutes to render. Can it be quicker?

Steve Boyer steveboyer85 at gmail.com
Wed May 28 14:45:42 CEST 2014


On Wed, May 28, 2014 at 3:34 AM, Vijay Kanta <viju.kantah at gmail.com> wrote:

> On 05/28/2014 05:17 AM, Carl Eugen Hoyos wrote:
>
>> Vijay Kanta <viju.kantah at ...> writes:
>>
>>  Can it be quicker and less resource
>>> hungry by altering the following command?
>>>
>>> :~$ /usr/local/bin/ffmpeg -i /link/to/music.mp3
>>> -i /link/to/video.mp4 -vcodec libx264 -crf 23
>>> -vf subtitles=/link/to/subtitles.srt -strict -2
>>> /link/to/muxed.mp4
>>>
>> This is missing console output but at least
>> -preset ultrafast (and friends) come to
>> mind.
>>
>
This command will (if I understand correctly) transcode your audio. Using
"-c:a copy" will copy the audio.mp3 into the muxed.mp4 container. Same
thing with "-c:v copy" as the video.mp4 is (obviously) already in an MP4
container, it should be a trivial matter to mux the two streams into a
single MP4.


> Carl Eugen
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
> Sorry, what do you mean by missing console output? This command does
> output to the shell.
>

It would help us even more if you could provide what your console outputs
when the command runs.


> Regards,
> ~Vijay.
>
> Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140528/f6990d11/attachment.html>


More information about the Libav-user mailing list