News:

--

Main Menu

Muxer "Cannot Open"

Started by Maveriick, April 07, 2017, 01:36:28 AM

Previous topic - Next topic

Maveriick

I searched for pervious posts on this topic but only found one from 2015.  Rather than reply to that post I am creating a new one here.

I am not sure when it started happening, but recently, every time I use Avidemux 2.6.19 64bit to output an MKV file I get the message Muxer "Cannot Open".  I have also tried using version 2.6.19 32bit and 2.6.18 64bit version  I have tried installing and uninstalling, rebooting, restarting, loading and reloading files but I have not been able to figure this out.  All the other output file types work without any problems.  It is only the MKV Muxer that has problems.  There are no problems loading MKV files only outputting them.

I have tried both Windows 7 and Windows 10.

eumagga0x2a

Saving a video with MKV as the target container works for me on Windows 7 both with a build compiled from the release source as well as with a build compiled from the current git. Either you have leftovers from another Avidemux installation, some third-party software interfering or the PC suffers from hardware issues.

Jan Gruuthuse

State your used OS and 32- or 64-bit?
Works with ubuntu 16.4.2 LTS 64-bit.

Maveriick

I thought I might have leftovers from a previous build but did everything I could think of to make sure I removed everything and then reinstalled.  In my efforts I noticed that one of my problem files has Dolby TrueHD Audio?  Is this supported?  Where can I find a list of supported audio types?

Jan Gruuthuse

trial by error.
If you have a video that poses a problem: record 10 seconds or 100 MB +- and upload that video sample so it can be tested.
info: Upload Hochladen Télécharger Subir

Jan Gruuthuse

#5
TrueHD 5.1 and 7.1 do crash avidemux 2.6.19, do play on VLC 3.0.0
TrueHD 7.1 Atmos: avidemux 2.6.19 codec is not recognised, audio distorted on VLC 3.0.0

Jan Gruuthuse


Jan Gruuthuse

TrueHD 5.1 mkv video does load and crashes while try to play:
Pop-up Window
Assert failed :nbLaces<MKV_MAX_LACES
at line 322, file /home/jan/avidemux2/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkv_audio.cpp
ADM_backTrack
mkvAccess::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned long*)
ADM_audioStream::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)
ADM_edAudioTrackFromVideo::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)
ADM_edAudioTrackFromVideo::refillPacketBuffer()
ADM_edAudioTrackFromVideo::getPCMPacket(float*, unsigned int, unsigned int*, unsigned long*)
AUDMAudioFilter_Bridge::fillIncomingBuffer(AUD_Status*)
AUDMAudioFilter_Bridge::fill(unsigned int, float*, AUD_Status*)
AUDMAudioFilter::fillIncomingBuffer(AUD_Status*)
AUDMAudioFilterMixer::fill(unsigned int, float*, AUD_Status*)
GUIPlayback::initializeAudio()
GUIPlayback::initialize()
GUI_PlayAvi()
HandleAction(Action)
/usr/bin/avidemux3_qt5() [0x4ad8f6]
QMetaObject::activate(QObject*, int, int, void**)
MainWindow::actionSignal(Action)
MainWindow::buttonPressed()
/usr/bin/avidemux3_qt5() [0x4adb7c]
QMetaObject::activate(QObject*, int, int, void**)
QAbstractButton::clicked(bool)


QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)
QToolButton::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)

Terminal Output:
[goToTimeVideo] 08:48:17-936  Seek done, in reference, gone to 208542 with segment start at 0
[renderDisplayResize] 08:48:17-936  Render to 1920x1080 zoom=2, old one =1920 x 1080, zoom=2, render=0x361c310
[renderDisplayResize] 08:48:17-936            No change, nothing to do
[goToTime] 08:48:17-936   go to time 0,21 secs
[goToTime] 08:48:17-936  => seg 0, rel time 0,21 secs
[goToTime] 08:48:17-936  [MKVAUDIO] Asked for 00:00:00,208 , go to block 0
[goToTime] 08:48:17-936  [MKVAUDIO] This block starts at 00:00:00,208
[goToTime] 08:48:17-936  [MKVAUDIO] Offset=0 us
[rewind] 08:48:17-936  [AudioBridge] Going to time 00:00:00,208
[goToTime] 08:48:17-936   go to time 0,21 secs
[goToTime] 08:48:17-936  => seg 0, rel time 0,21 secs
[goToTime] 08:48:17-936  [MKVAUDIO] Asked for 00:00:00,208 , go to block 0
[goToTime] 08:48:17-936  [MKVAUDIO] This block starts at 00:00:00,208
[goToTime] 08:48:17-936  [MKVAUDIO] Offset=18446744073709551074 us
[AUDMAudioFilter_Bridge] 08:48:17-936  [Bridge] Starting with time 00:00:00,208 , shift 0 ms
[AUDMAudioFilter_Bridge] 08:48:17-936  [Bridge] Ending with time 00:00:00,208, sample 0
[rewind] 08:48:17-936  [AudioBridge] Going to time 00:00:00,208
[goToTime] 08:48:17-936   go to time 0,21 secs
[goToTime] 08:48:17-936  => seg 0, rel time 0,21 secs
[goToTime] 08:48:17-936  [MKVAUDIO] Asked for 00:00:00,208 , go to block 0
[goToTime] 08:48:17-936  [MKVAUDIO] This block starts at 00:00:00,208
[goToTime] 08:48:17-936  [MKVAUDIO] Offset=18446744073709551074 us
[rewind] 08:48:17-936  [AudioBridge] Going to time 00:00:00,208
[goToTime] 08:48:17-936   go to time 0,21 secs
[goToTime] 08:48:17-936  => seg 0, rel time 0,21 secs
[goToTime] 08:48:17-936  [MKVAUDIO] Asked for 00:00:00,208 , go to block 0
[goToTime] 08:48:17-936  [MKVAUDIO] This block starts at 00:00:00,208
[goToTime] 08:48:17-936  [MKVAUDIO] Offset=18446744073709551074 us
Saving crash file to /home/jan/.avidemux6/crash.py
Scripting video streams
Scripting segments
Scripting markers
Scripting post-processing
Scripting video encoder
Scripting video filters
Scripting audio tracks
Scripting muxer

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f19aa42acd0]:0:<ADM_backTrack>:-2
/usr/lib/ADM_plugins6/demuxers/libADM_dm_matroska.so(_ZN9mkvAccess9getPacketEPhPjjPm+0x602) [0x7f19851185a2]:1:<mkvAccess::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned long*)>:0
/usr/lib/libADM_coreAudio6.so(_ZN15ADM_audioStream9getPacketEPhPjjS1_Pm+0x39) [0x7f19aa1faca9]:2:<ADM_audioStream::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)>:0
/usr/bin/avidemux3_qt5(_ZN25ADM_edAudioTrackFromVideo9getPacketEPhPjjS1_Pm+0x6d) [0x47cadd]:3:<ADM_edAudioTrackFromVideo::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)>:0
/usr/bin/avidemux3_qt5(_ZN25ADM_edAudioTrackFromVideo18refillPacketBufferEv+0x7d) [0x47c9cd]:4:<ADM_edAudioTrackFromVideo::refillPacketBuffer()>:0
/usr/bin/avidemux3_qt5(_ZN25ADM_edAudioTrackFromVideo12getPCMPacketEPfjPjPm+0x1c0) [0x47ce80]:5:<ADM_edAudioTrackFromVideo::getPCMPacket(float*, unsigned int, unsigned int*, unsigned long*)>:0
/usr/bin/avidemux3_qt5(_ZN22AUDMAudioFilter_Bridge18fillIncomingBufferEP10AUD_Status+0x8a) [0x460ada]:6:<AUDMAudioFilter_Bridge::fillIncomingBuffer(AUD_Status*)>:0
/usr/bin/avidemux3_qt5(_ZN22AUDMAudioFilter_Bridge4fillEjPfP10AUD_Status+0x39) [0x460909]:7:<AUDMAudioFilter_Bridge::fill(unsigned int, float*, AUD_Status*)>:0
/usr/lib/libADM_coreAudioFilterAPI6.so(_ZN15AUDMAudioFilter18fillIncomingBufferEP10AUD_Status+0x57) [0x7f19a9ff3f27]:8:<AUDMAudioFilter::fillIncomingBuffer(AUD_Status*)>:0
/usr/bin/avidemux3_qt5(_ZN20AUDMAudioFilterMixer4fillEjPfP10AUD_Status+0x54) [0x462bf4]:9:<AUDMAudioFilterMixer::fill(unsigned int, float*, AUD_Status*)>:0
/usr/bin/avidemux3_qt5(_ZN11GUIPlayback15initializeAudioEv+0xd6) [0x4564e6]:10:<GUIPlayback::initializeAudio()>:0
/usr/bin/avidemux3_qt5(_ZN11GUIPlayback10initializeEv+0xb4) [0x456724]:11:<GUIPlayback::initialize()>:0
/usr/bin/avidemux3_qt5(_Z11GUI_PlayAviv+0x118) [0x4568a8]:12:<GUI_PlayAvi()>:0
/usr/bin/avidemux3_qt5(_Z12HandleAction6Action+0x690) [0x4548e0]:13:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt5() [0x4ad8f6]:14:</usr/bin/avidemux3_qt5() [0x4ad8f6]>:0
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x7ea) [0x7f19a6623d2a]:15:<QMetaObject::activate(QObject*, int, int, void**)>:0
/usr/bin/avidemux3_qt5(_ZN10MainWindow12actionSignalE6Action+0x3e) [0x4ad5be]:16:<MainWindow::actionSignal(Action)>:0
/usr/bin/avidemux3_qt5(_ZN10MainWindow13buttonPressedEv+0x137) [0x48fa57]:17:<MainWindow::buttonPressed()>:0
/usr/bin/avidemux3_qt5() [0x4adb7c]:18:</usr/bin/avidemux3_qt5() [0x4adb7c]>:0
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x7ea) [0x7f19a6623d2a]:19:<QMetaObject::activate(QObject*, int, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN15QAbstractButton7clickedEb+0x42) [0x7f19a7512192]:20:<QAbstractButton::clicked(bool)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x257f04) [0x7f19a7274f04]:21:<>:-2
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(+0x259519) [0x7f19a7276519]:22:<>:-2
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN15QAbstractButton17mouseReleaseEventEP11QMouseEvent+0xf4) [0x7f19a7276694]:23:<QAbstractButton::mouseReleaseEvent(QMouseEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN11QToolButton17mouseReleaseEventEP11QMouseEvent+0xa) [0x7f19a733b14a]:24:<QToolButton::mouseReleaseEvent(QMouseEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN7QWidget5eventEP6QEvent+0x668) [0x7f19a71baf88]:25:<QWidget::event(QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN11QToolButton5eventEP6QEvent+0x79) [0x7f19a733b229]:26:<QToolButton::event(QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x8c) [0x7f19a717805c]:27:<QApplicationPrivate::notify_helper(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x959) [0x7f19a717dc19]:28:<QApplication::notify(QObject*, QEvent*)>:0
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0xdb) [0x7f19a65f538b]:29:<QCoreApplication::notifyInternal(QObject*, QEvent*)>:0
*********** BACKTRACK **************
Crash Dump for Crash
Assert failed :nbLaces<MKV_MAX_LACES
at line 322, file /home/jan/avidemux2/avidemux_plugins/ADM_demuxers/Matroska/ADM_mkv_audio.cpp
ADM_backTrack
mkvAccess::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned long*)
ADM_audioStream::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)
ADM_edAudioTrackFromVideo::getPacket(unsigned char*, unsigned int*, unsigned int, unsigned int*, unsigned long*)
ADM_edAudioTrackFromVideo::refillPacketBuffer()
ADM_edAudioTrackFromVideo::getPCMPacket(float*, unsigned int, unsigned int*, unsigned long*)
AUDMAudioFilter_Bridge::fillIncomingBuffer(AUD_Status*)
AUDMAudioFilter_Bridge::fill(unsigned int, float*, AUD_Status*)
AUDMAudioFilter::fillIncomingBuffer(AUD_Status*)
AUDMAudioFilterMixer::fill(unsigned int, float*, AUD_Status*)
GUIPlayback::initializeAudio()
GUIPlayback::initialize()
GUI_PlayAvi()
HandleAction(Action)
/usr/bin/avidemux3_qt5() [0x4ad8f6]
QMetaObject::activate(QObject*, int, int, void**)
MainWindow::actionSignal(Action)
MainWindow::buttonPressed()
/usr/bin/avidemux3_qt5() [0x4adb7c]
QMetaObject::activate(QObject*, int, int, void**)
QAbstractButton::clicked(bool)


QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)
QToolButton::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)

[abortExitHandler] 08:48:20-551  Abnormal exit handler, trying to clean up
At exit, we have still 5 surface
After cleanup we have  0 surface
[cleanup] 08:48:20-552  Destroying vdp device..
[admLibVa_exitCleanup] 08:48:20-612  VA cleanup begin
[cleanup] 08:48:20-612  [LIBVA] De-Initializing LibVA library ...
vdpau_video: vaTerminate(): config ID 0x01000000 is still allocated, destroying
vdpau_video: vaTerminate(): config ID 0x01000001 is still allocated, destroying
vdpau_video: vaTerminate(): config ID 0x01000002 is still allocated, destroying
[admLibVa_exitCleanup] 08:48:20-624  VA cleanup end

If this provides enough info? Should TrueHD currently be possible in avidemux 2.6.19 branch at all?

Regarding ffmpeg:Name Encoding Decoding
raw TrueHD    X   X
TrueHD    X   X

source: https://ffmpeg.org/general.html


Maveriick

So is TrueHD a known issue or is there a way to make it so that Avidemux can play, cut, and make a new MKV?

Jan Gruuthuse

Quote from: Jan Gruuthuse on April 09, 2017, 09:07:04 AM
>8 >8  Should TrueHD currently be possible in avidemux 2.6.19 branch at all? >8>8

I guess developer(s) are still looking into this.

Maveriick

If it helps, I am trying to edit "Iron Man 1" which has TrueHD audio.

douche

TrueHD still leads to the same problem on v2.7.
Anyone found a way to make it work?


gregc

No, it's still an issue.
Uncheck this audio track before transcoding/cutting.

eumagga0x2a

Support for TrueHD audio tracks in Matroska (demuxing, decoding and muxing) added by [1] and [2], please try future nightlies.