Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
2nd September 2016, 18:19 | #1 | Link |
Registered User
Join Date: Aug 2016
Posts: 4
|
Making decent rip from PAL-BD - frame rate conversion
Hello,
I have problems making a decent "rip" of a PAL-Bluray I own. The story so far: Last weekend I decided to rip a TV series I bought on Bluray. Ending up with ~72GB of Data after riping with MakeMKV I wanted to have a smaller rip because it seems to me like unnecessary wasting of space. This is where my problems began. Because I don't know much about encoding I wanted to use a well-made encode from the web. At this point I noticed that my BD was in PAL, so it had 25 fps. (I believe it is because it was first released DVD-only in 2012 and got the Bluray-Release last year.) Digging a bit deeper in my source, I recognized it as a PAL speedup (wuh, what a surprise) with resampled, not pitch corrected audio. I searched for the problems that I now have but couldn't find satisfying answers. (maybe using wrong search terms) What I'm looking to do now is: -obtain a well encoded release at original 23.976 fps and using video and original audio of it (because resampling of the lossy audio I have back to original seems pretty dumb for me) -do a framerate conversion of the audio in my language, which leaves me with two not really good options if I got them right: -resample without changing pitch (would results in correct playback of the great soundtrack, noises etc. but give me deeper syncronisation - meh)-get the PGS-Subs of the Bluray playing at the speed of the NTSC version (didn't find much about that topic) I actually care more about the subtitles, but it would be a very-nice-to-have if I had the the syncronization in my rip too. Why I dont want to stay with a PAL rip: -I would have to encode it myself and end up with worse video quality using standard options and no filtering (even when filtering bluray isn't making that much difference afaik) -the wonderful soundtrack would still sound like crap and the original dub is distorted -and as a third little reason, I want to learn something by getting this done What I want from you: Please tell me if this is my way to go or if I'm doing it completely wrong. Help me deciding what to do with the audio and point me to software capable of doing what I'm wanting to. I'm familar with the main functionalities of MKVToolNix GUI and did some very light avisynth magic. Thanks in advance!
__________________
I don't speak english as my first language. Please excuse my mistakes and point out when something I wrote isn't understandable. |
2nd September 2016, 21:47 | #2 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
If you want to reduce the video file size you have to reencode. You cannot "rip" to a lower file size.
Is your 25fps video true interlaced or progressive (fake interlaced)? Why do you want to change the framerate? Is it just for correcting the audio pitch? I suggest that you upload a sample of your .mkv of few seconds duration. You could try BD-Rebuilder for re-encoding of your .mkv. It probably comes close to what you are looking for. Last edited by Sharc; 2nd September 2016 at 23:35. |
2nd September 2016, 23:54 | #3 | Link | |||
Registered User
Join Date: Aug 2016
Posts: 4
|
Quote:
Code:
Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : V_MPEG4/ISO/AVC Duration : 5s 840ms Bit rate mode : Variable Bit rate : 30.8 Mbps Maximum bit rate : 38.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : MBAFF Scan order : Top Field First Bits/(Pixel*Frame) : 0.593 Stream size : 21.4 MiB (91%) Language : English Default : No Forced : No SOURCE_ID : 001011 _STATISTICS_WRITING_APP : mkvmerge v7.6.0 ('Garden of Dreams') 64bit built on Feb 8 2015 13:04:34 _STATISTICS_WRITING_DATE_UTC : 2016-09-02 22:00:32 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES DURATION : 00:00:05.760000000 NUMBER_OF_FRAMES : 144 NUMBER_OF_BYTES : 22962690 Quote:
If I only edit the pitch of my audio files, I would have to perform an unnecessary reencode of the original audio (lower quality) and I would have to encode the video myself (lower quality/bigger file). It wouldn't greatly effect my second audio that I definitly have to edit and I could leave the subtitles untouched. I would definitly want to go with the first option, but you are free to convince me that the second one is the right for me. Quote:
__________________
I don't speak english as my first language. Please excuse my mistakes and point out when something I wrote isn't understandable. |
|||
3rd September 2016, 00:59 | #4 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
The amount of labor required to get the audio from a PAL release to match the video from a NTSC release is NOT worth it, you will constantly be finding another episode where the starting point was a few frames different between the releases, even if you manage to get the durations to usually match by slowing down your audio. Re-timing the subtitles is even worse.
__________________
madVR options explained |
3rd September 2016, 11:53 | #5 | Link |
Registered User
Join Date: May 2006
Posts: 3,997
|
Agree.
If at all, it is probably safer to start from the all-in-sync 25fps blu-ray version, reencode the progressive video to smaller file size, slowing it down to 23.976 (assumefps(23.976)) and slow the audio down (25 => 23.976 without applying pitch correction) in order to restore the "original" 23.976 pitch and match the video duration ..... Subtitles could possibly be adjusted/restamped using BDSup2Sub. Probably not worth the pain. Good luck ..... |
4th September 2016, 07:08 | #7 | Link | |
Registered User
Join Date: May 2006
Posts: 3,997
|
Quote:
Edit: And when just changing the framerate from 25 to 23.976fps with mkvtoolnix the progressive video stream will still remain flagged as interlaced which MAY cause playback issues with certain players. At least it is not blu-ray compliant. Last edited by Sharc; 4th September 2016 at 12:56. |
|
4th September 2016, 18:48 | #9 | Link | |||
Registered User
Join Date: Aug 2016
Posts: 4
|
Hey Guys,
thanks to your help I made some progress. So far I got a "testing version" of the first episode as I wanted it to be. Quote:
Quote:
The audio was a bit complicated and I'm not satisfied with the procedure. I used audacity (and it was bitchy ...) and used the change speed filter. Then I cut the first ~167ms away and exported to flac (for testing, I don't want to stay with 330MB of audio). After telling audacity to not convert the 5.1 track into mono it came up with channel mapping. Using this information, I mapped the channels this way. Is that accurate? For compressing the audio I want to use opus (Mapping 5.1 surround: front left, front center, front right, rear left, rear right, LFE source) for being as good as every other codec at high bitrates and being open source. Any thoughts of you or tips how to encode are welcome. Quote:
tl;dr made a test with first episode and got everything right, still unsatisfied about audio editing and looking for correct audio encoding
__________________
I don't speak english as my first language. Please excuse my mistakes and point out when something I wrote isn't understandable. |
|||
4th September 2016, 19:52 | #10 | Link | |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
eac3to of cause. http://forum.doom9.org/showthread.php?t=125966
it is a command line program i personally have no problem with that. it can do what you are looking for. Quote:
|
|
4th September 2016, 20:46 | #11 | Link |
Registered User
Join Date: Aug 2016
Posts: 4
|
You are right, eac3to is great. But I skipped in my file and compared the audio and I found out that I mapped the channels wrong. The example I picked has a centred voice in the original DTS, my audacity flac has it on the right ear, the output from eac3to on the left. (I'm using stereo headphones)
Code:
command line: eac3to "input.dts" "output.flac" -25.000 -slowdown -167ms -2,0,1,4,5,3 (unimportant fun fact: the output from eac3to is with 660MB twice the size of audacity output, both flac) Do you recognize where I failed at mapping? And, as eac3to doesn't support opus output, should I simply go with AAC after my tests are finished?
__________________
I don't speak english as my first language. Please excuse my mistakes and point out when something I wrote isn't understandable. Last edited by Hgp3; 4th September 2016 at 21:05. |
Tags |
audio, bluray, frame rate conversion, pal |
|
|