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. |
26th September 2018, 16:50 | #401 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
|
Quote:
Are you getting the errors playing on a disc or via USB? As a .ts or a full BD disc image? If it’s BD-R, it’s possible you might have have a burn/media issue. |
|
27th September 2018, 08:50 | #402 | Link | |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
Quote:
I saw jerking movements/stuttering mainly on panning with "still text" on it (so, generally opening/endings). If that's the case, there's a solution, but not with x264 (create a stream with a mixture of soft and hard pulldown). Last edited by mp3dom; 27th September 2018 at 08:53. |
|
29th September 2018, 01:06 | #403 | Link |
Registered User
Join Date: Aug 2018
Posts: 5
|
@ benwaggoner: We always test via BD-R, but we tried multiple burns on multiple players, and got problems in the same general spot of the program. I also doubt it was an I/O issue because the stream that was playing back was NTSC SD with AC3 audio, so the total bitrate was no more than 5500 kbps.
@ mp3dom: This wasn't an interlaced/progressive issue. In fact, it wasn't happening for the entire stream, but randomly in localized parts of the video, for example, within the same minute. The stuttering was unlike anything I'd ever seen before -- we'd get dropped frames and dropped audio, but seldom at the same time, and although it would stutter in the same general area, it wouldn't be in exactly the same frames each time we played it back. We tried with multiple burns on multiple PS4s, and had the same issues in the same general parts of playback. Here's some cell phone video my QC guy took, sorry for the low quality: https://www.dropbox.com/s/emrxio2p5v..._5434.MOV?dl=0 I had the Scenarist team take a look, since I initially thought this was a mux problem with their new v8 release, and they were able to reproduce the problem, but had no idea what was causing it. PS3 had some minor hiccups on those discs (same general spot, similar issue), but PS4 was unwatchable. Re-encoding the video with standard x264 fixed everything. Unfortunately I don't have the ability to keep trying this, so I'll have to give up on ffmpeg for now. I suspect that SOME essential BD-compliant flag isn't getting passed correctly to x264lib, or isn't implemented in that iteration of x264. Last edited by WorldOfCrap; 29th September 2018 at 01:12. |
29th September 2018, 14:15 | #404 | Link |
Registered User
Join Date: Jul 2003
Location: Italy
Posts: 1,135
|
Well... the only stuttering I can see from your video is the one on the onscreen text... and it's exactly what I told you before (text from the OP/ED). The very fine/razor text details (especially the razor horizontal border of the text) is making the player go crazy and get fooled because, with its own routines, it still try to output a 60p stream but using the wrong field matching.
You can overcome the problem simply encoding OP/ED with hard-pulldown and the rest with soft-pulldown. This problem happens using other encoders too, and with other players as well... so it's not a direct x264/PS3-4 problem. Last edited by mp3dom; 29th September 2018 at 14:31. |
30th September 2018, 23:48 | #405 | Link |
Registered User
Join Date: Aug 2018
Posts: 5
|
Yeah, not what I was referring to -- I'm aware that there was some interlacing issues there. It's more like full-on drop-outs where the video stops for a good half-second while the audio keeps going, or the audio drops for a half-second or so while the video keeps going. (I'm not sure if that clip captured an incident where the video was affected, but it sure got several incidents with the audio, which was just fine. Again, this cleared after re-encoding the video.)
|
18th August 2019, 02:13 | #410 | Link | |
Registered User
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 72
|
First of all, I am not "Authoring" a Blu-ray Disc with x264. The disc will be a data disc of just 10 video files. There will be no BDMV, CLIPINF, PLAYLIST OR STREAM FOLDERS. The videos will be in the root directory on the Blu-ray disc.
Is this still OK to encode with x264? 1080p at 25 fps: x264 --bitrate XXXXX --preset veryslow --tune film --bluray-compat --vbv-maxrate 40000 --vbv-bufsize 30000 --level 4.1 --keyint 25 --open-gop --slices 4 --fake-interlaced --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --sar 1:1 --pass 2 -o out.mkv input.mov From the first page of this thread: Quote:
|
|
19th August 2019, 07:23 | #412 | Link |
Registered User
Join Date: Jun 2011
Location: Melbourne, Australia
Posts: 72
|
Thank you. That is good news.
The videos to be burnt onto the discs are actually from a camcorder. MediaInfo state they are all progressive. Do I have to use the --fake-interlaced option? Looking at these files from the video camera, MediaInfo also displays --colorprim, --transfer and --colormatrix as "bt709". Do I still need to include those options? My guess is that x264 will copy them anyway. The discs would be played on current to maybe 9 year old Blu-ray players. |
19th August 2019, 08:08 | #413 | Link |
Registered User
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,407
|
You do need to include those options, x264 will not copy them.
No need for --fake-interlaced.
__________________
madVR options explained |
17th February 2021, 17:45 | #414 | Link |
Registered User
Join Date: Jan 2003
Posts: 62
|
What is Min GOP size - min keyint for Blu Ray compliant
I was reading trough many different posts on various forums, still did to find a definitive answer on what is recommended by Blu Ray specs Min GOP size (encoding with X264, H264), what min keyint value has to be set to have Blu Ray compliant encoded file?
I know that the Max GOP has to match the bitrate for 4.1 level, hence keint = 60 for 59.94fps video. But the Min size is a mystery. I am leaning towards min keyint = 1. But found other recommendations: min keyint = 2 min keyint = 0 min keyint = 1 min keyint = fps/2 min keyint = fps/2 + 1 But what is actual value is described by Blu Ray specs, if it is described? Looking for your comments/advise. |
17th February 2021, 19:54 | #415 | Link | ||
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,771
|
Quote:
Quote:
|
||
17th February 2021, 22:15 | #416 | Link |
Registered User
Join Date: Jul 2007
Posts: 552
|
Code:
if( h->param.b_bluray_compat ) { h->param.i_bframe_pyramid = X264_MIN( X264_B_PYRAMID_STRICT, h->param.i_bframe_pyramid ); h->param.i_bframe = X264_MIN( h->param.i_bframe, 3 ); h->param.b_aud = 1; h->param.i_nal_hrd = X264_MAX( h->param.i_nal_hrd, X264_NAL_HRD_VBR ); h->param.i_slice_max_size = 0; h->param.i_slice_max_mbs = 0; h->param.b_intra_refresh = 0; h->param.i_frame_reference = X264_MIN( h->param.i_frame_reference, 6 ); h->param.i_dpb_size = X264_MIN( h->param.i_dpb_size, 6 ); /* Don't use I-frames, because Blu-ray treats them the same as IDR. */ h->param.i_keyint_min = 1; /* Due to the proliferation of broken players that don't handle dupes properly. */ h->param.analyse.i_weighted_pred = X264_MIN( h->param.analyse.i_weighted_pred, X264_WEIGHTP_SIMPLE ); if( h->param.b_fake_interlaced ) h->param.b_pic_struct = 1; } Commit from 2012. Last edited by MasterNobody; 17th February 2021 at 22:20. |
|
|