<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 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 <viju.kantah@...> 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.<u></u>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>
______________________________<u></u>_________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/<u></u>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></div><div>Steve<br></div></div></div></div></div>