<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 05/28/2014 06:15 PM, Steve Boyer
wrote:<br>
</div>
<blockquote
cite="mid:CAOUsZE9Ex5fkS4T6dV93LYKpH5MuVGXBGw+P0MgSfx+AQi0Qqg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div class="gmail_extra">
<div class="gmail_quote">On Wed, May 28, 2014 at 3:34 AM,
Vijay Kanta <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:viju.kantah@gmail.com" target="_blank">viju.kantah@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">On 05/28/2014 05:17 AM, Carl Eugen
Hoyos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Vijay Kanta <a class="moz-txt-link-rfc2396E" href="mailto:viju.kantah@..."><viju.kantah@...></a> writes:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0
0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
Can it be quicker and less resource<br>
hungry by altering the following command?<br>
<br>
:~$ /usr/local/bin/ffmpeg -i /link/to/music.mp3<br>
-i /link/to/video.mp4 -vcodec libx264 -crf 23<br>
-vf subtitles=/link/to/subtitles.srt -strict -2<br>
/link/to/muxed.mp4<br>
</blockquote>
This is missing console output but at least<br>
-preset ultrafast (and friends) come to<br>
mind.
<br>
</blockquote>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>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.<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Carl Eugen<br>
<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Libav-user@ffmpeg.org"
target="_blank">Libav-user@ffmpeg.org</a><br>
<a moz-do-not-send="true"
href="http://ffmpeg.org/mailman/listinfo/libav-user"
target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</blockquote>
</div>
</div>
Sorry, what do you mean by missing console output? This
command does output to the shell.<br>
</blockquote>
<div><br>
</div>
<div>It would help us even more if you could provide what
your console outputs when the command runs.<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
Regards,<br>
~Vijay.
<div class="HOEnZb">
<div class="h5"><br>
</div>
</div>
</blockquote>
<div>Steve<br>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libav-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a>
<a class="moz-txt-link-freetext" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a>
</pre>
</blockquote>
Hey, it doesn't work or I couldn't do it properly. Here's the
command and output.<br>
<br>
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<br>
ffmpeg version 2.1.1 Copyright (c) 2000-2013 the FFmpeg developers<br>
built on Dec 15 2013 14:17:24 with gcc 4.4.5 (Ubuntu/Linaro
4.4.4-14ubuntu5)<br>
configuration: --enable-libass --enable-shared --enable-libx264
--enable-gpl<br>
libavutil 52. 48.101 / 52. 48.101<br>
libavcodec 55. 39.101 / 55. 39.101<br>
libavformat 55. 19.104 / 55. 19.104<br>
libavdevice 55. 5.100 / 55. 5.100<br>
libavfilter 3. 90.100 / 3. 90.100<br>
libswscale 2. 5.101 / 2. 5.101<br>
libswresample 0. 17.104 / 0. 17.104<br>
libpostproc 52. 3.100 / 52. 3.100<br>
Input #0, mp3, from 'music/qT0pdDhKxFDnfJHq2.mp3':<br>
Metadata:<br>
title : Legendary<br>
artist : Oval<br>
album : Ringtone EP<br>
track : 1<br>
Duration: 00:00:50.86, start: 0.000000, bitrate: 128 kb/s<br>
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 128 kb/s<br>
Unknown decoder 'copy'<br>
<br>
<br>
<br>
Regards,<br>
~Vijay.<br>
<br>
</body>
</html>