RandomEngy / VidCoder

A Blu-ray, DVD and video file transcoder for Windows.
http://vidcoder.net
GNU General Public License v2.0
701 stars 42 forks source link

Preview does not work #1080

Open QuarkZ26 opened 1 year ago

QuarkZ26 commented 1 year ago

Problem Description

When trying to use preview, it encodes, but then the window is grey. Using external players (VLC, MPC) is the same, no video showing at all. I tried different preset H265/H264 but they all yield the same result.

What version of VidCoder are you running?

7.15, latest beta has the same issue

Encode Log

[hevc @ 0000018a41097f80] VPS 0 does not exist
[hevc @ 0000018a41097f80] SPS 0 does not exist.
[hevc @ 0000018a41095f80] VPS 0 does not exist
[hevc @ 0000018a41095f80] SPS 0 does not exist.
[16:53:00] sync: expecting 263 video frames
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Windows][GCC 10.2.0][64 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
x265 [warning]: Specifying a decoder level with constant rate factor rate-control requires
x265 [warning]: enabling VBV with vbv-bufsize=30000kb vbv-maxrate=30000kbps. VBV outputs are non-deterministic!
x265 [info]: Main profile, Level-4 (High tier)
x265 [info]: Thread pool created using 12 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 3 / wpp(34 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 16
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge         : dia / 57 / 0 / 2
x265 [info]: Lookahead / bframes / badapt        : 5 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb       : 1 / 0 / 0
x265 [info]: References / ref-limit  cu / depth  : 1 / off / off
x265 [info]: AQ: mode / str / qg-size / cu-tree  : 1 / 0.0 / 32 / 1
x265 [info]: Rate Control / qCompress            : CRF-13.0 / 0.60
x265 [info]: VBV/HRD buffer / max-rate / init    : 30000 / 30000 / 0.900
x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip mode=1 tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing lslices=6 deblock
[16:53:00] sync: first pts audio 0x1 is 0
[16:53:00] sync: first pts subtitle 0x2 is 183510
[16:53:00] sync: first pts subtitle 0x3 is 183510
[16:53:00] sync: reached audio 0x1 pts 900480, exiting early
[16:53:01] reader: done. 1 scr changes
[16:53:01] sync: reached subtitle 0x2 pts 1203210, exiting early
[16:53:01] sync: reached subtitle 0x3 pts 1203210, exiting early
[16:53:01] work: average encoding speed for job is 0.000000 fps
[16:53:02] comb detect: heavy 0 | light 0 | uncombed 0 | total 0
[16:53:02] decomb: deinterlaced 0 | blended 0 | unfiltered 0 | total 0
[16:53:02] vfr: 0 frames output, 0 dropped and 0 duped for CFR/PFR
[16:53:02] vfr: lost time: 0 (0 frames)
[16:53:02] vfr: gained time: 0 (0 frames) (0 not accounted for)
[16:53:02] aac-decoder done: 113174 frames, 0 decoder errors
[16:53:02] hevc-decoder done: 0 frames, 57884 decoder errors
[16:53:02] sync: got 0 frames, 263 expected
encoded 0 frames
[16:53:02] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[16:53:02] mux: track 1, 469 frames, 200941 bytes, 160.22 kbps, fifo 512
[16:53:02] mux: track 2, 3 frames, 207 bytes, 0.17 kbps, fifo 8
[16:53:02] mux: track 3, 3 frames, 207 bytes, 0.17 kbps, fifo 8
[16:53:02] Finished work at: Thu Nov 24 16:53:02 2022
[16:53:02] libhb: work result = 0
RandomEngy commented 1 year ago

Try it with HandBrake. VidCoder uses HandBrake for the core encoding engine, so if the issue reproduces there it's an issue with their code and you can ask them for help. If it doesn't reproduce with HandBrake, we know it's a VidCoder issue.

Equivalent versions: VidCoder Stable ↔ HandBrake Stable VidCoder Beta ↔ HandBrake Nightly

QuarkZ26 commented 1 year ago

It does work in Handbrake.

RandomEngy commented 1 year ago

I don't see anything obviously wrong in the encode log. Does the issue happen with the built-in presets? Is it a problem specifically with a certain source file? If so can you provide a clip that reproduces it?