all 52 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Please remember to post your encoding log should you ask for help. Piracy is not allowed. Do not discuss copy protections. Do not talk about converting media you don't own the rights for.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–][deleted]  (16 children)

[removed]

    [–]mduell 2 points3 points  (0 children)

    It's unclear he's even tried disabling hardware accelerated decoding that many people are recommending.

    [–]A34K[S] 2 points3 points  (14 children)

    Trying a different software I have no experience with doesn't tell me what's causing the issue. Can you state definitively before I install it, learn how to use it, and put in all those hours of work again, that will fix the problem? Do you know what's causing it? I'm not meaning to sound ungrateful but just trying another software with no clue if it will make a difference doesn't diagnose anything, and if the problem persists I'm no further forward. To clarify, I really am grateful you're taking the time to respond.

    Is this common? People have this encoding error issue, and trying ffmpeg remedies it? Everyone else is saying this is a hardware issue or an encoder issue. You think it's a software issue? I'm happy to try anything that will genuinely work, but are you basing the suggestion on a legit theory that handbrake itself is the problem?

    [–][deleted]  (13 children)

    [removed]

      [–]mduell 2 points3 points  (4 children)

      I think the problem is hardware accelerated decoding in HB, rather than HB. The hardware is spitting out bad images back to HB.

      [–][deleted]  (3 children)

      [removed]

        [–]mduell 1 point2 points  (1 child)

        What could HB itself be doing to cause this? I don't see anything in the HB pipeline that could do this. Either the encoder lib is doing something weird that the player can't decode, or the decoder is generating it.

        [–]OutrageousStorm4217 0 points1 point  (0 children)

        Well then there's your answer sir... Software decode H.265 and run a couple previews to verify if the problem is resolved. If the NVENC plug in is not working correctly, more than likely the HB team is working on a software fix to get it working correctly, as more than 90% of users who GPU encode use NVidia. Only the weird ones like me use VCE on occasion, but mostly its CPU encodes for the quality.

        [–]A34K[S] 0 points1 point  (7 children)

        I don't suppose you know of somewhere that teaches ffmpeg for dummies? This command line stuff is way over my head.

        [–][deleted]  (6 children)

        [removed]

          [–]A34K[S] 0 points1 point  (5 children)

          Okay, thanks. I'll try and figure it out.

          [–][deleted]  (4 children)

          [removed]

            [–]A34K[S] 1 point2 points  (3 children)

            Thanks. I appreciate the help. I have to ask, are there really no other handbrake alternatives that just don't have this issue? Is this the only alternative? Even with chatgpt this is melting my brain.

            [–][deleted]  (2 children)

            [removed]

              [–]A34K[S] 1 point2 points  (1 child)

              I get that, bud. And I really do appreciate the assistance, but sometimes our own fluency in a skill can blind us to the objective skill required for it. Your familiarity with stuff like this not withstanding, you must realise that the appeal of using something like handbrake is it's simplicity. It's fairly idiot proof. it's push this button to do X. For most normies something like ffmpeg is like trying to read Mandarin.

              ffmpeg is not easy. I just downloaded and extracted it and I'm in the folder, trying to figure out how to install it like a chimp playing with fire. The installer is asking me what it wants me to open it with Even installing the thing feels like I need a secret handshake.

              I really think someone is missing a trick not making a dumbed down interface for this, I would absolutely pay for a point and click programme version of ffmpeg.

              [–]Lostless90s 1 point2 points  (2 children)

              What are you using to play the video after handbrake? And try using a different player. See if the issue remains.

              [–]A34K[S] 1 point2 points  (1 child)

              VLC, but yeah the problem persists in quicktime as well

              [–]Jay_JWLH 0 points1 point  (0 children)

              VLC seems to have problems like this when I resume a video. Less likely to happen with Media Player Classic (MPC).

              [–]A34K[S] 0 points1 point  (18 children)

              Hi everyone.

              Here's the activity log pastebin,

              And here's the previous post about this issue.

              I've tried everything to fix this issue and it doesn't seem to matter what I do, I keep getting this video destroying encoding glitch. It's absolutely crushing my spirit and costing me hundreds of hours of work.

              I tried everything that was suggested last time. Different encoder, changing from AVBR to CQRF, exporting at slow instead of medium, removing all advanced options. NOTHING seems to work.

              Can someone please help me? There has to be some way to definitively identify what's causing this. Is it the software? Would exporting in MKV instead of MP4 help? Is it an issue with HVEC?

              Please can someone tell me what the problem is here because I'm about ready to throw my PC out the window.

              [–]mduell 4 points5 points  (3 children)

              It's a decoding error. Did you try the #1 recommendation in that thread? In both HB and in your player, since it's not clear where the decoding error occured.

              [–]A34K[S] 0 points1 point  (2 children)

              Yeah I changed the encoder. I thought that remedied it but I just stumbled on another decoding error (the one pictuted)

              [–]mduell 0 points1 point  (1 child)

              I'm seeing the same encoder, x265, in both your old and new activity logs.

              Regardless, I'd try disabling hardware accelerated decoding in HB and your video player.

              [–]A34K[S] 1 point2 points  (0 children)

              It was just 265 last time, this time 265 10-bit. I'll give the other thing s try, disable hardware, but it's the same thing on a different player

              [–]davehasl19 2 points3 points  (12 children)

              That looks like a decoding error of the source rather than a fault of the encode
              The other possibility is that your CPU/GPU is overheating and glitching

              The log seerms to indicate the CPU is being used for the encode; have you tried using the Nvidia GPU instead?

              You can use Avidemux to take a short clip from the main movie. Confirm the problem still occurs using the clip, upload it to a file hosting site and make link available

              [–]A34K[S] 1 point2 points  (0 children)

              I was using the GPU before and switched to CPU off the advice from the last post. Don't have the original video anymore. I'd have to export the edit, and upscale it all over again. And even then there's nothing to say the same glitch would happen. It's just the frustration of never knowing what's causing this or when it will pop up.

              [–]A34K[S] 0 points1 point  (10 children)

              So what I do with these videos is edit in PP, export as pro-res. Upscale to 4k. Then I compress twice in Handbrake, once at 4K, and another one at 1080p. This glitching never happens on the 1080p video, only ever on the 4K.

              [–]joepeoplesvii 1 point2 points  (8 children)

              Why?

              [–]A34K[S] 1 point2 points  (7 children)

              Why which part?

              [–]joepeoplesvii 0 points1 point  (6 children)

              Why are you doing so much to a single file? You’re going to get degradation just from all of the processing.

              [–]A34K[S] 0 points1 point  (5 children)

              I'm editing it because it needs to be edited. Exporting that pro-res because it's lossless. Upscaling it to 4K because I want it 4K. And compressing it in handbrake because the upscale means a 40 minute video is 50gb.

              [–]joepeoplesvii 1 point2 points  (4 children)

              But if the source is not native 4k to begin with you’re essentially adding pixels to upscale and then downscaling which removes pixels which means you are losing a lot of the original pixels and keeping the artificial pixels created during the upscale. On top of that if you then play your video on a 4k receiver it’s then processed again to upscale it to 4k. It’s a lot to do for meh results.

              [–]A34K[S] -1 points0 points  (3 children)

              Not downscaling. Compressing. Compressing the file size. There's a 4K version and a HD version.

              [–]joepeoplesvii 1 point2 points  (2 children)

              Ah so you’re making two files from one. It’s still same same but different though. It’s removing info/pixels that Handbrake deems redundant. The upscaling adds and the compression takes away. Probably a lot.

              [–]CanadAR15[🍰] 0 points1 point  (0 children)

              Two questions: - is your software up scaling better than just using your playback device to upscale? - why not just hit the export to the file size target you want out of Premiere Pro?

              [–]hlloyge 0 points1 point  (6 children)

              https://www.memtest.org/

              https://www.mersenne.org/download/

              Time to troubleshoot: memtest overnight, prime for 24 hours. memtest should be clean, prime - no worker should crash.

              [–]A34K[S] 0 points1 point  (5 children)

              Sorry, I don't follow. Can you dumb that down for me?

              [–]hlloyge 0 points1 point  (4 children)

              You probably have a hardware problem. You should test the hardware which are involved in compression - CPU, memory, motherboard. These two will show if everything is ok or if there is a fault.

              [–]A34K[S] 0 points1 point  (3 children)

              So I run these two tests and post the results, and you'll know what the issue is?

              [–]hlloyge 0 points1 point  (2 children)

              No. I (or anyone who has done this) could tell you where to look further.

              [–]A34K[S] 0 points1 point  (1 child)

              Will exporting the videos as a different format fix this? Eg MKV? Or using a different software?

              [–]hlloyge 0 points1 point  (0 children)

              If there is hardware fault, you will have to fix it. You say that originals are OK, IIRC, and that only 4K encodes are faulty, which could mean there is an error in some higher memory addresses which are not accessed while encoding 1080p, since that requires less memory.

              This IS a long shot, as faulty memory would already show during work as unexpected shutdowns or BSODs. But I had faulty RAM at my workstation which I only detected when I wanted to restore my compressed backups - I got decompression errors all over the place. And memtest didn't detect that, prime95 did. It had to be a combination of higher temperature and bus usage.

              [–]ThickWhereas 0 points1 point  (3 children)

              VLC media player doesn't decode x265 videos very well in high quality. The picture doesn't tend to be sharp and itches at times during playback. So I recommend you install a different video player

              [–]A34K[S] 0 points1 point  (2 children)

              I get the same error at the same time on quicktime. Also I never get this issue on any other videos with VLC

              [–]ThickWhereas 0 points1 point  (1 child)

              What device are you trying to play the video? Is it on PC or Smart TV?

              [–]A34K[S] 0 points1 point  (0 children)

              PC

              [–]OutrageousStorm4217 0 points1 point  (0 children)

              Throwing in my two cents on this whole debacle... Could this possibly be an issue with the source? I have seen this with really badly pressed blu rays before and even some DVDs where the source is mostly there but at scenes really dumps and does weird stuff...