AnimeSuki.com Forum

AnimeSuki Forum (http://forums.animesuki.com/index.php)
-   Playback Help (http://forums.animesuki.com/forumdisplay.php?f=23)
-   -   MKV to MP4 Help (Soft Subs) (http://forums.animesuki.com/showthread.php?t=76370)

RedSwirl 2009-01-06 00:32

MKV to MP4 Help (Soft Subs)
 
Watching anime in mkv is fine on my computer, but once I want to watch stuff on anything else like my PS3 or any of my portable devices conversion get's complicated.

Right now If I want to convert something I just throw it into either one of Red Kawa's many converters, Format Factory, or mk2vob.

My main problem with all of these though is when dealing with soft subs. I know nearly nothing about the actual process by which subtitles are added to videos, only that hard subs tend to survive conversions better.

When I try a total convert to mp4 through Videora or Format Factory soft subs will disappear entirely. If I use mk2vob to take a video out of its mkv container and spit it into an mp4 one I'll get a "completed (with warnings)" message and find out that the subs have changed to some kind of default font which is often hard to read.

What's the best way to make soft subs into hard subs or make sure soft subs survive a video conversion?

sk3 2009-01-08 23:57

Hi there :)

I recently discovered a small FREE program that resolved that problem for me!

I didn't like the idea and neither i have a good desktop to make conversions (old P4 3.2 socket 478 :lol: ) to watch them on my ps3

the program is called PS3 Media Server, it's multiplatform (which is really nice!) and you only need Java runtime to run it!

check it out on http://code.google.com/p/ps3mediaserver/.

With this program, you only need to have it running and go to your PS3 and select the media server, then you can watch every type (or almost) on your PS3 via streaming without much quality loss.

Keep in mind that 720p and upper resolution videos can't be streamed well via wireless, so you better have a network cable right beside your PS3 :P

The only downside i got is that, at least for me, i can use custom softsubs like i have with every other player. It seems like that, for now, subtitles are stuck in one font type, but i don't think it matters much :)

NOTE: I could stream a few 720p MKVs via wireless flawlessly (could be 'cause of bitrate) but most of the times it lags a bit or even breaks the video. nothing that a pause and play doesn't solve but still...
NOTE2: I just reminded that a friend of mine said that he could watch files on his PSP via Remote PS3 flawlessly. :)

RedSwirl 2009-01-10 17:41

I already use Windows Media Player's Media Server functionality. Plus almost all stuff I download is at least 720p.

Ortix 2009-01-12 21:56

Quote:

Originally Posted by RedSwirl (Post 2153152)
I already use Windows Media Player's Media Server functionality. Plus almost all stuff I download is at least 720p.

Hi i use the following:

The CCCP (codec pack), with vsfilter enabled.

I then either use meGUI (if you care about size and know how to encode)

OR

Videora PS3/Xbox/ipod/whatever(you can pick) converter.

Videora is the easiest to use. You just open the video in videora and select the highest (h.264) profile WITH avisynth. Then you go to settings, select your profile and edit it. You will have to go to advanced 1 and make sure subtitle is enabled. If your A/V goes out of sync make sure to enable convertfps. You can also set minimum and maximum bitrate. (advanced 2).

Videora is the only one (after megui, but that is for pro encoders) which supports embedded subs that i know of.

Google some stuff ;)

f4nt4 2009-01-19 06:39

hmm.. sorry if im wrong, but i think mp4 cannot use softsubs.
so, probably you have to make it hardsub first if you want to convert to mp4. dunno what program though.

RedSwirl 2009-01-19 20:51

Quote:

Originally Posted by f4nt4 (Post 2169346)
hmm.. sorry if im wrong, but i think mp4 cannot use softsubs.
so, probably you have to make it hardsub first if you want to convert to mp4. dunno what program though.

I've gotten mp4s to work with soft subs, but only when using mk2vob.

RedSwirl 2009-01-20 18:19

Quote:

Originally Posted by Ortix (Post 2157665)
Hi i use the following:

The CCCP (codec pack), with vsfilter enabled.

I then either use meGUI (if you care about size and know how to encode)

OR

Videora PS3/Xbox/ipod/whatever(you can pick) converter.

Videora is the easiest to use. You just open the video in videora and select the highest (h.264) profile WITH avisynth. Then you go to settings, select your profile and edit it. You will have to go to advanced 1 and make sure subtitle is enabled. If your A/V goes out of sync make sure to enable convertfps. You can also set minimum and maximum bitrate. (advanced 2).

Videora is the only one (after megui, but that is for pro encoders) which supports embedded subs that i know of.

Google some stuff ;)

Just tried this and it shows up just fine on my iPhone. Will try it for my PS3 later. Thanks.

steakmeat 2009-01-30 11:10

Help
 
Hi.. im currently using the newest version of videora for iphone 3g with is 4.04... but i cant seem to find the enable subtitles at advanced 1.. can some 1 help me on this pls?

Daiz 2009-01-30 11:16

1. Don't use Videora
2. Make sure you have CCCP
3. Make sure that "Autoload VSFilter" is checked in CCCP settings page 2
4. Get XviD4PSP
5. Use iPhone / iPod Touch profile
6. Convert anything, including softsubbed MKVs, to hardsubbed MP4s for your iPhone.

steakmeat 2009-01-30 11:40

re:help
 
Ahh its working now..thx for the advice..

AnimeFan188 2009-02-09 21:49

Quote:

Originally Posted by Daiz (Post 2189264)
1. Don't use Videora
2. Make sure you have CCCP
3. Make sure that "Autoload VSFilter" is checked in CCCP settings page 2
4. Get XviD4PSP
5. Use iPhone / iPod Touch profile
6. Convert anything, including softsubbed MKVs, to hardsubbed MP4s for your iPhone.

I tried it, and it worked, but it converted my 224mb MKV file into a 125mb MP4
file, what happened to the extra bits?

RedSwirl 2009-02-12 11:16

So far videora's been working perfectly with Ortix's advice for both my iPhone and PS3. I've even converted 1080p content and it's worked just fine.

RedSwirl 2009-02-14 00:46

Okay I seem to have hit some kind of upper limit here.

I was able to convert some 1080p Blu-Ray rip episodes of Michiko to Hatchin and they show up perfectly on the PS3. Things don't seem to go so well though once I move on to full-length movies.

I tried to convert The Girl Who Leapt Through Time (in 720p) and it came out as "unsupported data" on the PS3. Things got worse once I attempted Afro Samurai Resurrection and Sword of the Stranger.

Sword of the Stranger I have in 1080p with the sound in DTS. The file 6GB. After eight hours of transcoding a bad file one sixth the size came out.

I'm trying to get the movie on my PS3 because I'd rather watch it on my HDTV and hear the DTS through my surround sound system.

What I need is a way to ensure that when I convert something like this to MP4, that there won't be any bad quality loss, I'll still have the subtitles, and the sound channels will be retained.

sneaker 2009-02-14 16:54

The new mkv2vob ( Feb. 5th 09) is supposed to support SSA subtitles. You may want to check it out:
http://www.3r1c.eu/mkv2vob/mkv2vob.exe

I haven't tested it myself though. (no PS3)

SeijiSensei 2009-02-14 19:32

A quick search at avsforum.com for "ps3 maximum file size" suggests that files larger than 4 GB may be problematic. (This limit is not the one imposed by using FAT32 file systems on external devices.)

One solution you might try is to stream the files from the computer to the PS3 using one of the DLNA media servers. This one has been getting very positive reviews. I tried streaming from my Linux box to the PS3 with this server, and it worked fine except for the various limitation on what codecs the PS3 chooses to play. I was just experimenting though; normally I just play the files from the PC directly to my HDTV set.

I recommend a little browsing at avsforum.com and doom9.org, two excellent resources for learning about video conversion and consumer electronic devices.

RedSwirl 2009-02-17 11:26

Quote:

Originally Posted by sneaker (Post 2216798)
The new mkv2vob ( Feb. 5th 09) is supposed to support SSA subtitles. You may want to check it out:
http://www.3r1c.eu/mkv2vob/mkv2vob.exe

I haven't tested it myself though. (no PS3)

Everything I got apparently has "ASS" subtitles.

Quote:

Originally Posted by SeijiSensei (Post 2217034)
A quick search at avsforum.com for "ps3 maximum file size" suggests that files larger than 4 GB may be problematic. (This limit is not the one imposed by using FAT32 file systems on external devices.)

One solution you might try is to stream the files from the computer to the PS3 using one of the DLNA media servers. This one has been getting very positive reviews. I tried streaming from my Linux box to the PS3 with this server, and it worked fine except for the various limitation on what codecs the PS3 chooses to play. I was just experimenting though; normally I just play the files from the PC directly to my HDTV set.

I recommend a little browsing at avsforum.com and doom9.org, two excellent resources for learning about video conversion and consumer electronic devices.

AnimeSuki seems to be the only place I can talk about this openly without getting banned.

sneaker 2009-02-17 13:22

Quote:

Originally Posted by RedSwirl (Post 2222402)
Everything I got apparently has "ASS" subtitles.

ASS and SSA are almost the same. It should work anyway.

/edit: Just tested it, and it does work indeed. But the styling still seems to get lost and you stated that you didn't want that. I'll post a way to do it later.

RedSwirl 2009-02-17 13:51

Also, I'm trying another program called "Format Factory." In the past its worked really well for conversions but the main problem was that it never retained subtitles.

Now I've found out that in order to do that with Format Factory you have to tell it which specific SSA file to use. How do I get the SSA file out of the container so I can pinpoint it?

sneaker 2009-02-17 14:35

I've overhauled this tutorial, go to page 2 to see it

As promised:

You'll need:
AviSynth
MeGUI
VSFilter
Haali's Media Splitter
MKVToolnix
mkv2vob

First install everything and observe the following:
1. VSFilter: create a .bat file or use the windows command line: "regsvr32 VSFilter.dll"
2. Open Haali's properties and make sure that "Autoload VSFilter" is checked (As "AnimeFan188" already stated above)
3. Make sure you have all DirectShow codecs installed that are needed for the video. (Like CoreAVC or ffdshow for H264 video)

To convert a file:
1. Open the file in your favorite Media Player and note its framerate (This is important for VFR files). Don't forget that some players round 23.976 to 23.98...
2. Open windows notepad and enter the following:
Code:

DirectShowSource("YourAnimeFileWithSubs.mkv", fps=23.976, convertfps=true, audio=false)
Set the fps according to the one you noted in step 1
convertfps=true converts VFR to CFR (You can omit the "fps" and the "convertfps" parameters if you know your file is CFR. Most files are.)
3. Save the file as "YourFile.avs" and in the same folder as your mkv file.
4. Open MeGUI and load your script where it says "Avisynth Script" and close the opening preview window. (You can check if VSFilter was loaded here.)
5. Choose the profile you want to use under "Encoder settings". I'll guess "x264: Standalone-PS3-Xbox360_Fast" is probably the way to go. ( Click "Config" on the right to further tune the settings if you want. You could raise the bitrate (1000 may be a bit low for HD) and choosing "Const. Quality" instead of "Automated 2pass" may be a good way to save time)
6. Choose "RAWAVC" under file format
7. Click "Enqueue", go to "Queue" and click start. Once the job is done you may clear the list and close MeGUI.
8. Open mkvmerge GUI (From the MKVToolnix package), open your original file and uncheck the video. Then add the RAWAVC file you created in step 7 and move it to the position of the original video.
9. Mark the new video track, go to "Format Specifications" and set the FPS according to step 1 ( 24000/1001 =~ 23.976 )
10. Uncheck every subtitle track and all audio tracks except the one you want to keep. (So only the new video track and a single audio track should be checked)
11. Click on "Start Muxing"
12. Open and convert the file created in Step 11 with mkv2vob. If everything went right mkv2vob should only convert the audio (if necessary) and shouldn't touch the video.

OK, this wasn't very easy but it should provide a high quality and after you've done it once you should be able to do it quickly.
Hope it works for you!

sneaker 2009-02-17 14:38

Quote:

Originally Posted by RedSwirl (Post 2222599)
Now I've found out that in order to do that with Format Factory you have to tell it which specific SSA file to use. How do I get the SSA file out of the container so I can pinpoint it?

1.) Download and install mkvtoolnix (Link in my post above)
2.) Download MKVExtractGUI and unpack it into the mkvtoolnix folder
3.) Open the file with MKVExtract GUI, check the Subtitle track (and all attachments, because they usually hold the fonts used) and extract


All times are GMT -5. The time now is 13:54.

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