[Libav-user] This command take 2 minutes to render. Can it be quicker?
Vijay Kanta
viju.kantah at gmail.com
Thu May 29 15:04:43 CEST 2014
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
> <mailto: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 <mailto: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 list
> Libav-user at ffmpeg.org
> http://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'
Regards,
~Vijay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140529/dea7d9f0/attachment.html>
More information about the Libav-user
mailing list