News:

--

Main Menu

Making compiled Avidemux work

Started by bartmanus, February 22, 2014, 12:52:41 AM

Previous topic - Next topic

bartmanus

Hi!

I tried using the rpmFusion repository packages (2.6.4 at the moment) for some simple mp4 cuts but I experienced a crash when seeking in the file.

Because that version is old I won't post backtraces. And I also wanted to try to compile the latest stable version (2.6.7). I have finally managed to get the qt4 gui but when I try to load any video (ogv/mp4/avi) I get two error dialogs:
"Cannot find a demuxer for <filename>"
"Could not open the file"


From the wiki I gather that Avidemux source contains all necessary methods so an external library isn't needed. So why can't I open any file?

EDIT: I should explain how I compile and run the program. I don't generate packages, I just run it in-place:
bartmanus@tardis:~/bin/avidemux/avidemux_2.6.7$ bash bootStrap.bash
bartmanus@tardis:~/bin/avidemux/avidemux_2.6.7/install/usr/bin$ LD_LIBRARY_PATH=../../usr/lib64 ./avidemux3_qt4


Thanks for your help!

mean


bartmanus

#2
I missed some error output in the console! You are right, the plugins do not load. I didn't see the errors before, they are output in green color! May i suggest outputting such messages in bold yellow or even red?
bartmanus@tardis:~/bin/avidemux/avidemux_2.6.7/install/usr/bin$ LD_LIBRARY_PATH=../../usr/lib64 ./avidemux3_qt4
...
The screen seems to be 1920 x 1175 px
[initGUI]  OpenGL enabled at built time, checking if we should run it..
  [initGUI]  OpenGL not activated, not initialized
[ADM_mx_plugin] Scanning directory /usr/lib64/ADM_plugins6/muxers/
[ADM_av_plugin] Cannot parse plugin
[ADM_ad_plugin] Scanning directory /usr/lib64/ADM_plugins6/audioDecoder/
[ADM_ad_plugin] Cannot parse plugin
[ADM_av_plugin] Scanning directory /usr/lib64/ADM_plugins6/audioDevices/
[ADM_av_plugin] Cannot parse plugin
[ADM_ae_plugin] Scanning directory /usr/lib64/ADM_plugins6/audioEncoders/
[ADM_ae_plugin] Cannot parse plugin
[ADM_dm_plugin] Scanning directory /usr/lib64/ADM_plugins6/demuxers/
[ADM_av_plugin] Cannot parse plugin
[ADM_ve6_plugin] Scanning directory /usr/lib64/ADM_plugins6/videoEncoders/
[ADM_ve6_plugin] Cannot parse plugin
[ADM_vf_plugin] Scanning directory /usr/lib64/ADM_plugins6/videoFilters/
[ADM_vf_plugin] Cannot parse plugin
[ADM_vd6_plugin] Scanning directory /usr/lib64/ADM_plugins6/videoDecoders/
[ADM_vd6_plugin] Cannot parse plugin
[ADM_ad_plugin] Scanning directory /home/bartmanus/.avidemux6/plugins6/audioDecoder/
[ADM_ad_plugin] Cannot parse plugin
[ADM_vf_plugin] Scanning directory /home/bartmanus/.avidemux6/plugins6/videoFilter/
[ADM_vf_plugin] Cannot parse plugin
Device not found :PulseAudioS
Found 0 video encoder(s)
Found 1 audio encoder(s)
Found 0 format(s)
[UI_RunApp]  Checking for crash...
  [postInit]  myQApplication exec
  [postInit]  Checking for crash...
ignored: config2
ignored: custom
[ADM_ae_plugin] Cannot parse plugin
...


In the end I decided to rebuild with rpm packages and forcefully install everything because there are unresolved dependencies when rpm check for them:
$ bash bootStrap.bash --rpm
# rpm -i --nodeps ~/bin/avidemux/avidemux_2.6.7/debs/avidemux3-*rpm

avidemux now starts but I have the same crash as in version 2.6.4. I will try svn next.