PS3 compatible video creation thread (tsMuxeR etc.).
|
|
luis_afaz
Newbie
|
8. February 2009 @ 11:13 |
Link to this message
|
Originally posted by odin24: If your AVCHD structure is in the 8.3 file format it will not read properly on a DVD with PS3. In the BDMV folder, do the files have 3 or 4 digit extension? For USB playback they should be 3, for DVD/BD playback they should be 4.
do u mean the stram file? it has 5 numbers...
its 00001
its that the problem? and how can i resolve it?
|
Advertisement
|
|
|
plastico
Newbie
|
11. February 2009 @ 09:17 |
Link to this message
|
Hi all,
I have been reading through this thread and figured this was the best place to pose a question I've been having some trouble with.
I am looking for a method to hardcode subtitles to video streams for playback on my PS3.
To provide some background info;
Say I have a 720p movie that already exists in MKV format - already encoded as H264 with AC3 audio, e.g. Apocalypto - file details below
General
Complete name : T:\01. Movies\00. Raw MKVs\Apocalypto.mkv
Format : Matroska
File size : 7.94 GiB
Duration : 2h 18mn
Overall bit rate : 8 221 Kbps
Movie name : Apocalypto (2006)
Encoded date : UTC 2007-06-07 21:23:01
Writing application : mkvmerge v2.0.2 ('You're My Flame') built on Feb 21 2007 23:40:55
Writing library : libebml v0.7.7 + libmatroska v0.8.1
Cover : Yes / Yes / Yes / Yes / Yes
Video
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 8 frames
Muxing mode : Container profile=Unknown@5.1
Codec ID : V_MPEG4/ISO/AVC
Duration : 2h 18mn
Bit rate : 7 236 Kbps
Nominal bit rate : 7 577 Kbps
Width : 1 280 pixels
Height : 688 pixels
Display aspect ratio : 1.860
Frame rate : 23.976 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.359
Writing library : x264 core 54 svn-635M
Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=hex / subme=7 / brdo=1 / mixed_ref=1 /
me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=2 / deadzone=21,11 / chroma_qp_offset=0 / threads=2 / nr=0 / decimate=1 /
mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 /
wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) /
rc=2pass / bitrate=7577 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' /
qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 /
qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:0.5:15.0
Language : English
Audio
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2h 18mn
Bit rate mode : Constant
Bit rate : 640 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Title : Mayan
Text #1
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : English
Language : English
Text #2
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Spanish
Language : Spanish
Text #3
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : French
Language : French
Text #4
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Danish
Language : Danish
Text #5
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : German
Language : German
Text #6
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Romanian
Language : rom
Text #7
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Portuguese
Language : Portuguese
Text #8
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Hungarian
Language : Hungarian
Text #9
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Polish
Language : Polish
Text #10
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Hebrew
Language : Hebrew
Text #11
Format : ASS
Codec ID : S_TEXT/ASS
Codec ID/Info : Advanced Sub Station Alpha
Title : Macedonian
Language : Macedonian
The current process I follow to 'convert' this to a playable format on PS3 is as follows:
Split MKV to file size below 4GB for playback from external FAT32 harddrive (MKVMerge)
Extract Video & Audio to H265 / AC3 (MKVExtract)
Covert Video to Profile4.1 if required H264 Info
Convert Audio to AAC/MP4 MeGUI
Mux Audio MP4 and Video H264 to new MP4 file YAMB
All of the above works swimmingly and I've been having fun times playing back high def content via my PS3. The only time I have problems is when there are non-English speaking parts in certain areas of a movie, or if the entire movie is non-English.
I'm wondering if there is somehow a way to hardcode the extract subtitle files to the H264 or MKV without the need to recode?
I have read of the following possible method:
Use MeGUI and AVISynth recode MKV with Sub file to new MKV.
I tried the above using a small 10 minute extract (approx 700mb) I took from Apocalypto. Using X264 encoder I tested using single pass and 2-pass, but the coding times were quite long - about 1.5 hours.
I figure I could be using incorrect settings, possibly extending the recode time longer than necessary?
But I was hoping there might be a process already available that does not require recoding of the video stream. As the Video is already in H264 @ 4.1 I don't need to recode using my current method.
Thanks for reading and I look forward to any suggestions you might have!
This message has been edited since posting. Last time this message was edited on 11. February 2009 @ 09:22
|
Senior Member
5 product reviews
|
11. February 2009 @ 09:44 |
Link to this message
|
Originally posted by plastico: Hi all,
I have been reading through this thread and figured this was the best place to pose a question I've been having some trouble with.
I am looking for a method to hardcode subtitles to video streams for playback on my PS3.
To provide some background info;
Say I have a 720p movie that already exists in MKV format - already encoded as H264 with AC3 audio, e.g. Apocalypto - file details below
The current process I follow to 'convert' this to a playable format on PS3 is as follows:
Split MKV to file size below 4GB for playback from external FAT32 harddrive (MKVMerge)
Extract Video & Audio to H265 / AC3 (MKVExtract)
Covert Video to Profile4.1 if required H264 Info
Convert Audio to AAC/MP4 MeGUI
Mux Audio MP4 and Video H264 to new MP4 file YAMB
All of the above works swimmingly and I've been having fun times playing back high def content via my PS3. The only time I have problems is when there are non-English speaking parts in certain areas of a movie, or if the entire movie is non-English.
I'm wondering if there is somehow a way to hardcode the extract subtitle files to the H264 or MKV without the need to recode?
I have read of the following possible method:
Use MeGUI and AVISynth recode MKV with Sub file to new MKV.
I tried the above using a small 10 minute extract (approx 700mb) I took from Apocalypto. Using X264 encoder I tested using single pass and 2-pass, but the coding times were quite long - about 1.5 hours.
I figure I could be using incorrect settings, possibly extending the recode time longer than necessary?
But I was hoping there might be a process already available that does not require recoding of the video stream. As the Video is already in H264 @ 4.1 I don't need to recode using my current method.
Thanks for reading and I look forward to any suggestions you might have!
Ok, first of all why convert your AC3 track to AAC/MP4 in the first place? You should leave it as is and just convert the video.
You mentioned recoding to MKV but you originally requested for PS3 compatibility, so I am guessing that you do not want a MKV.
If you want subtitles, there there is no option but to re-encode as your resolution isn't "true" 720p. For a proper 720p resolution, it must be 1280 x 720.
These are the steps I would recommend.
1) Frameserve and filter with AVIsynth using the AddBorders(0,16,0,16) command.
2) Re-encode video with MeGUI/x264. Calculate bitrate for DVD-5 target. Don't forget to allow approx 6% for Blu-ray headers and remember to consider audio track file size.
3) Mux re-encoded video and original audio with tsMuxeR. Also load your subtitle file so tsMuxeR can convert it to PGS format.
4) Use BDedit to force your subtitle on.
This message has been edited since posting. Last time this message was edited on 11. February 2009 @ 09:45
|
plastico
Newbie
|
11. February 2009 @ 10:12 |
Link to this message
|
Hi Ryu, thanks for the quick reply :)
Ok, first of all why convert your AC3 track to AAC/MP4 in the first place? You should leave it as is and just convert the video.
I was under the impression that the PS3 couldn't playback AC3 format audio - so it was therefore required to convert and place in MP4 container
You mentioned recoding to MKV but you originally requested for PS3 compatibility, so I am guessing that you do not want a MKV.
Apologies if this part wasn't clear. The 'source' that I have is an MKV file. PS3 is unable to play the MKV file so that's why I go through the process of recreating it as MP4 for playback.
If you want subtitles, there there is no option but to re-encode as your resolution isn't "true" 720p. For a proper 720p resolution, it must be 1280 x 720.
Ok I guess the original encoder didn't correctly specify the settings, but to be honest I'm not too worried about that as the snippet of the movie I did process displayed OK on my LCD.
|
lamenting
Junior Member
|
11. February 2009 @ 13:45 |
Link to this message
|
Originally posted by Ryu77: If you want subtitles, there there is no option but to re-encode as your resolution isn't "true" 720p. For a proper 720p resolution, it must be 1280 x 720.
Since the height of his movie is taller than 584 pixels, he can use mkv2vob with AVCHD output (either disc or USB) without having to transcode. If the movie is under 584 pixels, then the PS3 drops down to 480p - but over 584 pixels it doesn't.
The only problem with odd-sized 720p AVCHD is that the movie itself sits at the top of the screen with a black bar at the bottom and there's no way to center it. But, it works without transcoding, subs are selectable, and if you have DTS it will keep that as well.
Or you can just use mkv2vob to transcode and hard code subs if you want the movie centered. Just select your preferred audio and subtitle language and choose "Always Encode Subtitles" and drop the file in.
This message has been edited since posting. Last time this message was edited on 11. February 2009 @ 13:46
|
typoknig
Newbie
|
11. February 2009 @ 22:54 |
Link to this message
|
Ryu77,
Thanks for all of your guides and stuff on here... Your a real asset to all of us av junkies :) I have been working on backing up some Blu Ray discs and I have a little snag, I cannot get tsmuxer to accept the input of a 768 kbps DTS file created from eac3to. Media Raw indentified the original audio source as .dtshd but eac3to loads it simply as .dts The only way I can get dts to work on my dvd-9 (blu ray back up) discs is to change the source file extension to .dtshd and then extract the core. Only when the core is extracted at default bit rate (1.5 mbps) will tsmuxer accept the file. I have tried every combination I know to make 768 kbps .dts files created by eac3to to work in tsmuxer but to no avail. I have surcode (dvd dts version) as well. I think the 768 kbps .dts files sound way better than the 640 kbps .ac3 files and I would really like to go .dts if possible, but I do not want to sacrifice 1+ gb of disc space for audio, thus the 1.5 mbps .dts / .dtshd files are not an option. Any guidance would be appreciated.
|
Senior Member
|
11. February 2009 @ 23:55 |
Link to this message
|
Keep the DTS @ 1536kb/s, your not going to notice the extra bit rate on the video side... heck, I even keep TrueHD and DTS HD-MA on some of my DVD9s, and the video still looks amazing.
Anyway, after eac3to is done creating your DTS file you need to remove the "Zero Padding". Basically, in command prompt enter eac3to's location, your source DTS file, then the fixed file... see below.
c:\eac3to.exe c:\audio.dts c:\audio_fixed.dts
This message has been edited since posting. Last time this message was edited on 11. February 2009 @ 23:56
|
typoknig
Newbie
|
12. February 2009 @ 01:52 |
Link to this message
|
Thanks for the quick reply, I actually figured it out right after I put the post up. I didn't know the script but after extracting the core from the .dtshd and knocking the bit rate down to 768 (both in one step) I extracted the core again on the file that resulted from the first process :) Audio is out of sync now though, not sure why, but I am working on it. So you would seriously just leave it at the higher bit rate? It seems like it is taking up a lot of good video space...
Thanks again!
|
Senior Member
5 product reviews
|
12. February 2009 @ 09:47 |
Link to this message
|
Odin, just a note with EAC3to scripting. I have found that if you use the quotation marks (") to group each directory, EAC3to wont have issues with spaces being used in directory and file names etc. Without the quotation marks errors will occur as EAC3to will assume that a space signifies that the next command will follow... As an example (converting a TrueHD track to DTS @ 1536kbs)...
"D:\Applications\EAC3to\EAC3to v3.08\eac3to.exe" "D:\BD Movie" 1) 3:"D:\Project Folder\Audio Track.dts" -1536
This message has been edited since posting. Last time this message was edited on 12. February 2009 @ 09:53
|
Senior Member
|
12. February 2009 @ 13:50 |
Link to this message
|
Understood. However, I haven't come across a scenario yet where I needed them. I have used them before though (only a few times), only because I see everyone else using them.
|
dn325ci
Newbie
|
13. February 2009 @ 11:02 |
Link to this message
|
Gents, at the risk of getting the newb smack down, I have a layman's question.
I live in Hong Kong these days, but I've got a TiVo Series 3 in the US connected to desktop which I have remote control over.
Occasionally I would like to transfer a TiVo-recorded HD .mpg from the US to Hong Kong for playback on PS3. However, the .mpg files are massive as originally recorded by the TiVo.
Can you recommend a (hopefully simple) process with the basic objective of processing the .mpg on the US side for reasonable size/quality before transferring to Hong Kong? Intention would be to dramatically reduce the time to download.
It seems an hour of TiVo recorded .mpg can be be 4 - 6 gig and I can't help but think that I could easily reduce that file size and still maintain a respectable quality. I know very little about HD video encoding.
Thanks guys,
Don
|
Senior Member
5 product reviews
|
15. February 2009 @ 02:20 |
Link to this message
|
Originally posted by dn325ci: Gents, at the risk of getting the newb smack down, I have a layman's question.
I live in Hong Kong these days, but I've got a TiVo Series 3 in the US connected to desktop which I have remote control over.
Occasionally I would like to transfer a TiVo-recorded HD .mpg from the US to Hong Kong for playback on PS3. However, the .mpg files are massive as originally recorded by the TiVo.
Can you recommend a (hopefully simple) process with the basic objective of processing the .mpg on the US side for reasonable size/quality before transferring to Hong Kong? Intention would be to dramatically reduce the time to download.
It seems an hour of TiVo recorded .mpg can be be 4 - 6 gig and I can't help but think that I could easily reduce that file size and still maintain a respectable quality. I know very little about HD video encoding.
Thanks guys,
Don
What resolution are these files? With h264 you can compress to about one third of the size (possibly more) without losing any perceivable quality.
|
dn325ci
Newbie
|
15. February 2009 @ 07:01 |
Link to this message
|
Originally posted by Ryu77:
What resolution are these files? With h264 you can compress to about one third of the size (possibly more) without losing any perceivable quality.
Using MediaInfoRaw the resolution has some variation. Most of my files look like 1280x720 progressive MPEG-2, but occasionally I have a 1920x1080 interlaced file.
One third size would be a terrific bandwidth saver. I sure appreciate your ideas.
Thanks,
Don
|
Senior Member
5 product reviews
|
19. February 2009 @ 07:10 |
Link to this message
|
Looks like tsMuxeR has fixed the TrueHD bug with a new version!!
changelog:
1.8.15 - fixed bug with TRUE-HD stream
1.8.16 - fixed bug with long srt subtitles
1.8.17 - fixed bug with extracting TRUE-HD core (bug appear in mux mode only, demux works fine)
1.8.18 - fixed bug with "bitstream exeption" occurring in some streams
tsMuxeR v1.8.18(b)
The .exe is only available for download. However, the old GUI still works. I am off to do some testing. :-)
Edit: Just tested this on The Dark Knight which no other fix or method worked for and tsMuxeR v1.8.18 did the job! :-D
This message has been edited since posting. Last time this message was edited on 19. February 2009 @ 09:13
|
paistejb
Newbie
|
19. February 2009 @ 18:29 |
Link to this message
|
Ryu77,
Thank you very much for the guide. I was wondering if you can help me with a problem I am having or if I am just wasting my time. I don't have a blu ray drive on my pc but I want to convert my dvd to mkv and then muxe it to .m2ts with tsmuxer so I can have the extra attributes like subtitles and chapters. I use handbrake to encode the dvd to mkv but I cannot get it to stream the audio track. I use mkvextract to extract the streams but the the ac3 stream will never show up (if I use multiple audio streams the mp3 stream and the aac stream will show up but not the ac3. I've tried megui program but that was just way to many steps/way too confusing for me (I would rather just convert to mp4 and call it a day). Do you have another encoding program that will work better or can I use a stream besides ac3 or is this just a stupid idea?
|
Deltron30
Newbie
|
20. February 2009 @ 02:57 |
Link to this message
|
Hello and thanks for this thread.
I do have a question however and I would love it if anyone has the knowhow to help. I am very green when it comes to this.
I have a mkv file that plays fine in VLC, but when I use MKVextractGUI it only extracts a 8.7 MB x264 file and an equally small sound file.
What could the reason be for this? Also, is there another way to extract the video and sound?
|
socco
Newbie
|
22. February 2009 @ 16:31 |
Link to this message
|
So I've run into some audio sync issues recently. The .mkv file is fine, but when I try to convert it with both txmuxer and mkv2vob the audio goes out of sync. It doesn't happen with ever movie I try, just a few. Any suggestions?
|
Darkhelm
Newbie
|
22. February 2009 @ 17:13 |
Link to this message
|
Hey Ryu77.
I have a problem, like so many before me, it seems.
Here goes...
TsMuxer transcodes a MKV file. result No picture.
But while using Java PS3 media server, i tried to transcode the file on the fly (the media server used Mencoder) It worked!!!! But my PC is not capable to do it without chopping, so is the a way to use Mencoder(On my PC) to transcode the MKV to a stream-able file, the PS3 will play???
|
Member
|
23. February 2009 @ 18:07 |
Link to this message
|
OK I got a problem Ryu and Odin, and its kind of a little urgent :P .. if you could guide me through it, i would be really grateful ..
I have been using Megui for sometime now, and I never have had any serious problems using it for making PS3 compatible AVCHDs ..
Today I tried starting another encode, but I keep getting the following error immediately right when the first pass is about to start:
-[NoImage] Error starting job
--[NoImage] Exception message: starting encoder failed with error 'The parameter is incorrect'
--[NoImage] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[NoImage] Inner exception: null
I have tried checking the avisynth script, restarting my computer, completely re-installing Megui, and re-installing fresh copies of Ryu's profiles, trying different encodes which have worked before .. but this error just won't go away ...
would could be the problem ?
|
Senior Member
|
23. February 2009 @ 18:17 |
Link to this message
|
Has anything changed recently... are you using his new profile? Make sure the Logfile destination is set, make sure x264.exe path is set. Try renaming the name of your script to something less complicated... make sure you do not have any old jobs still in the queue that are complete (just delete them).
I'm not sure if any of this will help, I have never encountered this problem.
|
Member
|
24. February 2009 @ 16:11 |
Link to this message
|
thanx for the help Odin .. the problem has resolved now :)
|
Junior Member
|
24. February 2009 @ 18:58 |
Link to this message
|
still unable to play MKV files nor import .srt files into AVIs to play on ps3, this is epic sad for me
Advice is ever in want.
|
Junior Member
|
24. February 2009 @ 20:48 |
Link to this message
|
I just did the tsmuxer thingy on my MKV file and my ps3 played it with neither subtitle nor audio, only video appeared.
what should i do Ryu-kun?
Advice is ever in want.
|
Monrovill
Newbie
|
24. February 2009 @ 23:30 |
Link to this message
|
Originally posted by Ryu77: Ok... I've just created an AVCHD disc with the above method and all works fine!
If anyone has any questions, ask away... :-)
I've tried TXmuxer on THORanime's 720p SWORD OF THE STRANGER MKV file. I've tried TS muxing, M2TS muxing and making a blu-ray disc. NONE of it plays on my PS3. I am wondering if the latest firmware update may have nixed the ability to play certain files. Regardless, does this program work or not, and if so, what am I doing wrong?!?!
Note: I am currently using TSmuxer v.1.8.8
This message has been edited since posting. Last time this message was edited on 24. February 2009 @ 23:33
|
Advertisement
|
|
|
alcOre
Junior Member
|
25. February 2009 @ 00:01 |
Link to this message
|
I know your problem is resolved now but I just wanted to give a little feedback. I had the same issue. The issue appeared immediately after a MeGUI update. The only thing that got updated on that update was x264. There was a backup copy in the megui folder of the previous one prior to the update. I deleted the updated one and used the "older" one and everything was working ok again. So I believe it was just an issue with that release of x264. I have yet to update again to see if they fixed that, but if you're back up and running I think its safe for me to update again.
Originally posted by ahmadka: OK I got a problem Ryu and Odin, and its kind of a little urgent :P .. if you could guide me through it, i would be really grateful ..
I have been using Megui for sometime now, and I never have had any serious problems using it for making PS3 compatible AVCHDs ..
Today I tried starting another encode, but I keep getting the following error immediately right when the first pass is about to start:
-[NoImage] Error starting job
--[NoImage] Exception message: starting encoder failed with error 'The parameter is incorrect'
--[NoImage] Stacktrace: at MeGUI.core.gui.JobWorker.startEncoding(TaggedJob job)
--[NoImage] Inner exception: null
I have tried checking the avisynth script, restarting my computer, completely re-installing Megui, and re-installing fresh copies of Ryu's profiles, trying different encodes which have worked before .. but this error just won't go away ...
would could be the problem ?
|