News:

--

Main Menu

Unable to open Handbrake-Encoded HEVC

Started by andrewk8, January 06, 2016, 11:26:56 PM

Previous topic - Next topic

andrewk8

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.

mean


Jan Gruuthuse

#2
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.

andrewk8

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

Jan Gruuthuse

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

andrewk8

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).

Jan Gruuthuse

#6
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

QuoteThird Generation (Maxwell GM20x)
... third generation NVENC implements the video compression algorithm High Efficiency Video Coding (aka. HEVC, H.265) ...
source: Wkipedia: 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.

andrewk8

Dumb question: why is nvenc / hardware h265 support relevant for playback by Avidemux?

Comparing your screen shots and mine, on Windows:

  • Avidemux fails to identify the "Codec 4CC" as H265
  • Avidemux isn't loading the Lavcodec Vdpau decoder
  • Windows default for output is to use a software / raster render
Attached are properties of the same video, from VLC (which plays back correctly in VLC).

Jan Gruuthuse

#8
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

mean

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 ?

andrewk8

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.

mean

Confirmed
The latest win64 build does not contain the needed change
Rebuilding in progress

mean


andrewk8

Working now in Windows x64 nightly 160109.  Thanks.