Selur's Little Message Board
Missing Half of Movie - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Missing Half of Movie (/thread-4077.html)



Missing Half of Movie - PizzaTime - 23.04.2025

Hello,

I am trying to re-encode/compress a movie for my plex server. When I ripped the Blu-ray using MKV, it ripped the whole video, as expected. But when I input it into Hybrid (2025.03.09.1), It seems to only extract about the first 40 minutes of the movie, as well as about 40 minutes of the subtitles. This is a weird one, and I didn't really come across anything similar in the forum. I encoded a different movie tonight using the same process and didn't have any issues. Not sure if the issue is with the disc. But if it is, why does MKV pull the whole video while Hybrid is only decoding about 40 minutes of it? Debug attached.


RE: Missing Half of Movie - Selur - 23.04.2025

MediaInfo reports:
Video
Count                                    : 391
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
ID in the original source medium         : 4113
ID in the original source medium         : 4113 (0x1011)
Unique ID                                : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Format settings, Slice count             : 4
Format settings, Slice count             : 4 slices per frame
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 6512422.583333
Duration                                 : 1 h 48 min
Duration                                 : 1 h 48 min 32 s 422 ms
Duration                                 : 1 h 48 min
Duration                                 : 01:48:32.422
Duration                                 : 01:48:25:22
Duration                                 : 01:48:32.422 (01:48:25:22)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 23940353
Bit rate                                 : 23.9 Mb/s
Maximum bit rate                         : 36000000
Maximum bit rate                         : 36.0 Mb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Stored_Height                            : 1088
Sampled_Width                            : 1920
Sampled_Height                           : 1080
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (24000/1001) FPS
FrameRate_Num                            : 24000
FrameRate_Den                            : 1001
Frame count                              : 156142
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.482
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay                                    : 00:00:00:00
Delay                                    : 00:00:00.000 (00:00:00:00)
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 19488710447
Stream size                              : 18.2 GiB (75%)
Stream size                              : 18 GiB
Stream size                              : 18 GiB
Stream size                              : 18.2 GiB
Stream size                              : 18.15 GiB
Stream size                              : 18.2 GiB (75%)
Proportion of this stream                : 0.75145
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No
Buffer size                              : 30000000 / 30000000
Original source medium                   : Blu-ray
Hybrid detects it as progressive with 23.976fps.
x264 reports "encoded 58648 frames, 151.71 fps, 5062.75 kb/s" which is about a third of what MediaInfo reported (156142).

Do I assume correctly, that the Vapoursynth preview also only shows 58648 frames?
Does changing, the decoder change this? (maybe there is something in the file that causes problems for the hardware decoder)

Cu Selur
Ps.: also try whether using the latest dev changes anything. (don't think I changed anything there, but better test it)


RE: Missing Half of Movie - PizzaTime - 24.04.2025

(23.04.2025, 16:15)Selur Wrote: MediaInfo reports:
Video
Count                                    : 391
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
ID in the original source medium         : 4113
ID in the original source medium         : 4113 (0x1011)
Unique ID                                : 1
Format                                   : AVC
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4
Format settings, Reference frames        : 4 frames
Format settings, Slice count             : 4
Format settings, Slice count             : 4 slices per frame
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Duration                                 : 6512422.583333
Duration                                 : 1 h 48 min
Duration                                 : 1 h 48 min 32 s 422 ms
Duration                                 : 1 h 48 min
Duration                                 : 01:48:32.422
Duration                                 : 01:48:25:22
Duration                                 : 01:48:32.422 (01:48:25:22)
Bit rate mode                            : VBR
Bit rate mode                            : Variable
Bit rate                                 : 23940353
Bit rate                                 : 23.9 Mb/s
Maximum bit rate                         : 36000000
Maximum bit rate                         : 36.0 Mb/s
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1080
Height                                   : 1 080 pixels
Stored_Height                            : 1088
Sampled_Width                            : 1920
Sampled_Height                           : 1080
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 (24000/1001) FPS
FrameRate_Num                            : 24000
FrameRate_Den                            : 1001
Frame count                              : 156142
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.482
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay                                    : 00:00:00:00
Delay                                    : 00:00:00.000 (00:00:00:00)
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 19488710447
Stream size                              : 18.2 GiB (75%)
Stream size                              : 18 GiB
Stream size                              : 18 GiB
Stream size                              : 18.2 GiB
Stream size                              : 18.15 GiB
Stream size                              : 18.2 GiB (75%)
Proportion of this stream                : 0.75145
Language                                 : en
Language                                 : English
Language                                 : English
Language                                 : en
Language                                 : eng
Language                                 : en
Default                                  : No
Default                                  : No
Forced                                   : No
Forced                                   : No
Buffer size                              : 30000000 / 30000000
Original source medium                   : Blu-ray
Hybrid detects it as progressive with 23.976fps.
x264 reports "encoded 58648 frames, 151.71 fps, 5062.75 kb/s" which is about a third of what MediaInfo reported (156142).

Do I assume correctly, that the Vapoursynth preview also only shows 58648 frames?
Does changing, the decoder change this? (maybe there is something in the file that causes problems for the hardware decoder)

Cu Selur
Ps.: also try whether using the latest dev changes anything. (don't think I changed anything there, but better test it)
 
Yes, the Vapoursynth preview only shows 58648 frames. Also, I don't know if info is useful, but MKVextract only gets to 37% progress when extracting subtitles and then finishes. Also, I tried changing decode settings to use ffmpeg and that didn't change any results. I still need to test the Dev verison.


RE: Missing Half of Movie - Selur - 24.04.2025

Quote:I tried changing decode settings to use ffmpeg
You need to adjust the settings so that Hybrid will use another source filter in the Vapoursynth script. (no clue what you changed)

Quote: Also, I don't know if info is useful, but MKVextract only gets to 37% progress when extracting subtitles and then finishes.
Sounds like something is wrong with the file.

If you play back the file in MPC-HC and similar, the file plays through the complete clip without problems, right? (it does not glitch somewhere)

Cu Selur


RE: Missing Half of Movie - PizzaTime - 25.04.2025

(Yesterday, 05:33)Selur Wrote:
Quote: Also, I don't know if info is useful, but MKVextract only gets to 37% progress when extracting subtitles and then finishes.
Sounds like something is wrong with the file.

If you play back the file in MPC-HC and similar, the file plays through the complete clip without problems, right? (it does not glitch somewhere)

Cu Selur

It plays just fine in VLC.

I tried to see if using my workaround from this thread would work (Unexpected Speed or FPS), but MKVToolNix only exported the same duration of the file. I checked the MKVToolNix output log and it read:

"kax_file_c::read_next_level1_element(): an exception occurred (message: end of file error / Data error (cyclic redundancy check); type: N3mtx5mm_io13end_of_file_xE). This usually indicates a damaged file structure. The file will not be processed further."


RE: Missing Half of Movie - Selur - 25.04.2025

Seems lke Something with the file/container structure is broken
You might want to check your disks, ram, etc