Avidemux Forum

Avidemux => MacOSX => Topic started by: riji on December 11, 2024, 01:23:01 PM

Title: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: riji on December 11, 2024, 01:23:01 PM
MP4 video encoded with Handbrake hardware setting:
hardware: H.265 Apple VideoToolbox Avidemux muxer can't open

I recently got a Mac Mini M4 Pro. So for encoding (MP4 video file with burned in subtitles) I started using Handbrake again. This is because this app in the Preset setting (Fast1080p30) has an option: Hardware and with it the choice: H.265 Apple VideoToolbox (2160p/1080p).
This provides ample speed gain with decent quality.
My problem is that when I want to open such a file in Avidemux, the muxer cannot open the file.
Is there a solution for that?
------ Translated with DeepL.com (free version)
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: eumagga0x2a on December 11, 2024, 02:56:35 PM
Does the issue persist with the latest available 2.8.2 nightly build? And with a self-compiled binary off the latest git master?

Not sure about official nightlies which are x86_64, locally compiled arm64 builds support VideoToolbox encoders for H.264 and HEVC.
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: riji on December 11, 2024, 03:18:25 PM
Avidemux 2.8.2 Qt6 241110-02h54m
I downloaded this version, but again it does not work.
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: eumagga0x2a on December 11, 2024, 04:01:28 PM
Please provide a sample video (shorter and smaller is better) via WeTransfer (no account and no email address required, despite the website trying to suggest the opposite), Mega, Dropbox or Google Drive then. Thank you.
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: eumagga0x2a on December 11, 2024, 04:06:45 PM
By the way, you meant for sure "demuxer", not "muxer", didn't you?

Muxer is for combining (multiplexing) video and audio streams into a container file when saving a video.

A demuxer reads a container file to obtain video and audio (and, in principle other types of data) from it to load them in an application like Avidemux.
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: riji on December 11, 2024, 09:16:51 PM
I open in Avidemux my mp4 file obtained from Handbrake with setting: hardware H.265 Apple VideoToolbox 1080p.
When I cut a part of it on a keyframe and want to save, I got the message: "MUXER Cannot open".
I have done this with the MP4 file from internet:Cosmic Eye (Original HD Version); so it's easy to try out.
Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: eumagga0x2a on December 11, 2024, 11:45:16 PM
Please specify the muxer you try to use. Not all muxers are compatible with HEVC, but MP4 (NOT "MP4v2"!) and MKV really should.

Title: Re: MP4 encoded with Handbrake (H.265 Apple VideoToolbox): muxer can't open
Post by: riji on December 12, 2024, 07:11:36 PM
Before I used MP4v2 (since years).
Now I have switched to MP4 and this do the job; so I'm saved.
Thank you very much.