[Libav-user] This command take 2 minutes to render. Can it be quicker?
steveboyer85 at gmail.com
Thu May 29 15:24:11 CEST 2014
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>
>> 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
>>> This is missing console output but at least
>>> -preset ultrafast (and friends) come to
> 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
>> 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.
> 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
> 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
> 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
> configuration: --enable-libass --enable-shared --enable-libx264
> 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':
> 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.
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user