I am trying to convert a mkv movie file to mp4 with vlc media player. However when I do so, the audio does not get converted or subtitles. Anyone here have any suggestions on what to do.
Im trying to use clips form a black&white Japanese samurai movie, in-order to point out the impact they had with western movies,Star Wars for example.
I've posted this thread on /diy/ with an anon suggesting FFmpeg along with what formats i should use. however said thread was deleted probably by a moderator. So if said anon is here, can you please repeat what you suggested?
mp4 does not get along well with multiple audio and/or audio tracks.
mp4=skinny jeans that you can barely get your hands into the pockets
mkv=coveralls and a knapsack
Try Handbrake.
>>345256
Im trying to use said files with sony vegas, it tells me that it wont accept mkv files.
>>345242
There are 4chan archives, OP.
https://warosu.org/diy/thread/S1207462
>>345258
I think that's literally the one OP just talked about
>>345268
I've been using it for roughly 10 years to encode for mobile, htpc and when i was briefly streaming.. it's awesome.
>>345242
Use mkvtoolnix
No rendering needed.
You can choose your audio track and subs
At the end of output file put .mp4 instead of .mkv.
>>345242 this >>345511
or using FFmpeg:
run ffprobe or mediainfo on the source file to see which / how many streams you want to copy, then:
ffmpeg -i inputfile.mkv -codec copy -map 0:0 -map 0:1 -map 0:2 -map 0:3 -map 0:4 outfile.mp4
map as many streams as the input file has if you want an exact copy, or just the ones you want if you want to cut out some extra subs or audio.
This will also maintain the subs as softsubs.
>>345608
You didn't spot that >>345511 was a troll?
No matter.
You can't put MPEG-4 that doesn't conform to a profile into an MP4, or nothing will be able to play it. Same goes for audio that isn't AAC or AC3, and subs that aren't SRT.
IOW, you need to convert it like OP was asking, and you can't just be a smartarse and transtainer it.
inb4 "it plays on my PC": so does MKV.
>>345621
mkvtoolnix is just a nice remuxer to me; I don't know why you wouldn't use it (though I haven't used it for a while).
>You can't put MPEG-4 that doesn't conform to a profile into an MP4, or nothing will be able to play it. Same goes for audio that isn't AAC or AC3, and subs that aren't SRT.
By chance, my test case met the specs needed.
>IOW, you need to convert it like OP was asking, and you can't just be a smartarse and transtainer it.
it's late man; I'm not reading any of this in detail.
If they NEED mp4 and mp4 NEEDS XYZ codecs (lol; reminds me of why it sucks aside from transport) then they should be asking for re-encode advice, which nobody has mentioned until you just now.
When they provide a stream layout and ask for re-encode / mux advice I'll write the ffmpeg line for them. until then try being more useful yourself if you can read their mind
>>345628
>they should be asking for re-encode advice, which nobody has mentioned
>>345242
>I am trying to convert a mkv movie file to mp4
Not my fault you don't know what converting to mp4 entails.
OP should download Handbrake (which is available for all popular operating systems and a bunch of unpopular ones), then instead of just pressing "go" he should first look at the audio track and subtitles bit and select the ones he wants. If his player doesn't support subtitles but he wants to see them anyway he should check the "burn in" box.
>>345631
>Not my fault you don't know what converting to mp4 entails.
sometimes it entails nothing; literally just a remux depending on the source
>>345628
>mkvtoolnix is just a nice remuxer to me; I don't know why you wouldn't use it (though I haven't used it for a while).
how to get codec?
>>345784
If you follow the instructions in >>345511 you will get an MKV with a .mp4 file extension. It'll appear to work on your PC, but all you've really done is rename the file.
I thought >>345608 might have noticed this after being told directly that that advice was a troll, but apparently he didn't:
>>345628
>mkvtoolnix is just a nice remuxer to me; I don't know why you wouldn't use it
>>346034
>FFmpeg
its a nightmare