News:

--

Main Menu

Avidemux 2.8.2 development

Started by eumagga0x2a, October 02, 2022, 01:42:10 PM

Previous topic - Next topic

Renxo

Quote from: eumagga0x2a on October 03, 2023, 10:22:47 PMThe VC++ build from Sep 24 2023 10:03 PM is fine, please use it.

New features:

  • libaom-based AV1 encoder
  • NVDEC hw accelerated decoder (depending on installed NVIDIA graphics card, NVDEC supports more codecs than the DXVA2 wrapper, including AV1)

I'll keep you posted when "win64" cross-builds become usable again.

Are there plans for adding NVENC AV1 support to avidemux as well?

eumagga0x2a

Quote from: Renxo on November 26, 2023, 09:31:07 PMAre there plans for adding NVENC AV1 support to avidemux as well?

If someone with NVIDIA RTX 40xx graphics card, able to build Avidemux from source, volunteers to do all the testing, then yes. Else, no.

MoonKid

Where is the ticket system?

The linked Microsoft GitHub repo do not have an Issue section.

jimmyjim

There's a crash in 2.8.2.
Probably a rare case as the file is pretty broken, play fines but here it is starting at 960x540 then jumps to 1080x720 i assume after a few frames.
When i open these videos usually i'm met with the decoding frame type popup which i just cancel and can edit the video

ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_backTrack  [libADM_core6.dll]
ADMImage::duplicateMacro(ADMImage*, bool)  [libADM_coreImage6.dll]
ADM_Composer::decompressImage(ADMImage*, ADMCompressedImage*, unsigned int)  [avidemux.exe]
ADM_Composer::DecodePictureUpToIntra(unsigned int, unsigned int)  [avidemux.exe]
ADM_Composer::seektoTime(unsigned int, unsigned long long, bool)  [avidemux.exe]
ADM_Composer::goToTimeVideo(unsigned long long)  [avidemux.exe]
ADM_Composer::checkForValidPts(_SEGMENT*)  [avidemux.exe]
ADM_Composer::addFile(char const*)  [avidemux.exe]
A_openVideo(char const*)  [avidemux.exe]
MainWindow::openFiles(QList<QUrl>)  [avidemux.exe]
MainWindow::eventFilter(QObject*, QEvent*)  [avidemux.exe]
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)  [Qt5Core.dll]
QApplicationPrivate::notify_helper(QObject*, QEvent*)  [Qt5Widgets.dll]
QCoreApplication::notifyInternal2(QObject*, QEvent*)  [Qt5Core.dll]
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventDispatcherWin32::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
qt_plugin_instance  [qwindows.dll]
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)  [Qt5Core.dll]
QCoreApplication::exec()  [Qt5Core.dll]
UI_RunApp()  [avidemux.exe]
startAvidemux(int, char**)  [avidemux.exe]
SDL_main  [avidemux.exe]
ms2timedisplay(unsigned int)  [avidemux.exe]
unknown function  [avidemux.exe]
unknown function  [avidemux.exe]
BaseThreadInitThunk  [KERNEL32.DLL]
RtlUserThreadStart  [ntdll.dll]

thanks

eumagga0x2a

#19
Resolution changing on-the-fly is absolutely unsupported, thus crashing in a safe manner is the best we can do.

Canceling decoding frame type is only acceptable when video is re-encoded. This means also that locations where resolution changes cannot be detected during loading at all (there is no warning pop-up, the info appears only in the Avidemux log).

Gurnsy

Just updated to VC++ ver. 240204.

Attempting to queue a job, no job listing is displayed when avidemux_jobs.exe is run.

Mpeg4 AVC (x264) selected, crop filter used 1920x1080 -> 1920x960
AAC (FDK) E-AC3 192kbps -> HE-AAC 192kbps
MKV -> MP4

Win 11 23H2 Build 22631.3155
Intel i7-4770k

Cheers

eumagga0x2a

Quote from: Gurnsy on February 21, 2024, 09:51:29 PMAttempting to queue a job, no job listing is displayed when avidemux_jobs.exe is run.

This known regression is fixed in code, a recent cross-compiled build containing the fix is available, no VC++ build yet.

Zzzzzap

Subtitle Support

Is subtitle support planned?

It's really a pity that all subtitles are gone after encoding a video with avidemux.

eumagga0x2a

New Avidemux nightlies from 2024-05-31

appImage for recent Linux distributions
Cross-compiled MinGW builds for supported 64-bit Windows versions

Already present in the previous round of builds from May 20, but not announced here: Avidemux keeps the index for MPEG-TS and MPEG-PS files now in memory when the files are located in a read-only directory (a feature contributed by szlldm).

A notable fix in the current nightlies: audio tracks in fragmented MP4 containers (MP4 dash) work again. This was a regression from extensive rearrangements in the MP4 demuxer back in January, which went unnoticed for 4 months.

cachaito

Quote from: eumagga0x2a on May 31, 2024, 03:19:12 PMA notable fix in the current nightlies: audio tracks in fragmented MP4 containers (MP4 dash) work again. This was a regression from extensive rearrangements in the MP4 demuxer back in January, which went unnoticed for 4 months.

Awesome that it's caught and fixed. And I'm glad there's new nightly builds available too. :-)

I wonder if this bug has something in common, that always when I cutting *.mp4 videos, I need to select one additional advance frame to cut out exact scene I want. Similar is with Plugin called Still Image: I need always subtract ~0h:00m:00s,050 of clip duration to apply the still image effect for video. I will try to confirm if it's fixed later!

eumagga0x2a

Quote from: cachaito on May 31, 2024, 06:45:05 PMI wonder if this bug has something in common, that always when I cutting *.mp4 videos, I need to select one additional advance frame to cut out exact scene I want.

Absolutely unrelated. The end point of a selection doesn't belong to the selection.

Quote from: cachaito on May 31, 2024, 06:45:05 PMSimilar is with Plugin called Still Image: I need always subtract ~0h:00m:00s,050 of clip duration to apply the still image effect for video.

At the first glance it looks like the stillimage filter treats the end of range as belonging to the range, which is probably a (minor) bug. Not sure, will need to check.


Ferdi

Error building Avidemux

I have been building Avidemux for quite a while but current git errors out on building the avidemux core.
More specific, it fails at linking libADM6swscale.so.8

extract from logbuildCore:
GEN    libavutil/libavutil.ver
LD    libavutil/libADM6avutil.so.59
LD    libpostproc/libADM6postproc.so.58
LD    libswscale/libADM6swscale.so.8
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x89a against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8a1 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8a8 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8af against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8b6 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8bd against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8c4 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x8cb against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x17d7 against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1866 against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x18e4 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x18eb against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x18f2 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x18f9 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1900 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1907 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x190e against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1915 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1bf4 against symbol `mul16_mid' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1bfb against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1c87 against symbol `mul16_mid' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1c8e against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d0c against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d13 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d1a against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d21 against symbol `mask24l' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d28 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d2f against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d36 against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x1d3d against symbol `mask24h' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x205f against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x220c against symbol `mul16_mid' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x2213 against symbol `mul15_hi' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x2399 against symbol `mask24r' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x23a0 against symbol `mask24g' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x23a7 against symbol `mask24b' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x2abc against symbol `mmx_ff' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x503a against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5041 against symbol `bFC' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5048 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x51fd against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5204 against symbol `bFC' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x520b against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x547a against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5481 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5488 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x563d against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x5644 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x564b against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x6445 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x644c against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x6453 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x65d5 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x65dc against symbol `bFC' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x65e3 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x6fc7 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x6fce against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x6fd5 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7105 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x710c against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7113 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7257 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x725e against symbol `bFC' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7265 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7385 against symbol `bF8' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x738c against symbol `bFC' can not be used; recompile with -fPIC
mold: error: /tmp/ccyQG0XH.ltrans7.ltrans.o:(.text): R_X86_64_PC32 relocation at offset 0x7393 against symbol `bF8' can not be used; recompile with -fPIC
collect2: error: ld returned 1 exit status
make[3]: *** [/home/ferdi/builds/avidemux/buildCore/ffmpeg/source/ffbuild/library.mak:119: libswscale/libADM6swscale.so.8] Error 1
make[3]: *** Waiting for unfinished jobs....

Ferdi

Bisecting blames this:
b9ac9582924a3b90aee9c286aa7d07407088f43d is the first bad commit
commit b9ac9582924a3b90aee9c286aa7d07407088f43d
Author: mean <fixounet@free.fr>
Date:   Fri Sep 6 17:57:48 2024 +0200

    remove lto, clang does not like mixing lto and not lto objects

 cmake/admFFmpegBuild_native.cmake | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

I am building with GCC 14.2

Ferdi

Confirmed, by reverting only commit b9ac9582924a3b90aee9c286aa7d07407088f43d I can successfully build Avidemux with current Head using GCC 14.2