News:

--

Main Menu

OpenGl changes

Started by mean, December 21, 2015, 07:41:48 PM

Previous topic - Next topic

mean

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

Jan Gruuthuse

#1
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?

mean

No, it crashes esaily with filters/AMD (or ATI same difference)

Jan Gruuthuse

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)

RoadRanger

OpenGL rotate on an Intel dual core processor and Windows 10 crashes every time :( .

mean


RoadRanger

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 :) .

mean

ah
I think it was fixed in the ffmpeg3 branch

RoadRanger

#8
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.

RoadRanger

I assume I can't just "drop in" the new ffmpeg as it has a different number in the filenames than what you provide?

mean

we dont use ffmpeg, only the libav* libraries

RoadRanger

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 :) .

mean

you can try the ffmpeg3 binaries, mostly the win32
The fix should be in there
http://avidemux.org/nightly/win32_ffmpeg3/

RoadRanger


RoadRanger

No, still requires MMX disabled to not crash.