AnimeSuki Forums

Register Forum Rules FAQ Community Today's Posts Search

Go Back   AnimeSuki Forum > Support > Tech Support

Notices

Reply
 
Thread Tools
Old 2015-07-31, 20:08   Link #1
Kid Ryan
Playful Explorer
 
 
Join Date: Mar 2009
Location: Sacramento, California (USA)
Age: 35
Question [Help] Remux Multiple MKVs into MP4s? (Windows 8.1)

Hi, does anyone here know of a good remuxer with a user friendly interface, that can batch or queue alot of remuxes at once?

If you do suggest a converter, please make sure it can copy the audio/video streams from MKVs and remux them into MP4s.

My System Info:
PC Model: HP 110-326 Desktop
Motherboard: Hewlett Packard 2AFB (Ivy Bridge)
OS: Windows 8.1 64-bit
CPU: Intel Pentium G2100T @ 2.60 GHz Dual Core
Video Card: Intel HD Graphics 2500 (1920x1080x32bpp 60Hz)
Sound Card: Realtek High Definition Audio
RAM (Memory): 4.0 GB Single Channel DDR3 @ 665 MHz
HDD Space: 500 GB Western Digital Caviar (SATA III)
Network Adapter: Realtek USB FE Family Controller @ 100.0 Mbps

Last edited by Kid Ryan; 2015-08-01 at 03:44.
Kid Ryan is offline   Reply With Quote
Old 2015-08-01, 08:49   Link #2
SeijiSensei
AS Oji-kun
 
 
Join Date: Nov 2006
Age: 74
Take a look at https://github.com/gavinbeatty/mkvtomp4/

It uses mkvtoolnix to disassemble the MKV file, ffmpeg to convert the audio if necessary, and MP4Box to remux everything into the MP4 container.
SeijiSensei is offline   Reply With Quote
Old 2015-08-01, 10:57   Link #3
Kid Ryan
Playful Explorer
 
 
Join Date: Mar 2009
Location: Sacramento, California (USA)
Age: 35
Quote:
Originally Posted by SeijiSensei View Post
Take a look at https://github.com/gavinbeatty/mkvtomp4/

It uses mkvtoolnix to disassemble the MKV file, ffmpeg to convert the audio if necessary, and MP4Box to remux everything into the MP4 container.
Thanks for the help, but I'm having trouble re-encoding HE-AAC audio into LC-AAC audio with the program.

Do you know how to do this with MKVtoMP4?
Kid Ryan is offline   Reply With Quote
Old 2015-08-01, 20:50   Link #4
SeijiSensei
AS Oji-kun
 
 
Join Date: Nov 2006
Age: 74
I've never used this program, just the tools at various times. I'd imagine the problem lies in whatever string of parameters is being passed to ffmpeg. You could do this manually, using mkvextract to pull the streams from the Matroska container, then running ffmpeg to convert the audio, and MP4Box to assemble the pieces into an MP4.
SeijiSensei is offline   Reply With Quote
Old 2015-08-01, 22:42   Link #5
speck123
Senior Member
 
Join Date: Jan 2009
You can use ffmpeg to do the whole thing, though.

IIRC the current command should be:

Code:
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4
EDIT: I was just looking up the documentation and this is a simplified version:

Code:
ffmpeg -i input.mkv -c copy output.mp4
As for batch, you could use MS batch files. Just create a txt file, rename the extension to .bat and copy the above command into the file, for how many input files you have.

For example, if you have 3 files: input01.mkv, input02.mkv and input03.mkv

Code:
#REM CONTENTS OF YOU BATCH FILE
ffmpeg -i input01.mkv -vcodec copy -acodec copy output03.mp4
ffmpeg -i input02.mkv -vcodec copy -acodec copy output03.mp4
ffmpeg -i input03.mkv -vcodec copy -acodec copy output03.mp4

Last edited by speck123; 2015-08-01 at 22:59.
speck123 is offline   Reply With Quote
Old 2015-08-02, 00:31   Link #6
Kid Ryan
Playful Explorer
 
 
Join Date: Mar 2009
Location: Sacramento, California (USA)
Age: 35
Quote:
Originally Posted by SeijiSensei View Post
I've never used this program, just the tools at various times. I'd imagine the problem lies in whatever string of parameters is being passed to ffmpeg. You could do this manually, using mkvextract to pull the streams from the Matroska container, then running ffmpeg to convert the audio, and MP4Box to assemble the pieces into an MP4.
That seems overcomplicated and would require extra time though, but thanks for the suggestion.

Quote:
Originally Posted by speck123 View Post
You can use ffmpeg to do the whole thing, though.

IIRC the current command should be:

Code:
ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4
EDIT: I was just looking up the documentation and this is a simplified version:

Code:
ffmpeg -i input.mkv -c copy output.mp4
As for batch, you could use MS batch files. Just create a txt file, rename the extension to .bat and copy the above command into the file, for how many input files you have.

For example, if you have 3 files: input01.mkv, input02.mkv and input03.mkv

Code:
#REM CONTENTS OF YOU BATCH FILE
ffmpeg -i input01.mkv -vcodec copy -acodec copy output03.mp4
ffmpeg -i input02.mkv -vcodec copy -acodec copy output03.mp4
ffmpeg -i input03.mkv -vcodec copy -acodec copy output03.mp4
That would require me to learn how to use command prompt, but thanks for trying to help.
Kid Ryan is offline   Reply With Quote
Old 2015-08-03, 12:51   Link #7
SeijiSensei
AS Oji-kun
 
 
Join Date: Nov 2006
Age: 74
I finally found this script I made a while back to remux a show in the Matroska container ....

Deleted. See below.

Last edited by SeijiSensei; 2015-08-03 at 13:34.
SeijiSensei is offline   Reply With Quote
Old 2015-08-03, 13:13   Link #8
sneaker
Senior Member
 
Join Date: Dec 2008
Quote:
Originally Posted by SeijiSensei View Post
the mkvmerge utility will extract the appropriate tracks and remux them into an MP4 container.
Mkvmerge cannot output mp4.
sneaker is offline   Reply With Quote
Old 2015-08-03, 13:34   Link #9
SeijiSensei
AS Oji-kun
 
 
Join Date: Nov 2006
Age: 74
Really? The output files I created with the script above appeared to play directly on HDTVs that didn't seem to know anything about Matroska. However looking at them with mkvinfo suggests they are, in fact, still in the Matroska format, even though they have an mp4 filename.

The TV in question isn't mine, so I can't really explore this in much more detail. I take it all back!

How about this? http://superuser.com/questions/44062...ert-mkv-to-mp4
SeijiSensei is offline   Reply With Quote
Old 2015-08-03, 14:33   Link #10
sneaker
Senior Member
 
Join Date: Dec 2008
Quote:
Originally Posted by Toddler Naruto View Post
That would require me to learn how to use command prompt, but thanks for trying to help.
Since specks' explanation was very simple I assume you need it really really simple. It does not get simpler than this:
https://www.sendspace.com/file/p9uy6u

Select the files you want to convert to mp4 and just drag&drop them on the respective .bat-file.
- "keep_audio_format.bat" will copy video and audio
- "convert_audio_to_aac.bat" will copy video but convert audio to stereo lc-aac
sneaker is offline   Reply With Quote
Old 2015-08-03, 20:02   Link #11
jdennis007
Senior Member
 
 
Join Date: Jun 2009
Location: New York
I am olde and blonde so I just use Handbrake and use the add files to que and then just convert them in a batch that way.
I am not sure if it supports Windows 8 though, you would have to try and see.
__________________
When it is a Dozen it is OK, but when it is only a Pair then somehow it's pron, think Dirty.
jdennis007 is offline   Reply With Quote
Old 2015-08-04, 23:33   Link #12
speck123
Senior Member
 
Join Date: Jan 2009
Quote:
Originally Posted by Toddler Naruto View Post
That would require me to learn how to use command prompt, but thanks for trying to help.
You could try a front end such as FFmpegYAG and see how things pan out.
speck123 is offline   Reply With Quote
Old 2015-08-07, 20:23   Link #13
Kid Ryan
Playful Explorer
 
 
Join Date: Mar 2009
Location: Sacramento, California (USA)
Age: 35
Quote:
Originally Posted by speck123 View Post
You could try a front end such as FFmpegYAG and see how things pan out.
Thanks, I'll try out this program soon.
Kid Ryan is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:14.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
We use Silk.