View Full Version : Quick Blu-ray content (BD, BD-5 and BD-9) authoring guide (PS3+PowerDVD)
jamos
15th February 2008, 02:12
Sorry...I'm tired and haven't read well you message
You just changed average bitrate and deblocking strength?
C'mon man...if you read Sharktooth megui profiles thread you'll see that he says "put the bitrate and deblocking strength you want"...so that change is not enough to make some new profiles...since people will change them too everytime they use them
thats all i changed.
Ok I'll just say in my tutorial to use you profile and change the avg. bitrate to a lower lvl to fit on a dvd-5 or 9 and say what deblock that works well with 720p. also ill give some examples of what size a avg. bitrate will equate to..ie bitrate 6745 will usually fit on a dvd-9 with 1536kbps bitrate DTS audio for a two hour 20 min. movie. but personally i do have many profiles with slight tweaks, makes it so much easier for me.
XolocoTuxmaster
15th February 2008, 12:56
alright
Atak_Snajpera
15th February 2008, 21:48
bitrate 6745 will usually fit on a dvd-9 with 1536kbps bitrate DTS audio for a two hour 20 min. movie.
if you are interested I've made formula how to calculate bitrate in order to fit entire movie on DVD-4.37GB or 7.95GB (with TSRemux)
jamos
15th February 2008, 23:17
if you are interested I've made formula how to calculate bitrate in order to fit entire movie on DVD-4.37GB or 7.95GB (with TSRemux)
yes pm me the formula if you can. so far ive been using megui but its hard to determine due to it not accounting for the audio or subtitles.
Beastie Boy
17th February 2008, 14:31
yes pm me the formula if you can. so far ive been using megui but its hard to determine due to it not accounting for the audio or subtitles.
I'd like to see the formula. Any chance of posting it here for everyone rather than using PM.
Cheers, Beastie.
chinafree
17th February 2008, 17:11
--------------------------------------------------------------------------------
I am trying to author a blu-ray movie
1. Load up MUI Generator
2. Load the Audio/s in to the program and select create files.
3. Do the same for the video
I load supernatural.s03e10.720p.hdtv.x264-ctu.mkv in MuI Generator.I've got the "ERROR" pop up when i push the "create files" button.
Am i doing something wrong?
jamos
17th February 2008, 17:24
--------------------------------------------------------------------------------
I am trying to author a blu-ray movie
1. Load up MUI Generator
2. Load the Audio/s in to the program and select create files.
3. Do the same for the video
I load supernatural.s03e10.720p.hdtv.x264-ctu.mkv in MuI Generator.I've got the "ERROR" pop up when i push the "create files" button.
Am i doing something wrong?
Dont double post!:mad:
jamos
18th February 2008, 01:27
I can confirm that this method works in the ps3 using Xolos profile, even on a DVD-5 or DVD-9 you can play multiple audio tracks including DTS and subtitles.
XolocoTuxmaster
18th February 2008, 10:48
Thanks man, good to hear.
By the way, new 0.47 version of Supread lets you export in Blu-ray subtitle format, It's still sup but...maybe this will increse compatibility, don't know. I have requested Pelican9 to include .bdn output. Waiting for his answer
jamos
18th February 2008, 16:39
Thanks man, good to hear.
By the way, new 0.47 version of Supread lets you export in Blu-ray subtitle format, It's still sup but...maybe this will increse compatibility, don't know. I have requested Pelican9 to include .bdn output. Waiting for his answer
if he does I hope he converts them properly ie 00:00:00:24 timestamp gets transfered to 00:00:01:00 in the bdn for Scenarist.
marco_ooo
20th February 2008, 18:10
first off all thnx for this great guide
just to let you know how i did get good subs in secranist
first i transfer mine srt file from 23.976 to 24 fps
then i used this guide to get good files for secranist i used the color light green
at least i put the time offset here i used the first time from the srt sub
hope it helps :)
jamos
20th February 2008, 19:05
first off all thnx for this great guide
just to let you know how i did get good subs in secranist
first i transfer mine srt file from 23.976 to 24 fps
then i used this guide to get good files for secranist i used the color light green
at least i put the time offset here i used the first time from the srt sub
hope it helps :)
how did you transfer your srt from 23.976 to 24?
thanks
marco_ooo
20th February 2008, 19:44
oeps forgot to tell :(
i used Subtitle Workshop 2.51 for it
load srt >>>> change out fps on the side to 24
save the subtitle to a new srt (subrip)
http://www.urusoft.net/download.php?lang=1&id=sw
for the download
jinkazama6199
21st February 2008, 05:25
first THANKS for this great guide
follow all steps
i have made a bd5 disk form MKV , play with my ps3 is good ,but i can't play with powerdvd , no sound & black screen! but play info show mpeg4 avc and dts
my powerdvd vesion is 7.3 Ultra 3319f
which step i did wrong?
please help me .thanks!!
jamos
21st February 2008, 15:33
first THANKS for this great guide
follow all steps
i have made a bd5 disk form MKV , play with my ps3 is good ,but i can't play with powerdvd , no sound & black screen! but play info show mpeg4 avc and dts
my powerdvd vesion is 7.3 Ultra 3319f
which step i did wrong?
please help me .thanks!!
I had to back out that patch for my powerdvd to play bd disks or avchd disks back to 7.2..i am not sure what the 7.3 patch does but it does break BD playback on my computer.
XolocoTuxmaster
21st February 2008, 20:38
first off all thnx for this great guide
just to let you know how i did get good subs in secranist
first i transfer mine srt file from 23.976 to 24 fps
then i used this guide to get good files for secranist i used the color light green
at least i put the time offset here i used the first time from the srt sub
hope it helps :)
oeps forgot to tell :(
i used Subtitle Workshop 2.51 for it
load srt >>>> change out fps on the side to 24
save the subtitle to a new srt (subrip)
http://www.urusoft.net/download.php?lang=1&id=sw
for the download
Thank you very much :thanks:
By the way people, Rectal Propalse has released a program which convert HD DVD's sup to bdn (png+xml) fully compatible with scenarist. He's call it hdsup2bdn (http://forum.doom9.org/showthread.php?p=1102062#post1102062)
For BD's sup to bdn...maybe we could use Supread to export HD DVD's sup and then hdsup2bdn???
Have to update the guide XD
PD:
first THANKS for this great guide
follow all steps
i have made a bd5 disk form MKV , play with my ps3 is good ,but i can't play with powerdvd , no sound & black screen! but play info show mpeg4 avc and dts
my powerdvd vesion is 7.3 Ultra 3319f
which step i did wrong?
please help me .thanks!!
Played at PS3? Did you replaced .bdmv files? If so...PowerDVD just likes the original ones
*Please Confirm theory: If you don't change .bdmv files on the Backup folder, BD players (including PowerDVD) will look there after refusing the PS3's ones and play OK
jamos
22nd February 2008, 01:12
Thank you very much :thanks:
By the way people, Rectal Propalse has released a program which convert HD DVD's sup to bdn (png+xml) fully compatible with scenarist. He's call it hdsup2bdn (http://forum.doom9.org/showthread.php?p=1102062#post1102062)
For BD's sup to bdn...maybe we could use Supread to export HD DVD's sup and then hdsup2bdn???
Have to update the guide XD
PD:
Played at PS3? Did you replaced .bdmv files? If so...PowerDVD just likes the original ones
*Please Confirm theory: If you don't change .bdmv files on the Backup folder, BD players (including PowerDVD) will look there after refusing the PS3's ones and play OK
Like i said with the 7.3 patch even with the original .bdmv files it will not play on my computer. 7.2 plays flawlessly with either.
jamos
22nd February 2008, 04:27
ok just to elaborate on marcos way to import subtitles which works well.
export .srt subtitle from mkv using mkvextract
download subtitleworkshop 2.51 http://www.urusoft.net/download.php?lang=1&id=sw
run subtitleworkshop 2.51 open .srt file exported from mkv with 23.976 selected
change bottom left frame rate drop down to 24
save as srt (double click on the subrip icon)
open subtitleworkshop beta4
open srt saved from subtitleworkshop 2.51
choose file export to custom image format
choose video format tab use either 720 or 1080 and choose non drop frame 23.976
then change the text color in the font to something other than white (green works good)
then click export to create a bdn .xml file
import bdn file (.xml) from scenarist in the data tab
click on clip then go to clip editor PG timeline and right click
choose timeinfo and set the video offset equal to the start of the first subtitle (to get the time of the first subtitle use tool subtitle arranger menu item)
jinkazama6199
22nd February 2008, 08:34
great!!!
subtitle sync is right, but subtitleworkshop4 beta2 can't
change the text color in the font to white, it looks so bad, also choose green looks better
hope update can fix it! so we can make blue-ray subtitle from srt perfect!
PS:
i reintall powerdvd vesion 7.3 3304,bd-5 play well with it! but newer vesion no compatible, older vesion maybe well
jm9843
22nd February 2008, 15:27
*On a DVD:
--PS3: Change index.bdmv and Movieobject.bdmv (in \BDMV and \BDMV\BACKUP\) for the Nero ones and burn BDMV folder on a DVD with UDF 2.5 format.
--No AVCHD compatible BD players: Just burn BDMV folder on it?
A general question:
Has anyone tested all of these scenarios yet? It'd be nice to burn a BD-5/9 that can play back on the PS3, AVCHD compatible BD players, and non AVCHD compatible BD players.
Concerning the Panasonic BD-30:
Has anyone successfully played a BD-5/9 on this player? Did you need to use the nero versions of index.bdmv and Movieobject.bdmv?
Thanks.
XolocoTuxmaster
22nd February 2008, 17:02
*On a DVD:
--PS3: Change index.bdmv and Movieobject.bdmv (in \BDMV and \BDMV\BACKUP\) for the Nero ones and burn BDMV folder on a DVD with UDF 2.5 format.
--No AVCHD compatible BD players: Just burn BDMV folder on it?
A general question:
Has anyone tested all of these scenarios yet? It'd be nice to burn a BD-5/9 that can play back on the PS3, AVCHD compatible BD players, and non AVCHD compatible BD players.
Concerning the Panasonic BD-30:
Has anyone successfully played a BD-5/9 on this player? Did you need to use the nero versions of index.bdmv and Movieobject.bdmv?
Thanks.
That's why I wanted to know if changing .bdmv at BDMV folder BUT KEEPING the BACKUP folder ones...BD players will look there (BACKUP) after refusing the BDMV's ones and play OK
jm9843
22nd February 2008, 17:12
That's why I wanted to know if changing .bdmv at BDMV folder BUT KEEPING the BACKUP folder ones...BD players will look there (BACKUP) after refusing the BDMV's ones and play OK
I thought that was what you meant, but thanks for clarifying.
I can test this on a Panny BD-30 over the weekend, but I'm not sure what it'll tell us. Reason being that the BD-30 supports AVCHD at least from flash memory, so it might treat the disc as the PS3 does.
jamos
22nd February 2008, 18:54
I can confirm on the PS3 if you do not change the BDMV files with the nero ones the player sees it as a data disk. Once you replace them (you can leave the backup alone) in the stream directory the PS3 plays them flawlessly.
NorthPole
23rd February 2008, 15:00
@XolocoTuxmaster
Thanks for the great guide!
Resolution must be standard and fps 24p, 50i or 60i
Scenarist allowed me to generate a blu ray disk at 23.976 fps but not at 29.970 fps.
I haven't burned it yet to disk but I am going to later today and will know soon if it works.
I had a couple of questions?
I plan on using the new version of imgburn. It has an option for udf 2.5 and udf 2.6. Does it matter which one I use. Also are there any other setting that I should worry about?
On your blu ray x264 profile... Your using a CPB of 30,000 and a max of 38,000. I think that the max should be less or equal to the CPB. Also, do you think for a target bitrate of 8000 that a spike could reach 30,000. Maybe the level 4.0 limits would be OK, which are CPB = 25,000 kbps and vbr max = 20,000 kbps. Or are the limit you set required for blu ray and/or ps3 compliance?
jamos
23rd February 2008, 15:39
@XolocoTuxmaster
Thanks for the great guide!
Scenarist allowed me to generate a blu ray disk at 23.976 fps but not at 29.970 fps.
I haven't burned it yet to disk but I am going to later today and will know soon if it works.
I had a couple of questions?
I plan on using the new version of imgburn. It has an option for udf 2.5 and udf 2.6. Does it matter which one I use. Also are there any other setting that I should worry about?
use build mode drag the BDMV folder into the left and choose udf 2.5 or 2.6 and burn with imburn(safe to just use 2.5). If your using a dvd make sure to replace the files in the bdmv folder with the nero ones.
On your blu ray x264 profile... Your using a CPB of 30,000 and a max of 38,000. I think that the max should be less or equal to the CPB. Also, do you think for a target bitrate of 8000 that a spike could reach 30,000. Maybe the level 4.0 limits would be OK, which are CPB = 25,000 kbps and vbr max = 20,000 kbps. Or are the limit you set required for blu ray and/or ps3 compliance?
leave those settings alone it works fine on bluray/ps3 and if you adjust them too low they wont load into scenarist. you just need to adjust the average bitrate down to get it to fit on your disk if you need to.
NorthPole
23rd February 2008, 16:15
use build mode drag the BDMV folder into the left and choose udf 2.5 or 2.6 and burn with imburn(safe to just use 2.5). If your using a dvd make sure to replace the files in the bdmv folder with the nero ones.
Thanks... I'll do that.
I did adjust the settings down on a couple of tests that I ran so then I ran a full length 720p 2h11min movie @ 23.976fps. I used the constant quality mode with a quantizier of 29 and CPB and Max vbr of 9,000, Level 4.0. Scenarist accepted them OK and generated the disc.
I swapped the files with the nero ones and I'm going to burn it. Will let you know how it works. Won't know for about a week or so if it works cuz I don't have a player yet... but a friend does.
jamos
23rd February 2008, 16:27
Thanks... I'll do that.
I did adjust the settings down on a couple of tests that I ran so then I ran a full length 720p 2h11min movie @ 23.976fps. I used the constant quality mode with a quantizier of 29 and CPB and Max vbr of 9,000, Level 4.0. Scenarist accepted them OK and generated the disc.
I swapped the files with the nero ones and I'm going to burn it. Will let you know how it works. Won't know for about a week or so if it works cuz I don't have a player yet... but a friend does.
if scenarist will accept it then I am sure it should play well. player must be AVCHD compliant to play nero file but you should be ok if you left your origianal files alone in you backup directory for other bluray players.
NorthPole
23rd February 2008, 16:49
Yep... I left the files in the backup subdirectory untouched. Just copied the two nero files to the main BDMV folder. Will let you know how it worked.
XolocoTuxmaster
24th February 2008, 14:33
Scenarist allowed me to generate a blu ray disk at 23.976 fps but not at 29.970 fps.
Check if the video has the interlace flags on, if it does it have to work[/QUOTE]
I plan on using the new version of imgburn. It has an option for udf 2.5 and udf 2.6. Does it matter which one I use. Also are there any other setting that I should worry about?
Use 2.5, if you use 2.6 old (firmware) players won't read it.
On your blu ray x264 profile... Your using a CPB of 30,000 and a max of 38,000. I think that the max should be less or equal to the CPB. Also, do you think for a target bitrate of 8000 that a spike could reach 30,000. Maybe the level 4.0 limits would be OK, which are CPB = 25,000 kbps and vbr max = 20,000 kbps. Or are the limit you set required for blu ray and/or ps3 compliance?
As I said...you can set lower values to those parameters...38000 and 30000 are the maximum.
About the 8000...it could, but having high peaks you would also have "low (500-4000) peaks"...If you don't want "low peaks"=low quality, limit the maximum quantizer (ie --qpmax 26,--qpmax 32). Then video will go to low bitrates just if higher ones are not necessary for an acceptable quality
Yep... I left the files in the backup subdirectory untouched. Just copied the two nero files to the main BDMV folder. Will let you know how it worked.
Thanks
@ All you people
Pelican9 has released a new supread version that outputs bdn...
jamos
24th February 2008, 17:02
@ All you people
Pelican9 has released a new supread version that outputs bdn...
yes tested it it exports fine have not used it in scen yet will get back to see if it works.
edit: scenarist stops responding when importing it so there is a bug in the xml.
jamos
24th February 2008, 17:14
About the 8000...it could, but having high peaks you would also have "low (500-4000) peaks"...If you don't want "low peaks"=low quality, limit the maximum quantizer (ie --qpmax 26,--qpmax 32). Then video will go to low bitrates just if higher ones are not necessary for an acceptable quality
From what i have seen Xolo your blu-ray templates avg. bitrate of 8000 usually reduces the size of the original m2ts considerably about 75%. so if you want near lossless encoding, probably around a avg of 25,000 would be about right. Remember all, that if you coming from a mkv your avg. bitrate is probably much lower, so putting in a higher bitrate than the original is just going to make your file bigger and not give you any gain in quality. You can use mediainfo on your mkv to see what avg. bitrate it was encoded at. The higher the avg. bitrate the slower the encode as a general rule.
marco_ooo
24th February 2008, 21:22
yes tested it it exports fine have not used it in scen yet will get back to see if it works.
edit: scenarist stops responding when importing it so there is a bug in the xml.
same here
marco_ooo
26th February 2008, 09:19
1 quick question
planning to buy a blu ray burner :)
but if i burn the original files at a bd disc will de ps3 see him as a avchd or a bd disk ?
jamos
26th February 2008, 16:06
1 quick question
planning to buy a blu ray burner :)
but if i burn the original files at a bd disc will de ps3 see him as a avchd or a bd disk ?
if you rip it with anydvd and burn it it will see it as a bd disk as long as you use udf 2.5 format.
this is a good one: http://www.newegg.com/Product/Product.aspx?Item=N82E16827129021
marco_ooo
26th February 2008, 18:04
and if i use the original files from scenarist *.bdmv
jamos
26th February 2008, 20:21
and if i use the original files from scenarist *.bdmv
yes you would use the original files, the nero files are for AVCHD only.
MovieRipper
27th February 2008, 15:41
ok just to elaborate on marcos way to import subtitles which works well.
export .srt subtitle from mkv using mkvextract
download subtitleworkshop 2.51 http://www.urusoft.net/download.php?lang=1&id=sw
run subtitleworkshop 2.51 open .srt file exported from mkv with 23.976 selected
change bottom left frame rate drop down to 24
save as srt (double click on the subrip icon)
open subtitleworkshop beta4
open srt saved from subtitleworkshop 2.51
choose file export to custom image format
choose video format tab use either 720 or 1080 and choose non drop frame 23.976
then change the text color in the font to something other than white (green works good)
then click export to create a bdn .xml file
import bdn file (.xml) from scenarist in the data tab
click on clip then go to clip editor PG timeline and right click
choose timeinfo and set the video offset equal to the start of the first subtitle (to get the time of the first subtitle use tool subtitle arranger menu item)
Well it seems like subtitleworkshop beta 4 did the trick for me on it's own. Subs were perfectly in sync. I also didn't have to do timeline adjustments in scenarist.
About the color: When you leave the subs white and you open te png files in imageready, te colors seem ok. Could it be that it has something to do with Scenarist mistaking white color for transparant color? If you'd look at earlier subs for scenarist, they used to be blue with red borders if I'm not mistaken.
Except for the encoding, these steps go by pretty quick if you've gotten the hang of it :)
Thnx very much for the tutorial Xolo!
Dethis
27th February 2008, 17:55
Hello,
http://www.emedialive.com/articles/readarticle.aspx?articleid=11397#iii
While the BD max user bitrate is 54Mbps .... In the table linked the BD-5/9 max user bitrate is stated as 33.4Mbps. And looks logical If BD-5/9 speed is 3XDVD. It would need a 4.5XDVD speed to achive the 54Mbps datarate of the BD.
Is the linked Faq wrong about BD-5/9 ??
If not then max peak bitrate should be same as in HD-DVD profile (something like 28000) instead of 38000
Sagittaire
28th February 2008, 10:30
Hello,
http://www.emedialive.com/articles/readarticle.aspx?articleid=11397#iii
While the BD max user bitrate is 54Mbps .... In the table linked the BD-5/9 max user bitrate is stated as 33.4Mbps. And looks logical If BD-5/9 speed is 3XDVD. It would need a 4.5XDVD speed to achive the 54Mbps datarate of the BD.
Is the linked Faq wrong about BD-5/9 ??
If not then max peak bitrate should be same as in HD-DVD profile (something like 28000) instead of 38000
Correct. BD9 use 3XDVD speed and work exactly like HDDVD9. You must use maxrate at 29.4 Mbps for 1080p video ES in BD9 project. For mux max datarate must be at 31.24 Mbps or something like that.
And you can use 3 bframes with pymamid bframe with 3 pref and 2 bref or 3 bframes without pyramid bframe with 4 pref and 3 bref. Max GOP is 1.000 sec. Wpred work too. Max buffer is 30 000 Kbits.
In fact BluRay video profile is by far better for HD at low bitrate than video HDDVD profile (at least gain at 10% with the same source only with the better maxgop value).
jamos
28th February 2008, 14:33
Well it seems like subtitleworkshop beta 4 did the trick for me on it's own. Subs were perfectly in sync. I also didn't have to do timeline adjustments in scenarist.
About the color: When you leave the subs white and you open te png files in imageready, te colors seem ok. Could it be that it has something to do with Scenarist mistaking white color for transparant color? If you'd look at earlier subs for scenarist, they used to be blue with red borders if I'm not mistaken.
Except for the encoding, these steps go by pretty quick if you've gotten the hang of it :)
Thnx very much for the tutorial Xolo!
can you explain how you got it in sync without adjusting the video offset in scenarist?
also what source are you using a .srt? what was your framrate on video?
MovieRipper
28th February 2008, 21:04
can you explain how you got it in sync without adjusting the video offset in scenarist?
also what source are you using a .srt? what was your framrate on video?
As source I was usin a sample mkv clip.
- Extracted the subtitles from it (.srt).
- Loaded them into subtitleworkshop 4 beta 2
- Made sure I selected Time for mode and 23,976 as FPS
- File -> export to -> custom image format
- Sonic Scenarist HDMV authoring for script and PNG 8 bit as image format
- HD 720p for video format, 30 frames/sec drop-frame for Timecode format and frame rate was 23,976.
- changed the font color into something light except white
- Exported
Video framerate I left at 23,976 like the source .mkv it came from.
Now I have to say that it was a sample I tried and Scenarist gave me a warning while importing the subs and adjusted some values for some inTC and outTC's.
In the end all was fine. Was only a little sample clip I tried so maybe I was lucky.
marco_ooo
28th February 2008, 23:49
mayby if we ad a subpicture at 00.00.00 in the srt then we dont need to set the off set
i will give it a go tomorrow
jamos
29th February 2008, 02:55
mayby if we ad a subpicture at 00.00.00 in the srt then we dont need to set the off set
i will give it a go tomorrow
yes maybe that is how he did it marco. but why bother just as easy to set it in scenarist. it was a sample so the subs may have started right away. if he would of done a full picture he most likely would of gotten sync issues.
marco_ooo
29th February 2008, 09:03
yes maybe that is how he did it marco. but why bother just as easy to set it in scenarist. it was a sample so the subs may have started right away. if he would of done a full picture he most likely would of gotten sync issues.
thats true i am happy it is working :) and to set the offset is no problem at all if you have done it a couple of time
do you mayby know some information on how to make a simple menu
let say a start menu for 3 movies on a disc so that i can choice what movie i want to see this is for a blu ray disc
and
is it possible to make bd5 or bd9 with menu on a ps3 ?
MovieRipper
29th February 2008, 11:54
yes maybe that is how he did it marco. but why bother just as easy to set it in scenarist. it was a sample so the subs may have started right away. if he would of done a full picture he most likely would of gotten sync issues.
Nope, didn't add any subpictures in the original SRT, really didn't, haven't even thought about that :)
also, this is the startin time of the first sub:
1
00:00:00,527 --> 00:00:05,366
Every single man or woman who
has fought an agent has died.
OK, it's not a whole second but it's not 00:00:00 either. Like I said, maybe I just got lucky :) Just wanted to comment it that's all.
jamos
29th February 2008, 13:08
Nope, didn't add any subpictures in the original SRT, really didn't, haven't even thought about that :)
also, this is the startin time of the first sub:
1
00:00:00,527 --> 00:00:05,366
Every single man or woman who
has fought an agent has died.
OK, it's not a whole second but it's not 00:00:00 either. Like I said, maybe I just got lucky :) Just wanted to comment it that's all.
that is so close to the start it probably looked in sync as withen a second your not going to notice out of sync issues, but if you were to say go 1 more hour into the movie you probably would really notice it. If I were you i would still follow putting a offset in.
Atak_Snajpera
29th February 2008, 22:23
Here's my formula which calculates bitrate for m2ts in bluray structure (TSRemux). Sorry for delay but I had to do additional tests.
if audiobitrate=196608 then multiplier:=1/(size*0.006975446)/100; //size in MB
if audiobitrate=229376 then multiplier:=1/(size*0.010146104)/100;
if audiobitrate=262144 then multiplier:=1/(size*0.008585165)/100;
if audiobitrate=393216 then multiplier:=1/(size*0.007971939)/100;
if audiobitrate=458752 then multiplier:=1/(size*0.010146104)/100;
if audiobitrate=655360 then multiplier:=1/(size*0.006975446)/100; //655360 = 640kbps * 1024
if audiobitrate=0 then overhead:=1.074 else overhead:=1+(duration*multiplier+4.34)/100; //Duration in seconds , overhead is constant if you mux without audio
if copyaudiostream=0 then calculatebitrate:=(size*1048576/overhead/duration*8-audiobitrate)/1000;
if copyaudiostream=1 then calculatebitrate:=(size*1048576/overhead-AudioFileSize*1.024)/duration*8/1000; //AudioFileSize in bytes
If you don't have time for math use RipBot264 v1.8.11 :)
jamos
1st March 2008, 01:56
Here's my formula which calculates bitrate for m2ts in bluray structure (TSRemux). Sorry for delay but I had to do additional tests.
if audiobitrate=196608 then multiplier:=1/(size*0.006975446)/100; //size in MB
if audiobitrate=229376 then multiplier:=1/(size*0.010146104)/100;
if audiobitrate=262144 then multiplier:=1/(size*0.008585165)/100;
if audiobitrate=393216 then multiplier:=1/(size*0.007971939)/100;
if audiobitrate=458752 then multiplier:=1/(size*0.010146104)/100;
if audiobitrate=655360 then multiplier:=1/(size*0.006975446)/100; //655360 = 640kbps * 1024
if audiobitrate=0 then overhead:=1.074 else overhead:=1+(duration*multiplier+4.34)/100; //Duration in seconds , overhead is constant if you mux without audio
if copyaudiostream=0 then calculatebitrate:=(size*1048576/overhead/duration*8-audiobitrate)/1000;
if copyaudiostream=1 then calculatebitrate:=(size*1048576/overhead-AudioFileSize*1.024)/duration*8/1000; //AudioFileSize in bytes
If you don't have time for math use RipBot264 v1.8.11 :)
Thanks Atak, I will look into ripbot for calculating size. currently I use bincsoft bitrate calculator it works good accounting for audio bitrate and I just add 6 min. to the end time of the movie to make sure i do not go over.
MovieRipper
1st March 2008, 21:41
that is so close to the start it probably looked in sync as withen a second your not going to notice out of sync issues, but if you were to say go 1 more hour into the movie you probably would really notice it. If I were you i would still follow putting a offset in.
Thnx for the advice. Would've done so anyway. Reason why I didn't do so the first time was cause I'm lazy and was pretty hasitated to try the method out :)
@Atak_Snajpera: thnx for the formula.
Sagittaire
2nd March 2008, 10:42
1) Well in fact the max multiplexing bitrate for BD9 with Scenarist HDMV is ~26 Mbps ... ?
2) If you want make synchro with xml subtiltles from SubtitleWorkshop4 you must set offset at the first subtitles time. Anyway SubtitleWorkshop4 don't work correctly at this time. It's very difficult (possible but difficult) to make BDN xml subtitles with open source at this time.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.