News:

--

Main Menu

Recent posts

#51
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by Dave9 - March 13, 2025, 08:21:38 PM
SUCCESS!

I have done a few things.  I updated python to 3.13.2, which didn't seem to make a difference, unless I needed to reboot first but didn't before testing.  I see you posted about that and no surprise that it didn't make a difference.

Next I deleted the contents of the Avidemux installation folder.  I had thought that installing a new version over-top of the old was acceptable since it sees the old version, wants to install to the same folder it's in, and offers to keep the settings, but apparently not.

After clearing out the installation folder, reinstalled same version 2.8.2 r241212 again to that folder, standard install, and it has no problem with No Disk message, none of the other errors I posted about, ("so far" no errors at all), and it does use the script properly now to sequentially name and save PNG for all the frames instead of only the first 37 frames.

Thank you for the guidance!

Sorry that my replies were not more prompt.  I have this topic showing "Receive Emails and Alerts", and double checked that my profile has a valid gmail account listed, but I have not been receiving any email updates for this topic.  Gmail doesn't show them marked/blocked as spam either.
#52
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by eumagga0x2a - March 13, 2025, 07:41:32 PM
I should probably add that I use ZIP-packaged Avidemux builds for testing purposes on Windows (there are no other reasons for me to boot it in the first place), unless I specifically plan to test the installer. I extract it into an empty directory and run the graphical executable simply by clicking on it in the Windows Explorer window.

Usually, there are quite a few different builds in different locations, but they are never extracted over another build and also never run concurrently.
#53
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by eumagga0x2a - March 13, 2025, 07:28:20 PM
Quote from: Dave9 on March 13, 2025, 06:57:15 PMAnother thing I wondered about, is whether that script needs a certain version of python to work?

It doesn't rely on any (external) Python interpreter at all. The minimal subset of Python Avidemux uses is contained in the libADM_script_tinyPy.dll plugin.
#54
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by eumagga0x2a - March 13, 2025, 07:22:35 PM
While I was doing previous testing on Linux with a local build off the latest code (including bundled FFmpeg updated to 7.1.1), now I retried on Windows 11 24H2 with official r241212 nightly and a 30000/1001 (29.97) fps video – both working flawlessly.

Mixing different Avidemux builds in a same directory and also running multiple Avidemux instances simultaneously is a known recipe for a disaster, please rule out that any of above may be the case.

Once I have solved or at least understood the issue of decoding errors with H.264 streams in MPEG-TS containers, I'll request a regeneration of the official environment for cross-compiling Avidemux, which should ultimately produce a working fresh nightly build.
#55
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by Dave9 - March 13, 2025, 06:57:15 PM
Another thing I wondered about, is whether that script needs a certain version of python to work?
#56
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by Dave9 - March 13, 2025, 05:35:48 PM
If collision means other files with same name, no there weren't. 

I just tried again, made an empty directory S:\test, and I was mistaken about 36 frames, it's making 37 counting the first (name)-00000.png

I recall once in the past, you stated that a script that works with one version of Avidemux may not work with another, when I had some scripts that stopped working after updating to a newer Avidemux.


Could this be the problem?  I'm using  ver. 2.8.2 r240601.   I just checked the nightly build folders and assuming it's the newest (?) will try avidemux_2.8.2 r241212_win64  when I get a chance.

Edit:  Okay I tried 2.8.2 r241212 and it is unusable for my purposes.  The prior r240601 just works without errors but when I installed it over top of the existing r240601, but now when I try to load a video with it, I get an error message titled avidemux.exe - No Disk, with the text box reading:  There is no disk in the drive.  Please insert a disk into drive \Device\Harddisk2\DR2"

I have to click cancel on that error message 4 times, then get a box titled avidemux and with text reading:  Exception Filter  The application has encountered a fatal problem.   The current editing has been saved and will be related at next start.

If I click show details on that box, it reads:

EXCEPTION_ACCESS_VIOLATION
unknown function  [unknown module]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
ADM_setCrashHook  [libADM_core6.dll]
UnhandledExceptionFilter  [kernel32.dll]
MD5Final  [ntdll.dll]
_C_specific_handler  [ntdll.dll]
RtlDecodePointer  [ntdll.dll]
RtlUnwindEx  [ntdll.dll]
KiUserExceptionDispatcher  [ntdll.dll]

Lastly I then get a Microsoft Visual C++ Runtime Library titled error box that reads:  This application has requested the Runtime to terminate in an unusual way.  Please contact the application's support team for more information, and then a box that Avidemux has stopped working, with the following in that box:

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name:   avidemux.exe
  Application Version:   2.8.2.24347
  Application Timestamp:   675a79da
  Fault Module Name:   avidemux.exe
  Fault Module Version:   2.8.2.24347
  Fault Module Timestamp:   675a79da
  Exception Code:   40000015
  Exception Offset:   0000000000066f66
  OS Version:   6.1.7601.2.1.0.256.1
  Locale ID:   1033
  Additional Information 1:   729b
  Additional Information 2:   729bf63e6f87e18addec5edfdb9fd72d
  Additional Information 3:   68f9
  Additional Information 4:   68f9ad1f8ca9a5386b5cbae12ea78f84

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


I don't know if the 2nd error box message is related to the first, but i do know what is causing the No Disk message, which is a USB card reader, permanently connected in a computer case bay, that reserves the drive letter D:\ even with no media in it.   I have only come across this situation one time in the past, and that app could load without generating the No Disk error message by putting a flash card in the reader, or be reassigning the drive letter for it to be later in the alphabet like X:\, but reassignment is a bit trickier because I have some backup programs that handle USB flash drives and their drive letters get reassigned if I move the flash card reader off of D:\

I should also add that if I just try to load Avidemux from the start menu, rather than my normal method of right clicking on a file to bring up a context menu to Open With Avidemux, or my other usual method of dragging a file into Avidemux, then I don't see any of these error messages, but then once I use Avidemux's File - Open menu item, I again get the Exception Filter error message stated above, and then Avidemux closes.

I put a flash card in the D:\ reader and that got rid of the No Disk error, but the other errors remain, so will get back to it later.   It's starting to seem much  easier to just run my rename-files, batch job twice.  :)
#57
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by eumagga0x2a - March 13, 2025, 07:48:32 AM
Was the target directory empty? The script should abort if there is a collision, if I am not mistaken. I tested it successfully outputting a few hundred PNG images for a selection of also roughly 8 seconds at 50 fps.
#58
Main version 2.6 / Re: Save Selection As JPEG - Q...
Last post by Dave9 - March 13, 2025, 02:39:21 AM
Quote from: eumagga0x2a on March 07, 2025, 06:12:58 PMHere comes a version of the script which saves up to 99999 sequentially named PNG files from a selection:



That you but something is going wrong.

I saved it as a .py script, chose it  on the custom menu choice, for a selection of video as usual, but it is only saving 36 PNG files, seemingly sequential frames, in a test where I selected 8 seconds worth of 29.97 FPS video.
#59
User interface and Usability / Re: Keybinding to skip 1, 5, 2...
Last post by szlldm - March 08, 2025, 07:17:56 PM
You can use the navigation slider, or the jog wheel.
#60
There is this really useful keybinding to skip forward and backwards to keyframes which allows me to seek through videos pretty fast...

But not fast enough. I would love to have an option to not jump to the next but the fifth, twentieth or just n keyframe.

Why?

I often cut recordings from games which are HUGE. Usually 3-6 hours and 50-200GByte big and I have to cut out a lot. Finding the good bits is utterly tedious, even with my 5Hz 12 core system and an SSD peaking at 6GByte/s my system barely is fast enough for tripple replay speed. Skipping more keyframes would be a BLAST for productivity for me.

Many thanks for listening to me.