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.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th April 2009, 16:15   #1  |  Link
Genki
Registered User
 
Join Date: Sep 2005
Posts: 15
Research :x264 patched version with multi-slicing + hrd

Hello,

I'm trying to encode video for Scenarist, but I've some problem with multi-slices and MUI Generator import.

I looked a lot of thread talking about this problem and I saw apparently it exist a version of x264 including the patch for multi-slicing (+ hdr).

I'm looking for this version, does someone have it and could send it to me or tell me where I can find it ?

Thank you very much for your help
Genki is offline   Reply With Quote
Old 7th April 2009, 10:19   #2  |  Link
tal.aloni
Registered User
 
Join Date: Sep 2008
Posts: 496
1. be more specific, what error message do you get? which scenarist version?
2. try running your stream through h264info (v25 alpha), uncheck all checkboxes, this is how I'm getting Scenarist Workgroup Blu-Ray Authoring 4.2 to work.

Tal
tal.aloni is offline   Reply With Quote
Old 9th April 2009, 06:43   #3  |  Link
Genki
Registered User
 
Join Date: Sep 2005
Posts: 15
Hello,
Thank for your answer, I solve my problem using MUI Generator 4.5 instead 5.0.
Genki is offline   Reply With Quote
Old 15th May 2009, 06:38   #4  |  Link
davey1
Registered User
 
Join Date: May 2009
Posts: 1
The message is.

Error : The picture is not encoded as multi-slice picture with 4 or more slices per picture in case of Level 4.1.(Slice:1)

The latest versions of Scenarist (5.0 up) will not import Level 4.1 unless it meets BD spec. It will import .ves files created with earlier versions MUI generator(below 5.0), but I believe you have to completely uninstall Scenarist to install an earlier version. Are there any plans to add picture multi-slice to X.264?
davey1 is offline   Reply With Quote
Old 15th May 2009, 12:36   #5  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
I guess r606 was the last version of x264 where multi-slicing was available.

Multi-slicing has been dropped in x264 since then and I would welcome its return
for Sony DVD-A 5.0 or DVDitHD 6.4 (Sonic) compliance.

But development has gone a different way.

I feel that Sony and Sonic's demand for multi-sliced encodes
has something to do with forcing users into their expensive encoders which supply these streams,
not necessarily with a better picture quality in prospect.

Multi-slicing won't help picture quality I feel. (I may be wrong,though...)

Better Sony and Sonic lift their unnecessary blockage.
They use terms like "Only professional (meaning "Our") encoders provide professional quality"

and I tend to doubt that, seeing x264 refinement. ;-)
Emulgator is online now   Reply With Quote
Old 15th May 2009, 12:38   #6  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by Emulgator View Post
Multi-slicing won't help picture quality I feel. (I may be wrong,though...)
Of course not, it will only reduce it.

I may add slicing back to x264 when ffmpeg-mt is merged to trunk ffmpeg.
Dark Shikari is offline   Reply With Quote
Old 15th May 2009, 12:53   #7  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Quote:
I may add slicing back to x264 when ffmpeg-mt is merged to trunk ffmpeg.
Very happy to hear that, Dark Shikari.

Maybe my DVD-A and DVDitHD, (sitting almost H264-unused since purchase)
will happily be revived.
Emulgator is online now   Reply With Quote
Old 15th May 2009, 15:04   #8  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Emulgator - DVD Architect 5 doesn't require slicing for pass through, just encode to raw avc with compatible blu-ray setttings using x264.
poisondeathray is offline   Reply With Quote
Old 16th May 2009, 11:19   #9  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Hi poisondeathray !
I had no success with DVD-A 5.0a Build 173 until a few weeks ago,
but certainly would be happy if you could share some of your successful settings.
Emulgator is online now   Reply With Quote
Old 16th May 2009, 16:32   #10  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
You need need the nal-hrd patched build, with correct vbv settings, and encoded to raw avc (no container). MeGUI comes with the patched build and presets, and it seems to pass through fine (no re-encoding)

Another option is to use h264info to process the stream, but apparently it changes some things in the stream (that I don't understand, so I prefer option #1)

see for more info:
http://forum.doom9.org/showthread.php?t=146199

DVD-A won't "see" a raw streams when importing , so select "all files" from the drop down menu to "see" it
poisondeathray is offline   Reply With Quote
Old 16th May 2009, 16:46   #11  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,545
Thank you, especially for the link, I will report back.
Emulgator is online now   Reply With Quote
Old 1st September 2009, 08:50   #12  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Yesterday Multi-slicing was added. When the nal-hrd patch is adapted for this addition, x264 should now be able to generate BD-compliant streams as i understand. (or does the MUI generator not need to have nal-hrd units in the stream, only slices ?)

Anyway: Is anyone that has access to Scenarist BD able to try the new x264 builds ? Would be very very nice to be able to use x264 for BD project, in stead of other encoders (that often produce streams of less quality).

http://forum.doom9.org/showthread.ph...74#post1320574

Quote:
Multi-slice encoding support
Slicing support is available through three methods (which can be mixed):
--slices sets a number of slices per frame and ensures rectangular slices (required for Blu-ray). Overridden by either of the following options:
--slice-max-mbs sets a maximum number of macroblocks per slice.
--slice-max-size sets a maximum slice size, in bytes (includes NAL overhead).
Implement macroblock re-encoding support to allow highly accurate slice size limitation. Might be useful for other things in the future, too.

Last edited by G_M_C; 1st September 2009 at 09:26.
G_M_C is offline   Reply With Quote
Old 1st September 2009, 11:35   #13  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
I generate short stream (5000 frames) which passed sucessfully tought MUI generator (scenarist bd 5.1), but i not compile project yet.

Last edited by shon3i; 1st September 2009 at 11:41.
shon3i is offline   Reply With Quote
Old 1st September 2009, 11:50   #14  |  Link
G_M_C
Registered User
 
Join Date: Feb 2006
Posts: 1,076
Quote:
Originally Posted by shon3i View Post
I generate short stream (5000 frames) which passed sucessfully tought MUI generator (scenarist bd 5.1), but i not compile project yet.
Thats good news, did you need to use --nal-hrd, or did it work OK without ?
G_M_C is offline   Reply With Quote
Old 1st September 2009, 12:26   #15  |  Link
shon3i
BluRay Maniac
 
shon3i's Avatar
 
Join Date: Dec 2005
Posts: 2,419
I encode without --nal-hrd but i run stream tought lastest H264Info. Aslo tsmuxer can be used to insert HRD.
shon3i is offline   Reply With Quote
Old 1st September 2009, 13:02   #16  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
while at it, what values for slices/slice-max-mbs/slice-max-size are needed/recommend to get blu-ray compatibility?

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 1st September 2009, 13:25   #17  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,844
Quote:
Originally Posted by Selur View Post
while at it, what values for slices/slice-max-mbs/slice-max-size are needed/recommend to get blu-ray compatibility?

Cu Selur
--slices 4

I don't think you should touch the max-size and mbs ones, unless you really need to (correct me if I'm wrong, someone). Also keep in mind that you can do just fine without slices if you choose L4.0 for BD. L4.1 requires slices, though I'd add slices even for L4.0 just to be on the safe side
__________________
ffx264 || ffhevc || ffxvid || microenc

Last edited by microchip8; 1st September 2009 at 13:28.
microchip8 is offline   Reply With Quote
Old 1st September 2009, 13:33   #18  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by shon3i View Post
I encode without --nal-hrd but i run stream tought lastest H264Info. Aslo tsmuxer can be used to insert HRD.
tsMuxeR assumes a certain --vbv-bufsize and --vbv-maxrate when applying NAL HRD. I would wait for the updated NAL HRD patch.

EDIT: I see you are the one I got this information from .

http://forum.doom9.org/showthread.ph...34#post1312934

Last edited by rack04; 1st September 2009 at 13:36.
rack04 is offline   Reply With Quote
Old 1st September 2009, 17:04   #19  |  Link
moviefan
Registered User
 
Join Date: Jul 2005
Posts: 438
If tsMuxer assumes certain VBV values, how can I then mux a .264 stream that contains already the NAL HRD information? Does tsMuxer recognize it and simply leave it as it is?
moviefan is offline   Reply With Quote
Old 1st September 2009, 17:11   #20  |  Link
rack04
Registered User
 
Join Date: Mar 2006
Posts: 1,538
Quote:
Originally Posted by moviefan View Post
If tsMuxer assumes certain VBV values, how can I then mux a .264 stream that contains already the NAL HRD information? Does tsMuxer recognize it and simply leave it as it is?
I don't believe so. In my tests it adds "on top". You can use VBVChecker 1.5. I don't have a license on laptop of else I would test.

EDIT: Here is a post I made that illustrates this point.

Last edited by rack04; 1st September 2009 at 17:18.
rack04 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.