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. |
27th December 2006, 19:10 | #61 | Link | |
Testeur de codecs
Join Date: May 2003
Location: France
Posts: 2,484
|
Quote:
It's like say "I am not interested in DVD or any other application that adds requirements beyond the MPEG2 standard for no good reason" Actually all the MPEG2 encoder without DVD compliant support are completely useless. Tomorrow all the AVC encoder without HDDVD/BD compliant support will be completely useless ...
__________________
Le Sagittaire ... ;-) 1- Ateme AVC or x264 2- VP7 or RV10 only for anime 3- XviD, DivX or WMV9 |
|
27th December 2006, 19:40 | #62 | Link |
Registered User
Join Date: Nov 2001
Posts: 9,770
|
in the end we simply need an avc stream that is hddvd compliant and analyse it in detail
i till now didnt see such a stream
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau) I know, that I know nothing (Socrates) MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide) Ogg Theora | Ogg Vorbis use WM9 today and get Micro$oft controlling the A/V market tomorrow for free |
27th December 2006, 19:41 | #63 | Link | |
Registered User
Join Date: Jan 2002
Location: France
Posts: 2,856
|
Trying to second guess Loren : you want it, do it yourself, and he'll commit it.
Adding HDDVD support to x264 is boring, dull, and technically potentially illegal(yet) since the specifications don't seem to be public. There are much more interesting things to do in x264 than that ( for one, interlacing support ( half ironic *cough* ) ). Personnal motivation is still the principal incentive when coding for open source software. Anyway, Loren must feel a bit lonely lately, so if somebody who was actually interested in HD DVD were to add such a fonctionnality, I think he'd be more than welcome. Quote:
__________________
|
|
27th December 2006, 21:40 | #64 | Link | |
Registered User
Join Date: Mar 2002
Location: kitchen
Posts: 146
|
Quote:
http://forum.doom9.org/showthread.php?t=119871 and demux streams with HD DVD Demuxer http://dvd-logic.com/hddemuxer.htm |
|
27th December 2006, 22:39 | #65 | Link |
Registered User
Join Date: Apr 2003
Posts: 92
|
I will post a short hd-dvd image made with an avc for all to enjoy.
The following is a sample video file and an authored disc using it. It was encoded with mainconcept H264 encoder version 2.1 and sonic scenarist 4. It is 1920x1080i encoded as interlaced. http://download.yousendit.com/6F2F833F3F48859A Only 100 downloads so don't send it around kthnx. Last edited by chadamir; 27th December 2006 at 23:00. |
27th December 2006, 23:36 | #66 | Link |
Registered User
Join Date: Apr 2003
Posts: 92
|
Using Inlet semaphore I've gotten the header. I'll now encode the same file using x264 at 4.1 profile and see how it differs
Summary Source file : C:\Target\Untitled\0\emotion1.mpv Width : 1920 Height : 1088 Frame rate : 59.9402 fps FourCC : Total frames : 0 File duration : 00:00:00:00 File bit rate : 0 bps Video bit rate : 0 bps Encode : CBR Target bit rate : 8,000,000 bps Buffer window : 2500 ms Max key frame : 0 ms Min quant : 0 Max quant : 0 Sequence Parameter Set Field Value Description profile_idc 100 High Profile constraint_set0_flag 0 constraint_set1_flag 0 constraint_set2_flag 0 constraint_set3_flag 0 reserved_zero_4bits 0 level_idc 41 Level 4.1 seq_parameter_set_id 0 chroma_format_idc 1 bit_depth_luma_minus8 0 bit_depth_chroma_minus8 0 lossless_qpprime_y_zero_flag 0 seq_scaling_matrix_present_flag 0 log2_max_frame_num_minus4 4 pic_order_cnt_type 0 ...log2_max_pic_order_cnt_lsb_minus4 4 num_ref_frames 4 Maximum number of reference frames for inter-prediction gaps_in_frame_num_value_allowed_flag 0 pic_width_in_mbs_minus1 119 (1920) pic_height_in_map_units_minus1 33 (544) frame_mbs_only_flag 0 Frame or field macroblocks ...mb_adaptive_frame_field_flag 0 direct_8x8_inference_flag 1 frame_cropping_flag 1 ...frame_crop_left_offset 0 ...frame_crop_right_offset 0 ...frame_crop_top_offset 0 ...frame_crop_bottom_offset 2 (8) vui_parameters_present_flag 1 ...aspect_ratio_info_present_flag 1 .......aspect_ratio_idc 1 1:1 ...overscan_info_present_flag 0 ...video_signal_type_present_flag 1 .......video_format 2 NTSC .......video_full_range_flag 0 luma/chroma range = 219/224 .......colour_description_present_flag 1 ...........colour_primaries 1 ITU-R BT.709 ...........transfer_characteristics 1 ITU-R BT.709 ...........matrix_coefficients 1 ITU-R BT.709 ...chroma_loc_info_present_flag 0 ...timing_info_present_flag 1 .......num_units_in_tick 1001 .......time_scale 60000 .......fixed_frame_rate_flag 1 ...nal_hrd_parameters_present_flag 1 .......cpb_cnt_minus1 0 .......bit_rate_scale 1 .......cpb_size_scale 3 .......bit_rate_value_minus1 1 62499 (8000000 bits/sec) .......cpb_size_value_minus1 1 43399 (5555200 bits) .......cbr_flag 1 0 .......initial_cpb_removal_delay_length_minus1 31 .......cpb_removal_delay_length_minus1 17 .......dpb_output_delay_length_minus1 17 .......time_offset_length 24 ...vcl_hrd_parameters_present_flag 0 ...low_delay_hrd_flag 0 ...pic_struct_present_flag 1 ...bitstream_restriction_flag 1 .......motion_vectors_over_pic_boundaries_flag 1 Motion vectors may exceed picture boundary .......max_bytes_per_pic_denom 0 .......max_bits_per_mb_denom 0 .......log2_max_mv_length_horizontal 10 +/- 256 .......log2_max_mv_length_vertical 10 +/- 256 .......num_reorder_frames 1 .......max_dec_frame_buffering 4 Maximum frame decode buffers required Edit: The same file then demuxed from the EVO and put through semaphore Source file : C:\0\VTS_001\Titles\t001_v001c001.m4v Width : 1920 Height : 1088 Frame rate : 59.9402 fps FourCC : Total frames : 0 File duration : 00:00:00:00 File bit rate : 0 bps Video bit rate : 0 bps Encode : CBR Target bit rate : 8,000,000 bps Buffer window : 2500 ms Max key frame : 0 ms Min quant : 0 Max quant : 0 Sequence Parameter Set Field Value Description profile_idc 100 High Profile constraint_set0_flag 0 constraint_set1_flag 0 constraint_set2_flag 0 constraint_set3_flag 0 reserved_zero_4bits 0 level_idc 41 Level 4.1 seq_parameter_set_id 0 chroma_format_idc 1 bit_depth_luma_minus8 0 bit_depth_chroma_minus8 0 lossless_qpprime_y_zero_flag 0 seq_scaling_matrix_present_flag 0 log2_max_frame_num_minus4 4 pic_order_cnt_type 0 ...log2_max_pic_order_cnt_lsb_minus4 4 num_ref_frames 4 Maximum number of reference frames for inter-prediction gaps_in_frame_num_value_allowed_flag 0 pic_width_in_mbs_minus1 119 (1920) pic_height_in_map_units_minus1 33 (544) frame_mbs_only_flag 0 Frame or field macroblocks ...mb_adaptive_frame_field_flag 0 direct_8x8_inference_flag 1 frame_cropping_flag 1 ...frame_crop_left_offset 0 ...frame_crop_right_offset 0 ...frame_crop_top_offset 0 ...frame_crop_bottom_offset 2 (8) vui_parameters_present_flag 1 ...aspect_ratio_info_present_flag 1 .......aspect_ratio_idc 1 1:1 ...overscan_info_present_flag 0 ...video_signal_type_present_flag 1 .......video_format 2 NTSC .......video_full_range_flag 0 luma/chroma range = 219/224 .......colour_description_present_flag 1 ...........colour_primaries 1 ITU-R BT.709 ...........transfer_characteristics 1 ITU-R BT.709 ...........matrix_coefficients 1 ITU-R BT.709 ...chroma_loc_info_present_flag 0 ...timing_info_present_flag 1 .......num_units_in_tick 1001 .......time_scale 60000 .......fixed_frame_rate_flag 1 ...nal_hrd_parameters_present_flag 1 .......cpb_cnt_minus1 0 .......bit_rate_scale 1 .......cpb_size_scale 3 .......bit_rate_value_minus1 1 62499 (8000000 bits/sec) .......cpb_size_value_minus1 1 43399 (5555200 bits) .......cbr_flag 1 0 .......initial_cpb_removal_delay_length_minus1 31 .......cpb_removal_delay_length_minus1 17 .......dpb_output_delay_length_minus1 17 .......time_offset_length 24 ...vcl_hrd_parameters_present_flag 0 ...low_delay_hrd_flag 0 ...pic_struct_present_flag 1 ...bitstream_restriction_flag 1 .......motion_vectors_over_pic_boundaries_flag 1 Motion vectors may exceed picture boundary .......max_bytes_per_pic_denom 0 .......max_bits_per_mb_denom 0 .......log2_max_mv_length_horizontal 10 +/- 256 .......log2_max_mv_length_vertical 10 +/- 256 .......num_reorder_frames 1 .......max_dec_frame_buffering 4 Maximum frame decode buffers required |
28th December 2006, 00:21 | #67 | Link |
Registered User
Join Date: Apr 2003
Posts: 92
|
--pass 2 --bitrate 8000 --stats ".stats" --level 4.1 --ref 4 --bframes 2 --no-b-adapt --direct temporal --analyse p8x8,b8x8,i4x4 --vbv-maxrate 768 --threads auto --thread-input --progress --no-psnr --no-ssim --interlaced --output "C:\Documents and Settings\Chad\Desktop\x264header2.264" "C:\Documents and Settings\Chad\Desktop\x264header.avs"
Source file : C:\Documents and Settings\Chad\Desktop\x264header2.264 Width : 1920 Height : 1088 Frame rate : 59.9402 fps FourCC : Total frames : 249 File duration : 00:00:04:08 File bit rate : 31,670,915 bps Video bit rate : 17,685,959 bps Encode : CBR Target bit rate : 4,000,000 bps Buffer window : 2500 ms Max key frame : 0 ms Min quant : 17 Max quant : 27 Sequence Parameter Set Field Value Description profile_idc 77 Main Profile constraint_set0_flag 0 constraint_set1_flag 1 Main profile constraints (clause A.2.2) constraint_set2_flag 0 constraint_set3_flag 0 reserved_zero_4bits 0 level_idc 41 Level 4.1 seq_parameter_set_id 0 log2_max_frame_num_minus4 5 pic_order_cnt_type 0 ...log2_max_pic_order_cnt_lsb_minus4 6 num_ref_frames 5 Maximum number of reference frames for inter-prediction gaps_in_frame_num_value_allowed_flag 0 pic_width_in_mbs_minus1 119 (1920) pic_height_in_map_units_minus1 33 (544) frame_mbs_only_flag 0 Frame or field macroblocks ...mb_adaptive_frame_field_flag 1 direct_8x8_inference_flag 1 frame_cropping_flag 1 ...frame_crop_left_offset 0 ...frame_crop_right_offset 0 ...frame_crop_top_offset 0 ...frame_crop_bottom_offset 2 (8) vui_parameters_present_flag 1 ...aspect_ratio_info_present_flag 0 ...overscan_info_present_flag 0 ...video_signal_type_present_flag 0 ...chroma_loc_info_present_flag 0 ...timing_info_present_flag 1 .......num_units_in_tick 1001 .......time_scale 60000 .......fixed_frame_rate_flag 1 ...nal_hrd_parameters_present_flag 0 ...vcl_hrd_parameters_present_flag 0 ...pic_struct_present_flag 0 ...bitstream_restriction_flag 1 .......motion_vectors_over_pic_boundaries_flag 1 Motion vectors may exceed picture boundary .......max_bytes_per_pic_denom 0 .......max_bits_per_mb_denom 0 .......log2_max_mv_length_horizontal 11 +/- 512 .......log2_max_mv_length_vertical 11 +/- 512 .......num_reorder_frames 1 .......max_dec_frame_buffering 5 Maximum frame decode buffers required There are some discrepancies between my settings and the header. I ended up with 5 reference frames instead of 4. And I chose high profile in megui. Also there's all the header info that's simply not there. |
28th December 2006, 15:35 | #68 | Link |
Registered User
Join Date: Apr 2003
Posts: 92
|
HD-DVD profile from megui
Sequence Parameter Set Field Value Description profile_idc 77 Main Profile constraint_set0_flag 0 constraint_set1_flag 1 Main profile constraints (clause A.2.2) constraint_set2_flag 0 constraint_set3_flag 0 reserved_zero_4bits 0 level_idc 41 Level 4.1 seq_parameter_set_id 0 log2_max_frame_num_minus4 5 pic_order_cnt_type 0 ...log2_max_pic_order_cnt_lsb_minus4 6 num_ref_frames 5 Maximum number of reference frames for inter-prediction gaps_in_frame_num_value_allowed_flag 0 pic_width_in_mbs_minus1 119 (1920) pic_height_in_map_units_minus1 33 (544) frame_mbs_only_flag 0 Frame or field macroblocks ...mb_adaptive_frame_field_flag 1 direct_8x8_inference_flag 1 frame_cropping_flag 1 ...frame_crop_left_offset 0 ...frame_crop_right_offset 0 ...frame_crop_top_offset 0 ...frame_crop_bottom_offset 2 (8) vui_parameters_present_flag 1 ...aspect_ratio_info_present_flag 0 ...overscan_info_present_flag 0 ...video_signal_type_present_flag 0 ...chroma_loc_info_present_flag 0 ...timing_info_present_flag 1 .......num_units_in_tick 1001 .......time_scale 60000 .......fixed_frame_rate_flag 1 ...nal_hrd_parameters_present_flag 0 ...vcl_hrd_parameters_present_flag 0 ...pic_struct_present_flag 0 ...bitstream_restriction_flag 1 .......motion_vectors_over_pic_boundaries_flag 1 Motion vectors may exceed picture boundary .......max_bytes_per_pic_denom 0 .......max_bits_per_mb_denom 0 .......log2_max_mv_length_horizontal 11 +/- 512 .......log2_max_mv_length_vertical 11 +/- 512 .......num_reorder_frames 1 .......max_dec_frame_buffering 5 Maximum frame decode buffers required |
28th December 2006, 16:39 | #69 | Link |
Registered User
Join Date: Apr 2003
Posts: 92
|
Ok thanks to bond we got the header to this point
profile_idc 100 High Profile constraint_set0_flag 0 constraint_set1_flag 0 constraint_set2_flag 0 constraint_set3_flag 0 reserved_zero_4bits 0 level_idc 41 Level 4.1 seq_parameter_set_id 0 chroma_format_idc 1 bit_depth_luma_minus8 0 bit_depth_chroma_minus8 0 lossless_qpprime_y_zero_flag 0 seq_scaling_matrix_present_flag 0 log2_max_frame_num_minus4 1 pic_order_cnt_type 0 ...log2_max_pic_order_cnt_lsb_minus4 2 num_ref_frames 4 Maximum number of reference frames for inter-prediction gaps_in_frame_num_value_allowed_flag 0 pic_width_in_mbs_minus1 119 (1920) pic_height_in_map_units_minus1 67 (1088) frame_mbs_only_flag 1 Frame macroblocks only (no field) direct_8x8_inference_flag 1 frame_cropping_flag 1 ...frame_crop_left_offset 0 ...frame_crop_right_offset 0 ...frame_crop_top_offset 0 ...frame_crop_bottom_offset 4 (8) vui_parameters_present_flag 1 ...aspect_ratio_info_present_flag 1 .......aspect_ratio_idc 1 1:1 ...overscan_info_present_flag 0 ...video_signal_type_present_flag 1 .......video_format 2 NTSC .......video_full_range_flag 0 luma/chroma range = 219/224 .......colour_description_present_flag 1 ...........colour_primaries 1 ITU-R BT.709 ...........transfer_characteristics 1 ITU-R BT.709 ...........matrix_coefficients 1 ITU-R BT.709 ...chroma_loc_info_present_flag 0 ...timing_info_present_flag 1 .......num_units_in_tick 1001 .......time_scale 60000 .......fixed_frame_rate_flag 1 ...nal_hrd_parameters_present_flag 0 ...vcl_hrd_parameters_present_flag 0 ...pic_struct_present_flag 0 ...bitstream_restriction_flag 1 .......motion_vectors_over_pic_boundaries_flag 1 Motion vectors may exceed picture boundary .......max_bytes_per_pic_denom 0 .......max_bits_per_mb_denom 0 .......log2_max_mv_length_horizontal 11 +/- 512 .......log2_max_mv_length_vertical 11 +/- 512 .......num_reorder_frames 1 .......max_dec_frame_buffering 4 Maximum frame decode buffers required But no NAL HRD. |
28th December 2006, 18:41 | #70 | Link |
Turkey Machine
Join Date: Jan 2005
Location: Lowestoft, UK (but visit lots of places with bribes [beer])
Posts: 1,953
|
Tried that, didn't give what I wanted. Essentially, a better progress indicator is what I'd like, if that's not too much to ask. I'd do it myself, but my coding's non-existant (practically).
__________________
On Discworld it is clearly recognized that million-to-one chances happen 9 times out of 10. If the hero did not overcome huge odds, what would be the point? Terry Pratchett - The Science Of Discworld |
28th December 2006, 19:33 | #71 | Link | ||
x264 developer
Join Date: Sep 2004
Posts: 2,392
|
Quote:
So: If you determine that HDDVD needs some H.264 feature like maybe a specific SEI message or one of the optional fields in the SPS, then feel free to implement it and send a patch. But I will reject any application-specific kludges, just like I rejected magiK's PSP-mode patch. Quote:
x264 signals the lowest profile that allows all your enabled features. You can't select high profile without enabling some feature that needs high profile. Last edited by akupenguin; 28th December 2006 at 19:44. |
||
29th December 2006, 05:00 | #72 | Link |
Registered User
Join Date: Jan 2005
Posts: 191
|
For those who like patches I just got around to adding something small I've always thought was missing while encoding - total time on the progress indicator: patch
Also in the patch - up to 10'000 times per input file seems more enjoyable with negligible speed penalty (a second/hour or something). Last edited by hpn; 29th December 2006 at 05:06. |
29th December 2006, 05:39 | #73 | Link |
In bytes we trust
Join Date: Oct 2002
Location: Torres Beach, Brazil
Posts: 279
|
if someone need another hd-dvd compilant h.264 ES, go here:
http://forum.doom9.org/showthread.ph...921#post919921 Last edited by Malow; 29th December 2006 at 05:41. Reason: typo |
1st January 2007, 02:41 | #74 | Link | ||
Registered User
Join Date: Jan 2006
Posts: 101
|
came across this strange error, here's the output:
Quote:
Quote:
|
||
1st January 2007, 09:43 | #76 | Link |
Registered User
Join Date: Jan 2006
Posts: 294
|
Akupenguin, are you aware of the problem with direct B-frame modes and AQ or certain custom matrices? They can currently cause artifacts in some scenes unless the direct mode is set to "none".
Hopefully you can fix it, as disabling the direct B-frame modes wastes bitrate. |
1st January 2007, 16:35 | #78 | Link | |
Does it really matter?
Join Date: Jun 2004
Location: Chicago, IL
Posts: 1,542
|
Quote:
|
|
1st January 2007, 18:16 | #80 | Link | |
x264 developer
Join Date: Sep 2004
Posts: 2,392
|
Quote:
Artifacts related to cqm (assuming they're not a direct consequence of the matrix's frequency distribution) are probably due to the cqm deviating too far from the bitrate-per-qp values of the flat matrix. x264 makes some assumptions about the quality level of a given qp, and I'm not likely to work very hard at generalizing them for all cqms when you can always scale a cqm to match the flat matrix. (That and I'm not convinced that cqms are useful in the first place.) |
|
Tags |
coding, development, x264 dev |
Thread Tools | Search this Thread |
Display Modes | |
|
|