Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: andrewk8 on January 06, 2016, 11:26:56 PM

Title: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 06, 2016, 11:26:56 PM
I transcoded a file with HandBrake 0.10.2 into an MP4 container using X265 HEVC video and HE-AAC audio.  The video plays fine in VLC.  I want to cut the video with Avidemux.  When I open it, Avidemux shows a thin bar of multi-color static along the top (6-ish pixels tall?).  Video decoder shows "???? RGB".  See attached for the MediaInfo properties and corresponding Avideumx properties.

The news shows x265 support and FFMPEG 2.7, so I'm confused why Avidemux isn't able to open HEVC videos made from HandBrake.

I'm getting this issue with Avidemux 2.6.10 and 2.6.11 beta 1.
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: mean on January 07, 2016, 05:08:05 AM
Should work in the nightlies
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: Jan Gruuthuse on January 07, 2016, 05:18:13 AM
http://www.avidemux.org/nightly/

Can you test with this file: https://www.dropbox.com/s/wy2o62b9vom3jhc/3satHEVCx265.mkv?dl=0
If that works, can you upload a 10 second duration similar video created with HandBrake 0.10.2 into an MP4 container using X265 HEVC video and HE-AAC audio.
Use a free dropbox account, mega or similar webservice (free public access, without registration to download your uploaded video) thank you.
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 07, 2016, 03:25:47 PM
I could open your sample in Avidemux 2.6.11.  Cutting it would be a little challenge because the image is mostly gray.  If I play it in Avidemux, it plays fine.

Here is a sample I made from HandBrake.  Same issue.  VLC plays it fine.  Opening in Avidemux doesn't work.  See screen shot
https://www.dropbox.com/s/978m5sjogp0jix1/Sam%20And%20Tuck%20x265%20he-aac.mp4?dl=0 (https://www.dropbox.com/s/978m5sjogp0jix1/Sam%20And%20Tuck%20x265%20he-aac.mp4?dl=0)
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: Jan Gruuthuse on January 07, 2016, 04:38:13 PM
Loaded/played here without issue: see attached screenshots.
Did you find a more recent avidemux in http://www.avidemux.org/nightly/ check the dates?
What is your OS? Your Video Card running desktop?
What choices do you have in Avidemux: Menu: Edit: Preferences: for
[Display]
Video display: [   ]

[HW Accel]
[ ] decode video using
[ ] decode video using
[ ] decode video using
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 07, 2016, 06:05:20 PM
Windows 10 x64.  Nvidia GeForce 650 Ti

Video Display: Default Raster.

I don't see any HW Accel settings in Avidemux 2.6.911 151222 64-bit.

I monkeyed with the Video tab a little, but between the Video Display setting, Sdl driver setting, and openGL check box, I managed to crash Avidemux.

I just installed the latest Winx64 nightly 2.6.911 160103 and still can't open it (same noisy bar at the top of the window).
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: Jan Gruuthuse on January 08, 2016, 06:42:34 AM
I need Windows user stepping in.
I can't find anything by Nvidia on Nvidia GeForce 650 Ti supporting nvenc / h.265
card: http://www.geforce.com/hardware/desktop-gpus/geforce-gtx-650ti
codec: https://developer.nvidia.com/nvidia-video-codec-sdk#gpulist
Quote(GeForce (Kepler & Maxwell GPUs only)
If the card is supposed to support this, you probably have to install  NVIDIA GPU driver R358 or above for Windows. And maybe even nvenc is required.

other sources however:
QuoteNVIDIA GeForce GTX 650 Ti:
GPU Name:    GK106
GPU Variant:    GK106-220-A1
source: TechPowerUp GPU Database (http://www.techpowerup.com/gpudb/1188/geforce-gtx-650-ti.html)

QuoteThird Generation (Maxwell GM20x)
... third generation NVENC implements the video compression algorithm High Efficiency Video Coding (aka. HEVC, H.265) ...
source: Wkipedia: Nvidia NVENC (https://en.wikipedia.org/wiki/Nvidia_NVENC)

As I'm not a windows user, you should understand I can't confirm: this will or won't work. If this is your production machine, take care to backup essentials before moving on.
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 08, 2016, 10:51:52 AM
Dumb question: why is nvenc / hardware h265 support relevant for playback by Avidemux?

Comparing your screen shots and mine, on Windows:
Attached are properties of the same video, from VLC (which plays back correctly in VLC).
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: Jan Gruuthuse on January 08, 2016, 11:24:29 AM
Quote from: andrewk8 on January 08, 2016, 10:51:52 AM
Dumb question: why is nvenc / hardware h265 support relevant for playback by Avidemux?
I suppose as avidemux uses the available hardware?

Quote from: andrewk8 on January 08, 2016, 10:51:52 AMAvidemux isn't loading the Lavcodec Vdpau decoder

I'm not on windows.
QuoteVDPAU (Video Decode and Presentation API for Unix)
source Wikipedia: VDPAU (https://en.wikipedia.org/wiki/VDPAU)
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: mean on January 08, 2016, 02:44:38 PM
There is no hw acceleration on windows as of today
The sw H265 decoder is bundled with avidemux, nothing else to install

So playback is ok, but still images are grey ?
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 08, 2016, 10:19:15 PM
No.  Wont even open.  Attached is a screen shot of what I get.  Avidemux doesn't recognize the file format.  You see the ~5 pixel tall color noise band at the top of the graphics window.  I included the MediaInfo properties for comparison.

Using latest (Jan 3 2016) Windows x64 nightly, but had the same issue in 2.6.10 with another video.  I've never been able to open a video from Handbrake in Avidemux.

A sample video I provided opens fine in Linux, apparently.
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: mean on January 09, 2016, 07:34:38 AM
Confirmed
The latest win64 build does not contain the needed change
Rebuilding in progress
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: mean on January 09, 2016, 07:47:00 AM
win64 one
win32 ready in ~ 15mn
Title: Re: Unable to open Handbrake-Encoded HEVC
Post by: andrewk8 on January 09, 2016, 02:45:29 PM
Working now in Windows x64 nightly 160109.  Thanks.