[Libav-user] This command take 2 minutes to render. Can it be quicker?
Steve Boyer
steveboyer85 at gmail.com
Sat May 31 05:36:51 CEST 2014
On Fri, May 30, 2014 at 2:29 AM, Vijay Kanta <viju.kantah at gmail.com> wrote:
> On 05/29/2014 06:54 PM, Steve Boyer wrote:
>
> On Thu, May 29, 2014 at 8:04 AM, Vijay Kanta <viju.kantah at gmail.com>
> wrote:
>
>> On 05/28/2014 06:15 PM, Steve Boyer wrote:
>>
>> 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 ...> <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
>>
>>
>> _______________________________________________
>> Libav-user mailing listLibav-user at ffmpeg.orghttp://ffmpeg.org/mailman/listinfo/libav-user
>>
>> Hey, it doesn't work or I couldn't do it properly. Here's the command
>> and output.
>>
>> FFMPEG-COMMAND: /usr/local/bin/ffmpeg -i music/qT0pdDhKxFDnfJHq2.mp3 -c:a
>> copy -i video/HKp1ZpHbANT4dmGRC.mp4 -vcodec libx264 -crf 23 -vf
>> subtitles=subtitles/1718379803.srt -preset ultrafast -strict -2
>> film/HKp1ZpHbANT4dmGRC.mp4
>> ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers
>> built on Dec 15 2013 14:17:24 with gcc 4.4.5 (Ubuntu/Linaro
>> 4.4.4-14ubuntu5)
>> configuration: --enable-libass --enable-shared --enable-libx264
>> --enable-gpl
>> libavutil 52. 48.101 / 52. 48.101
>> libavcodec 55. 39.101 / 55. 39.101
>> libavformat 55. 19.104 / 55. 19.104
>> libavdevice 55. 5.100 / 55. 5.100
>> libavfilter 3. 90.100 / 3. 90.100
>> libswscale 2. 5.101 / 2. 5.101
>> libswresample 0. 17.104 / 0. 17.104
>> libpostproc 52. 3.100 / 52. 3.100
>> Input #0, mp3, from 'music/qT0pdDhKxFDnfJHq2.mp3':
>> Metadata:
>> title : Legendary
>> artist : Oval
>> album : Ringtone EP
>> track : 1
>> Duration: 00:00:50.86, start: 0.000000, bitrate: 128 kb/s
>> Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s
>> Unknown decoder 'copy'
>>
>
> Vijay, Can you send me the input files so I can help come up with a fix?
> I am away from my home computer where I have a variety of mp4s and mp3s to
> test with. To me, this SHOULDN'T fail, so I am curious to see this myself.
>
> Steve
>
>
>> Regards,
>> ~Vijay.
>>
>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>>
>
>
> _______________________________________________
> Libav-user mailing listLibav-user at ffmpeg.orghttp://ffmpeg.org/mailman/listinfo/libav-user
>
> Hey Steve,
>
> I am wondering how the media can help solve a command format.
>
It was a suggestion, because I would then be able to use the exact files
you are tying to use without having to guess at codecs that were used to
encode them beforehand, test 5-6 other things and then come back and tell
you what worked best for me, and give you the command that would work for
you. I've noticed there's about a significant delay between us and thought
that this would help speed things up.
> Regards,
> ~Vijay.
>
Steve
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140530/da0c0aee/attachment.html>
More information about the Libav-user
mailing list