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. |
![]() |
#1 | Link |
Registered User
Join Date: Jan 2010
Posts: 49
|
x264 encoding and Bluray Burning
Hi all, I have a video, an MXF container with 1 mpeg2 4:2:2 1080i video and 8 linear PCM audio streams.
I want to make a Bluray Disc with the video stream and one audio stream. I made a conversion of the audio stream from PCM to AC3 640kbps with eac3to. After that I encoded the mpeg2 video (demuxed to an m2v the only video stream and then create an avisynth script) with meGUI and x264. So I have a RAWAVC video.264 1080i and an audio.ac3 (2 channels, L R, 640 kbps). Now, to burn it on a BRD playable by every Bluray player, I muxed audio and video with M2TS Muxer tool from MeGUI and after that, with TsMuxer, i created the BDMV structure with the m2ts file I created before, than burned to a BluRay Disc with Nero 10. Now, what happens if I try to play this disc with a BRD Player? With Oppo BDP-83 I cannot see anything but an error message saying "unknown disc". With Pioneer BDP-V6000 I can see nothing if I set 1080p output (I know it's a 1080i but the other BRD 1080i can still be played with 1080p output) and on some monitors I see a strange video with 1080i output (the video seems to be stuttering every 2 seconds even if i work at 50Hz and the video is 25fps) and on other monitors i see a regular 1080i video. Can someone help me? My goal is to burn a BRD playable without issues by avery BRD Player on every FullHD TV/monitor. |
![]() |
![]() |
![]() |
#2 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,978
|
Post the avisynth script and x264 command you used to encode the elementary stream.
A sample from your source couldn't hurt either. ~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#3 | Link |
Registered User
Join Date: Feb 2006
Posts: 1,076
|
Just off the top of my head; Isn't 1080i Mpeg2 also part of the BD-specs ?? Couldn't you simply transmux the whole stream into a Bluray ?
(LPCM is part of the BD spec also). My first try would be to simply transmux the whole thing into M2TS'es / a Blu-ray project. |
![]() |
![]() |
![]() |
#6 | Link | |
Registered User
Join Date: Sep 2009
Posts: 83
|
Quote:
Can you try to burn the resulting BDMV and CERTIFICATE folders to the BD-RE using ImgBurn? just make sure the file system is UDF 2.50 or 2.60 and that "Preserve Full Pathnames" is unchecked and "Recurse Subdirectories" is checked. You can get it free at www.imgburn.com in case you didn't know. |
|
![]() |
![]() |
![]() |
#7 | Link | |
Registered User
Join Date: Jan 2010
Posts: 49
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | Link |
Registered User
Join Date: Jan 2010
Posts: 49
|
AVS script:
Code:
LoadPlugin("C:\Programmi\megui\tools\dgindex\DGDecode.dll") DGDecode_mpeg2source("D:\ffmpeg\video_demuxed.d2v", info=3) LoadPlugin("C:\Programmi\megui\tools\avisynth_plugin\ColorMatrix.dll") ColorMatrix(hints=true, threads=0) ConvertToYV12() Code:
program --level 4.1 --pass 2 --bitrate 15000 --stats ".stats" --threads 6 --deblock -3:-3 --interlaced --ref 4 --vbv-maxrate 2500 --me umh --partitions all --no-fast-pskip --aud --nal-hrd vbr --output "output" "input" |
![]() |
![]() |
![]() |
#9 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,978
|
Your x264 command looks a little wonky.
You specify 2 pass mode with a bitrate of 15mbps. Then you set maxrate to 2.5mbps. This doesn't make sense ![]() Also, in you avisynth script, you should add interlaced=true to ConvertToYV12. As-is, you're assuming progressive content, which will bork up your chroma ![]()
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#11 | Link |
Derek Prestegard IRL
![]() Join Date: Nov 2003
Location: Los Angeles
Posts: 5,978
|
You need to set a bufsize value for nal-hrd to work correctly, all of which is required for BluRay compliance.
~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
![]() |
![]() |
![]() |
#13 | Link |
Registered User
Join Date: Jan 2010
Posts: 49
|
OK now my avs script look like this:
Code:
LoadPlugin("C:\Programmi\megui\tools\dgindex\DGDecode.dll") DGDecode_mpeg2source("D:\ffmpeg\video_demuxed.d2v", info=3) LoadPlugin("C:\Programmi\megui\tools\avisynth_plugin\ColorMatrix.dll") ColorMatrix(hints=true, threads=0) ConvertToYV12(interlaced=true) Code:
program --level 4.1 --pass 2 --bitrate 15000 --stats ".stats" --threads 6 --deblock -3:-3 --keyint 24 --min-keyint 2 --b-pyramid none --interlaced --ref 4 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 25000 --me umh --partitions all --no-fast-pskip --aud --nal-hrd vbr --output "output" "input" Please, let me know if i did something wrong. Thank you very much, Santa. |
![]() |
![]() |
![]() |
#16 | Link |
Registered User
Join Date: Jan 2010
Posts: 49
|
It works now on Pioneer BDP-V6000 but Oppo BDP-83 says "Unknown Disc" again.
One strange thing is that I set interlaced both on avs script (as you can see above) and in x264 command line but if I check the encoded movie with mediainfo, I cannot see "Interlaced" but MBAFF: Code:
General ID : 1 Complete name : D:\bluray\BDMV\STREAM\00000.m2ts Format : BDAV Format/Info : Blu-ray Video File size : 6.20 GiB Duration : 54mn 8s Overall bit rate : 16.4 Mbps Maximum Overall bit rate : 35.5 Mbps Video ID : 4113 (0x1011) Menu ID : 1 (0x1) Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Duration : 54mn 8s Bit rate mode : Variable Bit rate : 15.1 Mbps Nominal bit rate : 15.0 Mbps Maximum bit rate : 25.0 Mbps Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 25.000 fps Resolution : 8 bits Colorimetry : 4:2:0 Scan type : MBAFF Bits/(Pixel*Frame) : 0.291 Stream size : 5.70 GiB (92%) Writing library : x264 core 94 r1564 a927654 Encoding settings : cabac=1 / ref=4 / deblock=1:-3:-3 / analyse=0x3:0x133 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / slices=4 / nr=0 / decimate=1 / interlaced=tff / constrained_intra=0 / bframes=3 / b_pyramid=0 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / wpredp=0 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=2pass / mbtree=1 / bitrate=15000 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=25000 / vbv_bufsize=30000 / ip_ratio=1.40 / aq=1:1.00 / nal_hrd=vbr Audio ID : 4352 (0x1100) Menu ID : 1 (0x1) Format : AC-3 Format/Info : Audio Coding 3 Format_Settings_ModeExtension : CM (complete main) Duration : 54mn 8s Bit rate mode : Constant Bit rate : 640 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Stream size : 248 MiB (4%) Language : Italian / / |
![]() |
![]() |
![]() |
#20 | Link | ||
Registered User
Join Date: Mar 2005
Location: Finland
Posts: 2,642
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|