I've made some changes on the openGl part
Now it should work on all system, at least the accelerated display part. The filters might or might not
To test it, enable openGl, select openGl as display and restart avidemux
On the left hand side, you should see LavCodec/QtGl or VDPAU/QtGL
Browse a bit throught the video, if all is ok, display works
Add a rotate video filter, 20 Degré for example, and click preview
If it displays ok and the video is rotated, filters work
For information here is my local status :
First column is display, 2nd is filter
Intel :
Linux : OK / OK (display seems a bit slow)
Windows : OK/OK
AMD:
Windows : OK/ KO
Works fine on Ubuntu 14.04.3 (64-bit). On playing screenshot
- Display: marked in green
- Filter: marked in red
- Preview: marked in yellow
Applied filter: OpenGL: OpenGL Rotate 20Ã,°
nvidia GeForce GTX 960
Ubuntu : VDPAU OK / QtGl OK (runs smooth)
issue from long time ago:
The green pinkish display issue seems to be gone to (as far as I tested)ps:
QuoteAMD:
Windows : OK/ KO
fat fingered, I presume?
No, it crashes esaily with filters/AMD (or ATI same difference)
ow.
Applied filter: OpenGL: OpenGL Rotate 20Ã,°
nvidia GeForce GTX 960
Ubuntu : Lavcodec OK / XVideo OK (runs smooth)
even preview OpenGL Fragment Shader Sample2 (runs fluently)
OpenGL rotate on an Intel dual core processor and Windows 10 crashes every time :( .
With 2.6.12 ?
Quote from: mean on June 13, 2016, 05:09:03 AM
With 2.6.12 ?
Yes, with both the x64 and x32 builds. But ... I just found that turning off CPU MMX support lets it work :) .
ah
I think it was fixed in the ffmpeg3 branch
Quote from: mean on June 13, 2016, 05:46:51 AM
ah
I think it was fixed in the ffmpeg3 branch
I believe ffmpeg3 also has degree resolution rotation now :) - but I don't know if avidemux could "preview" that :( ? The built-in AVC codec is no longer experimental and I have been using that with my command line conversions :) and would prefer to use that in Avidemux. Also the dynaudnorm audio filter is quite good and probably better for most people than Avidemux's present -3db normalization option :) . The changelog mentions a number of other new filters but I haven't checked them out yet.
I assume I can't just "drop in" the new ffmpeg as it has a different number in the filenames than what you provide?
we dont use ffmpeg, only the libav* libraries
Quote from: mean on June 13, 2016, 06:56:05 AM
we dont use ffmpeg, only the libav* libraries
The "shared" version for Windows has those libraries. It's the "standalone" version that is all-in-one. In any case I'm good with disabling MMX support when using openGL filters for now :) .
you can try the ffmpeg3 binaries, mostly the win32
The fix should be in there
http://avidemux.org/nightly/win32_ffmpeg3/
I'll try it, thanks!
No, still requires MMX disabled to not crash.
I'll have a look, thanks for the info
Since i've updated the compiler for win64, i dont see it anymore
I used to reproduce it with virtualbox
"Maybe" fixed
Just downloaded the latest x64 nightly build and now it crashes even with MMX disabled :( :
EXCEPTION_ACCESS_VIOLATION
sws_getCachedContext [swscale-4.dll]
ADM_setCrashHook [libADM_core6.dll]
ADM_setCrashHook [libADM_core6.dll]
ADM_setCrashHook [libADM_core6.dll]
UnhandledExceptionFilter [KERNELBASE.dll]
memset [ntdll.dll]
_C_specific_handler [ntdll.dll]
_chkstk [ntdll.dll]
RtlWalkFrameChain [ntdll.dll]
KiUserExceptionDispatcher [ntdll.dll]
sws_getCachedContext [swscale-4.dll]
I downgraded back to the latest x64 2.6 release version and verified that I can run the openGL rotate filter with MMX disabled.
Is there any other diagnostic log that I can send you?
I assume you are running win10/64 or similar ?
I think i've found the problem
*Maybe* fixed
Nope
Quote from: mean on June 16, 2016, 06:32:25 AM
I assume you are running win10/64 or similar ?
Yes
I've found a way to easily reproduce it, should be quick to fix
I think this time it is ok,
http://avidemux.org/nightly/win64_ffmpeg3/avidemux_2.6.12_r160617_win64.exe
Weird, I was able to"play filtered" the first time but when I went into the filter page and tried "preview" it crashed, and now I'm back to it crashing every time even with MMX disabled. However - I'm running an FFMPEG conversion AND the release Avidemux in the background doing a conversion/save on a segment of my 11 hour file so maybe there's some interaction? I'll try again after those have completed.
Quotemaybe there's some interaction
Maybe, if both are using OpenGl simultaneous. Have similar with vdpau, can only support one Avidemux instance on vdpau (GPU-accelerated) or if something else grabbed vdpau on gpu.
Or perhaps you're reaching the limit of the hardware resources (
keep an eye on cpu temperature) ffmpeg + twice avidemux running (re-encoding?) that is heavy usage.
Quote from: Jan Gruuthuse on June 18, 2016, 07:38:51 AMOr perhaps you're reaching the limit of the hardware resources (keep an eye on cpu temperature) ffmpeg + twice avidemux running (re-encoding?) that is heavy usage.
I actually had my CPU "locked" to half speed for a couple months because the heatsink was clogged up with dust (fan on high speed all the time and CPU temp ~74C) and you're supposed to disassemble this Toshiba Satellite C55-A to clean it. But I'm lazy so today I just sucked air backwards through the fan inlet (with a high power shop vac) and that seems to have cleared things out. While I was at it I vacuumed out all the openings and the keyboard too but I made sure to do the heatsink air outlet last to not really jam in the dust. Now I'm at 63C at full clock vs the 75C at half clock before :) .
In any case I have 8GB of memory so have had no problem running multiple conversions in the past - even on this 2020M low end dual core non-hyperthreaded CPU.
I just tried the nightly mentioned above right after a reboot and it crashes MMX enabled or not :( . I just started up another conversion/edit on the released version and it's running fine.
I cannot reproduce it. I tried on my laptop (win10 + intel graphics) & on virtual box with openGl enabled
All is fine
Could you detail what you do ? Maybe there is something more to trigger it