[MPlayer-users] Make a clip with subtitles?

Miriam English mim at miriam-english.org
Mon Apr 16 11:16:42 EEST 2018


No worries. Glad to help.

I'd love to be able to add multiple streams to an avi or mp4 or mkv 
containers using mplayer. I'm pretty sure it can do it. I just don't 
know how. That's why I use ffmpeg for that. I used to always use 
mplayer/mencoder for all my video. I still use mplayer to play videos -- 
it leaves everything else for dead. And I occasionally still have need 
for mencoder.

Whenever I buy a DVD, I rip it to my computer using mplayer and 
re-encode the videos from vobs in order to watch it, putting the DVD 
away as an archive to be used only if my file on the computer gets 
damaged. The soft plastic of DVDs is far too easily scratched to risk 
taking them out of their covers unnecessarily.

Recently I made a single mp4 with a video stream plus two commentary 
audio streams, and subtitles for each of the 3 audio streams -- 7 
streams in the one mp4 file!!! :) It made me so happy that these 
wonderful, free tools let me do this now, even though I live below the 
poverty line. What an amazing age we live in! We can share knowledge 
with people on the other side of the world that we'll likely never meet, 
and consider our peers. This is the kind of thing that should (and I 
think will) eliminate war. How can you go to war with someone who is 
your friend?

Sorry about the waffle. :)

Cheers,

     - Miriam


Bill Crockett wrote:
> From: "Miriam English"
> To: "MPlayer usage questions, feature requests, bug reports" 
> <mplayer-users at mplayerhq.hu>
> Sent: Saturday, April 14, 2018 8:59 PM
>
>> Sorry about the delay in responding. Been busy.
>
>> Bill Crockett wrote:
>>> I can post a brief example of the ffmpeg code to do this
>>> (perhaps offlist if it potentially derails the thread).
>> I would be interested to see that.  It won't derail.  I have seen 
>> many references to FFmpeg on the MPlayer and MEncoder mailing list.  
>> They seem to prod you to use FFmpeg than MEncoder.
>
>> The following presumes Linux. Other operating systems probably work 
>> exactly the same, but I haven't tried them.
>
>> Using ffmpeg to hard-code subtitles into a video requires libass 
>> dependency to be compiled in with 
>> --enable-libass...........................................
>
> Thanks for all your extensive, detailed hard work on this.  I have 
> read both posts, copied your instructions and will experiment.
>
> To add subtitles to the container is interesting, and I did not know 
> about that.  This is handy to know because of -vcodec copy and -acodec 
> copy.  I love those options; no quality loss in re-encoding.
>
> Thanks again,
>
> Bill
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
What is the most important thing in the world you could be working on right now, and if you are not working on that, why aren't you?
  -- Aaron Swartz (internet genius, philanthropist)



More information about the MPlayer-users mailing list