PS3 compatible video creation thread (tsMuxeR etc.).
|
|
moddep
Newbie
|
6. February 2008 @ 21:36 |
Link to this message
|
Originally posted by Ryu77:
You removed the load VS filter line and the subtitles still showed? That plug in is what is needed to load the subtitles. The avs file will be used to re-encode the movies (harcode the subs). VirtualDub, meGUI, avidemux and many other applications accept an AVIsynth script as an input source.
I wouldn't worry about the sound too much. In fact when you load it into your encoding application, I would disable it. Just make sure you have the frame rate right for your video. If you leave 23.976 in the AVIsynth script and your video is different that is going to distort the duration of the movie quite a lot. I would recommend using MKVextract GUI to demux the sound from the mkv file. If you want to re-encode the audio (for example DTS to Dolby) you could use EAC3toGUI, MeGUI etc.
Thanks for the reply. I guess virtualdub is widely used. Can you guide me to hardcode subs to a h264 mkv file without loosing hd quality and 5+1 sound, if possible? Thnaks a lot for all your help.
|
Advertisement
|
|
|
Senior Member
5 product reviews
|
6. February 2008 @ 23:10 |
Link to this message
|
moddep, I can certainly help you with that. You can keep full HD resolution (1920 x 1080) but if you want to hardcode the subs then you must re-encode the video. This means some quality loss can occur as you are re-encoding with a lossy codec. However, with the right techniques there may be no quality loss visually perceivable. I am working now so I will give you more detailed guidance when I am home.
|
Smoggie80
Junior Member
|
7. February 2008 @ 03:29 |
Link to this message
|
Ryu, what are your thoughts on Gotsent mkv to mp4? I'm sure you have heard of it and even had a quick dabble with it.
Every mkv file i get, i use Gotsent to mux the file to a vob, without fail, and then i just burn the resultant vobs to UDF data discs, therefore i am only using 1 mux programme and nero.
60gb launch PS3.....50" Sony Bravia.....LG 5.1 surround..... gaming heaven.
|
Nemasys
Newbie
|
7. February 2008 @ 16:13 |
Link to this message
|
this topic is chock full of great info but none of it seems to help me.
i have been using mkv2vob to get my mkv files to play on my PS3 and i was pleased with the result until the other day when i used mkv2vob and it took three times as long as usual and the resulting file was 2x as big as the source mkv. i couldnt and still cant figure out what went wrong. i downloaded another version of mkv2vob and same thing. so i decided to look for an alternative and thats how i came to this topic. i followed Ryu's directions for Tsmuxer to the T and, much like zr123, i get audio and no video.
all i want is a way to get my mkv files to a playable PS3 format without losing too much video quality and i want to keep the AC3 5.1 sound. oh and i dont want a file that 2-3x bigger than the original mkv. is that too much to ask?
|
evolmindz
Member
|
7. February 2008 @ 16:39 |
Link to this message
|
i changed the udf to 2.5 burned the data to a dvd9 and it wouldnt read on the ps3. said it had 0kb i have tversity and all my mkv files are mpeg2 format but i get a blue screen on my pc when i try to play the files from my ps3. im guessing its my cheap video card. so if anyone can tell me a decent video card that will play 720 and 1080 with no probs please let me know thanks.
|
Senior Member
5 product reviews
|
8. February 2008 @ 03:09 |
Link to this message
|
Originally posted by Nemasys: this topic is chock full of great info but none of it seems to help me.
i have been using mkv2vob to get my mkv files to play on my PS3 and i was pleased with the result until the other day when i used mkv2vob and it took three times as long as usual and the resulting file was 2x as big as the source mkv. i couldnt and still cant figure out what went wrong. i downloaded another version of mkv2vob and same thing. so i decided to look for an alternative and thats how i came to this topic. i followed Ryu's directions for Tsmuxer to the T and, much like zr123, i get audio and no video.
all i want is a way to get my mkv files to a playable PS3 format without losing too much video quality and i want to keep the AC3 5.1 sound. oh and i dont want a file that 2-3x bigger than the original mkv. is that too much to ask?
You didn't select "always transcode" did you? If you left it on "automatic" settings then it's because your video file is a non complaint format for the PS3. mkv2vob has detected this and re-encoded the video to mpeg2, which needs to be about double in size to keep the same quality. The reason the tsMuxeR method didn't play any video is because of the same reason. Your only option is to re-encode the video to AVC or mpeg2.
This message has been edited since posting. Last time this message was edited on 8. February 2008 @ 05:24
|
Senior Member
5 product reviews
|
8. February 2008 @ 04:55 |
Link to this message
|
moddep, do you have Nero Recode? If you do that will probably be the easiest way to recode to AVC. Once I get your answer then I will give your more detail of the steps you need to follow.
|
Senior Member
5 product reviews
|
8. February 2008 @ 05:02 |
Link to this message
|
odin24, yes the m2ts stream will be larger then the original mkv. The mkv container is more efficient at packing streams. So a 4.35gb mkv will result in about a 4.61gb m2ts file. You will need to burn to a DVD9 if you want to keep it as one piece. Alternatively you can use HDBDSplitGUI to split it across 2 DVD5's.
I strongly advise to use HDBDSplitGUI to split up a 50mb - 100mb sample and drop it onto a flash drive to make sure your PS3 can play it before you go burning discs. This way you ensure compatibility before you waste discs. :-D
This message has been edited since posting. Last time this message was edited on 8. February 2008 @ 05:04
|
moddep
Newbie
|
8. February 2008 @ 05:02 |
Link to this message
|
Originally posted by Ryu77: moddep, do you have Nero Recode? If you do that will probably be the easiest way to recode to AVC. Once I get your answer then I will give your more detail of the steps you need to follow.
I don't have it Ryu. If needed I can try to buy it. If there is a free software that I can use that is even better. Thanks a lot for your help.
|
Senior Member
5 product reviews
|
8. February 2008 @ 05:18 |
Link to this message
|
ok no problem moddep....
Do you have and know how to use MeGUI? We will need to do down the x264 codec path. :-)
|
Senior Member
5 product reviews
|
8. February 2008 @ 05:42 |
Link to this message
|
Ok... let's do it.
First step is to make sure your AVIsynth script is correct. Are you using AVSEdit as I suggested?
If you are I want you to press the preview button (located next to the # symbol). You can scan through the video using the bar at the bottom. Be patient though, when dealing with 1080p there usually will be some lag. Can you see the video and your subtitles? If you can that's great!
Next step is to extract the audio stream from your mkv file so we can remux it back in later. You will need to use MKVextractGUI. Get it here... http://www.afterdawn.com/software/video_...vextractgui.cfm
You will also need MKVtoolnix. Here... http://www.afterdawn.com/software/video_.../mkvtoolnix.cfm
Once you've downloaded those two. MKVextractGUI must be in the same directory as MKVtoolnix. Run MKVextractGUI and select only the audio stream and demux it to a location you will remember. I would recommend creating a project folder and putting all your files in that, but it's up to you. Tell me when you get through that. :-D
Just a quick question, do you want this media file compatible with the PS3? If you do then you can't use a mkv container as you mentioned earlier. My preference would be the m2ts container.
This message has been edited since posting. Last time this message was edited on 8. February 2008 @ 05:46
|
moddep
Newbie
|
8. February 2008 @ 06:08 |
Link to this message
|
Originally posted by Ryu77: Ok... let's do it.
First step is to make sure your AVIsynth script is correct. Are you using AVSEdit as I suggested?
If you are I want you to press the preview button (located next to the # symbol). You can scan through the video using the bar at the bottom. Be patient though, when dealing with 1080p there usually will be some lag. Can you see the video and your subtitles? If you can that's great!
Next step is to extract the audio stream from your mkv file so we can remux it back in later. You will need to use MKVextractGUI. Get it here... http://www.afterdawn.com/software/video_...vextractgui.cfm
You will also need MKVtoolnix. Here... http://www.afterdawn.com/software/video_.../mkvtoolnix.cfm
Once you've downloaded those two. MKVextractGUI must be in the same directory as MKVtoolnix. Run MKVextractGUI and select only the audio stream and demux it to a location you will remember. I would recommend creating a project folder and putting all your files in that, but it's up to you. Tell me when you get through that. :-D
Just a quick question, do you want this media file compatible with the PS3? If you do then you can't use a mkv container as you mentioned earlier. My preference would be the m2ts container.
Ryu,
I have all the info you've mntioned (AviSynth, AviEdit, MKVExtractGUI,h264info, ...). I tried your guide and actually watched a HD movie on my PS3 (without subs). And yes with the script on the PC I saw the subtitles on the movie (if you remember sound was not in sync but you've already told me it is not a big problem and I can forget about it) And finally yes I will watch it on PS3 and I would use m2ts if possible since I've tried your procedure and it works with tsmuxer.
|
Senior Member
5 product reviews
|
8. February 2008 @ 07:36 |
Link to this message
|
moddep, what concerns me a little is you said you removed the command line to load the VSfilter from the AVIsynth script but you still saw subtitles. That is giving me the impression that DirectVobSub may be loading the subs automatically as a result of them having the same file name.
That's why it's important for me to know if you press the preview button in AVSEdit that you still see the subtitles. I don't want you to spend 24 hours+ encoding a video file, only to find out that the subtitles weren't loaded.
|
moddep
Newbie
|
8. February 2008 @ 08:11 |
Link to this message
|
Originally posted by Ryu77: moddep, what concerns me a little is you said you removed the command line to load the VSfilter from the AVIsynth script but you still saw subtitles. That is giving me the impression that DirectVobSub may be loading the subs automatically as a result of them having the same file name.
That's why it's important for me to know if you press the preview button in AVSEdit that you still see the subtitles. I don't want you to spend 24 hours+ encoding a video file, only to find out that the subtitles weren't loaded.
Yes Directvobsub was loaded therefore image had 2 subtitles on top of eachother when i disabled vobsub I still saw the subtitles (One of them went away when i disabled vobsub. The thing about the vsfilter is:
DirectShowSource("D:\ExampleVideo.mkv",23.976)
loadplugin("D:\VSFilter.dll")
TextSub("D:\ExampleSubtitle.srt")
in the above AvsEdit did not have a loadplugin command in it i typed it in and it gace an error about the loadplugin command. But I've put VSFilter.dll in the plugins folder of the AVSynth. Maybe it does not need to load it??
|
Senior Member
5 product reviews
|
8. February 2008 @ 08:42 |
Link to this message
|
DirectShowSource("D:\ExampleVideo.mkv",23.976)
loadplugin("D:\VSFilter.dll")
TextSub("D:\ExampleSubtitle.srt")
Then you need to alter the directory to where the plug-in is located. For example: loadplugin("D:\AVIsynth plug-ins\VSFilter.dll"). Can you please rename the subtitle file to something different so DirectVobSub doesn't load it? It would be better to let the VSfilter take care of it. It's getting very late here (Australia), so I will be back tomorrow to give you guidance in using MeGui and the x264 codec. For now can you download these...
MeGui: http://www.afterdawn.com/software/video_...cfm/v0_2_6_1041
x264 codec: http://www.afterdawn.com/software/video_...coders/x264.cfm
Feel free to play around and get familiar with the MeGUI interface. Maybe you can work it out without my help. :-D
Just remember to select High profile and 4.1 level in the x264 codec settings for PS3 compatibility.
If you make any progress, let me know. See you tomorrow!
|
Senior Member
5 product reviews
|
8. February 2008 @ 11:09 |
Link to this message
|
This message has been edited since posting. Last time this message was edited on 8. February 2008 @ 11:12
|
moddep
Newbie
|
8. February 2008 @ 15:20 |
Link to this message
|
Originally posted by Ryu77: DirectShowSource("D:\ExampleVideo.mkv",23.976)
loadplugin("D:\VSFilter.dll")
TextSub("D:\ExampleSubtitle.srt")
Then you need to alter the directory to where the plug-in is located. For example: loadplugin("D:\AVIsynth plug-ins\VSFilter.dll"). Can you please rename the subtitle file to something different so DirectVobSub doesn't load it? It would be better to let the VSfilter take care of it. It's getting very late here (Australia), so I will be back tomorrow to give you guidance in using MeGui and the x264 codec. For now can you download these...
MeGui: http://www.afterdawn.com/software/video_...cfm/v0_2_6_1041
x264 codec: http://www.afterdawn.com/software/video_...coders/x264.cfm
Feel free to play around and get familiar with the MeGUI interface. Maybe you can work it out without my help. :-D
Just remember to select High profile and 4.1 level in the x264 codec settings for PS3 compatibility.
If you make any progress, let me know. See you tomorrow!
Ryu,
Just wanted to tell you. I did what you've said and AviSynth AviEdit works fine with the script you've supplied. I have a problem with megui. I installed/ uninstalled 3 times but it does not run. It installs OK but when I try to run it nothing happens. I've checked from my task manager it runs for half a second and quites itself. I already started looking for nero recode. FYI.
|
Moderator
|
8. February 2008 @ 18:23 |
Link to this message
|
Stickied :)
My killer sig came courtesy of bb "El Jefe" mayo.
The Forum Rules You Agreed To! http://forums.afterdawn.com/thread_view.cfm/2487
"And there we saw the giants, and we were in our own sight as grasshoppers, and so we were in their sight" - Numbers 13:33
|
Senior Member
5 product reviews
|
8. February 2008 @ 22:25 |
Link to this message
|
moddep, check your private messages. ;-)
|
Senior Member
5 product reviews
|
8. February 2008 @ 22:30 |
Link to this message
|
Originally posted by Smoggie80: Ryu, what are your thoughts on Gotsent mkv to mp4? I'm sure you have heard of it and even had a quick dabble with it.
Every mkv file i get, i use Gotsent to mux the file to a vob, without fail, and then i just burn the resultant vobs to UDF data discs, therefore i am only using 1 mux programme and nero.
I have tried it in the past and found it a little buggy. If it's working well for you, that's great! Keep using it. :-D
|
moddep
Newbie
|
9. February 2008 @ 01:30 |
Link to this message
|
Ryu,
I've got my Nero Encode. Can you help?
|
moddep
Newbie
|
9. February 2008 @ 01:58 |
Link to this message
|
|
Senior Member
5 product reviews
|
9. February 2008 @ 03:11 |
Link to this message
|
I knew what you meant... The next step now is to recode the file to a AVC file (with your hardcoded subs)...
Open up Nero Recode, then select "Recode DVDs and Videos to Nero Digital". Now the weird thing is if you attempt to open up the AVIsynth script from the Recode browser window, it wont work! You need to drag and drop the script into the Nero Recode window. Next select "Nero Digital AVC" in the "Nero Digital Category" drop down menu. Then select "HDTV - AVC" in the "Nero Digital Profile".
As I said earlier I want you to disable the audio as we will use the original stream if it is ac3 or recode it separately if it's something else. Next you need to select your target output size. Remember to allow extra for the audio stream and about 300mb for the m2ts headers. I can't stress the importance of being conservative here because if you spend all that time recoding the movie only to find out that it's 100mb too big. Well... So, my point is always allow a little extra. If you are unsure about this, just let me know the duration of the movie and if your target is DVD5 or DVD9 and I will suggest a bitrate for you.
Ok, now press the next tab at the bottom of the window. Tick the expert box. You will then see a AVC encoder tree open up. The only thing you really need to change here is on the "Rate Control" branch, change it to 2 pass encode "High quality encoding (2-pass)".
Under the "General Settings" tab you can choose the decision quality (motion search). I prefer to leave it as is ("Best") but you can change it if you want a faster encode or better quality. If you are concerned with encoding time it may be better to drop it down to the "Good" quality setting. Encoding in 1080p is going to take days!
Depending on how clean your source video is will determine the next choice. I am guessing it is very clean as it a 1080p source. If it is clean then uncheck the "Deblocking" option under the "Encoding Tools" branch.
Now you can let Nero Recode do it's thing. Press on the "Burn Options" button, select your output directory and let it rip!
Nero Recode will create a AVC file with a level of 3.1, which will be fine as the PS3 can play up to 4.1.
See you in a few days! Hehe! Let me know when you've done that, so I can help you with the next steps.
This message has been edited since posting. Last time this message was edited on 9. February 2008 @ 08:38
|
Member
2 product reviews
|
9. February 2008 @ 05:51 |
Link to this message
|
Hey Ryu77m or someone here's what I've been doing. Loading my .mkv file in tsmuxergui. I choose m2ts muxing, this is it Here
This is it when its done Here.
I've tried the ts muxing way, also changing the level to 4.1 and also remuxing the m2ts and all the playstation ever says is corrupted data. Im trying to stream from vista with little luck some divx works and thats about it. Any help would be great.
Thank You
|
Advertisement
|
|
|
Senior Member
5 product reviews
|
9. February 2008 @ 08:34 |
Link to this message
|
Originally posted by Dfram: Hey Ryu77m or someone here's what I've been doing. Loading my .mkv file in tsmuxergui. I choose m2ts muxing, this is it Here
This is it when its done Here.
I've tried the ts muxing way, also changing the level to 4.1 and also remuxing the m2ts and all the playstation ever says is corrupted data. Im trying to stream from vista with little luck some divx works and thats about it. Any help would be great.
Thank You
Did you run the raw stream through h264info first? You need to use MKVextract GUI to extract the elementary streams from the mkv container. Then use h264info to change the level to 4.1. Then finally use tsMuxeR to remux the new video stream (from h264info) and audio stream into a m2ts container.
Did you see my posts earlier in this thread that relate to this? Please read those, they have links for required software too. :-D
This message has been edited since posting. Last time this message was edited on 9. February 2008 @ 08:43
|