LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-04-2010, 11:03 AM   #1
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260
Blog Entries: 1

Rep: Reputation: 60
Question vlc 1.1.0rc2 and avidemux 2.5.3 errors.


I recently upgraded my VLC and Avidemux from AlienBOB's Repo.

With VLC media player 1.1.0-rc2, i get the following error when i try to play a video:

Code:
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
libva: libva version 0.31.0-sds6
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
Segmentation fault
I have both libva and vdpau-video package installed. I am using a 9600GT with the proprietary driver (256.25) from nvidia.

Here is my output of vainfo:
Quote:
|__> vainfo
libva: libva version 0.31.0-sds6
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA API - 0.6.9
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
------------

I case of Avidemux 2.5.3, I'm getting the following error:

Code:
avidemux2_gtk: relocation error: avidemux2_gtk: symbol av_guess_format, version LIBAVFORMAT_52 not defined in file libADM5avformat.so.52 with link time reference
however, Avidemux 2.5.2 runs fine!

ALso,
i am running Slackware 13.1 with a multilib setup.

Last edited by slackd; 06-04-2010 at 11:04 AM.
 
Old 06-04-2010, 11:18 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I tried vlc-1.1.0-rc2 and it plays fine mkv-h264-720p video with 256.25 from nvidia (installed from the nvidia installer), but I don't have libva and vdpau-video packages installed.

also avidemux 2.5.3 seems to run fine.

in both cases I grabbed the prebuilt packages from ftp://ftp.slackware.org.uk/people/al...d_slackbuilds/

still fyi, I got the stock 13.1 slackware packages in my install (plus these) and run multilib too.

maybe for that avidemux plugin you need a newer ffmpeg (it should be in alien's repo too).

Last edited by ponce; 06-04-2010 at 11:27 AM.
 
Old 06-04-2010, 11:38 AM   #3
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260

Original Poster
Blog Entries: 1

Rep: Reputation: 60
Red face

A small update:

vlc is running fine after i removed the libva and vdpau-video packages.

and i am running the latest ffmpeg build from AlienBOB's repo, still getting the error while running avidemux!
 
Old 06-05-2010, 07:32 AM   #4
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260

Original Poster
Blog Entries: 1

Rep: Reputation: 60
Unhappy

i tried recompiling avidemux 2.5.3 from source using alienbob's slackbuild. The build completes successfully. However, when i try to execute the program, it exits with the same error:

Quote:
Found 3 video encoder
Found 9 audio encoder
Found 0 Copy audio encoder
Found 1 Vorbis audio encoder
Found 2 MP3 (lame) audio encoder
Found 3 AC3 (lav) audio encoder
Found 4 AC3 (Aften) audio encoder
Found 5 MP2 (Twolame) audio encoder
Found 6 PCM audio encoder
Found 7 AAC (Faac) audio encoder
Found 8 MP2 (lav) audio encoder
[AudioEncoder] Selected copy for index 0, tag 0x0
Found 13 Format
Directory /home/sam/.avidemux/custom/ exists.Good.
No custom script
Found 0 custom scripts, adding them
Menu built
The screen seems to be 1440 x 900 px
Not interested in /dev/input/event0: AT Translated Set 2 keyboard (bus 0011 vendor 0001 product 0001 version ab41)
Not interested in /dev/input/event1: Logitech USB-PS/2 Optical Mouse (bus 0003 vendor 046d product c051 version 0110)
Not interested in /dev/input/event2: Power Button (bus 0019 vendor 0000 product 0001 version 0000)
Not interested in /dev/input/event3: Power Button (bus 0019 vendor 0000 product 0001 version 0000)
No physical Jog/Shuttle device found.
avidemux2_gtk: relocation error: avidemux2_gtk: symbol av_guess_format, version LIBAVFORMAT_52 not defined in file libADM5avformat.so.52 with link time reference
Here is the output of ldd:

Quote:
|--[ root ][ /home/sam ]
|__> ldd /usr/lib64/libADM5avformat.so.52
/usr/lib64/libADM5avformat.so.52: /usr/lib/libADM5avutil.so.50: no version information available (required by /usr/lib64/libADM5avformat.so.52)
/usr/lib64/libADM5avformat.so.52: /usr/lib/libADM5avcodec.so.52: no version information available (required by /usr/lib64/libADM5avformat.so.52)
linux-vdso.so.1 => (0x00007fff01bff000)
libADM5avcodec.so.52 => /usr/lib/libADM5avcodec.so.52 (0x00007f3e85147000)
libADM5avutil.so.50 => /usr/lib/libADM5avutil.so.50 (0x00007f3e84f38000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3e84cb4000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3e84a97000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3e84722000)
libz.so.1 => /usr/lib64/libz.so.1 (0x00007f3e8450d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3e85bee000)

Last edited by slackd; 06-05-2010 at 07:37 AM.
 
Old 06-09-2010, 03:20 AM   #5
euthymos
LQ Newbie
 
Registered: Jun 2010
Posts: 1

Rep: Reputation: 0
I have the same problem at compiling. Please help.
 
Old 06-09-2010, 04:01 AM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Did you try removepkg first, and then installing ffmpeg / avidemux?
The error message you're getting is consistent with an update in the libraries without a SONAME bump. This is also consistent with having multiple libraries installed in different locations. Like installing ffmpeg package, then compiling with skipped --prefix/--libdir options. Or using installpkg instead of upgradepkg. If you used installpkg to upgrade ffmpeg / avidemux, the older libraries with different SONAME's would be left behind. upgradepkg would only catch one instance of the installation, not both.

I'd double check that the libraries from the older avidemux and ffmpeg are removed.
 
1 members found this post helpful.
Old 06-09-2010, 05:31 AM   #7
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I have my own packages installed (ffmpeg, avidemux, vlc and many more), and have none of these library version errors.

Eric
 
Old 06-09-2010, 07:25 AM   #8
slackd
Member
 
Registered: Sep 2009
Location: Bangalore, India
Distribution: Fedora, Slackware, Arch Linux
Posts: 260

Original Poster
Blog Entries: 1

Rep: Reputation: 60
Quote:
Originally Posted by disturbed1 View Post
Did you try removepkg first, and then installing ffmpeg / avidemux?
The error message you're getting is consistent with an update in the libraries without a SONAME bump. This is also consistent with having multiple libraries installed in different locations. Like installing ffmpeg package, then compiling with skipped --prefix/--libdir options. Or using installpkg instead of upgradepkg. If you used installpkg to upgrade ffmpeg / avidemux, the older libraries with different SONAME's would be left behind. upgradepkg would only catch one instance of the installation, not both.

I'd double check that the libraries from the older avidemux and ffmpeg are removed.
disturbed1,

Brilliant suggestion,

Turns out, i had old libraries installed in /usr/lib from a botched compile of avidemux a few months ago.

Code:
|__> locate libADM5
              
/usr/lib64/libADM5avcodec.so.52
/usr/lib64/libADM5avformat.so.52
/usr/lib64/libADM5swscale.so.0
/usr/lib64/libADM5postproc.so.51
/usr/lib64/libADM5avutil.so.50
/usr/lib/libADM5avcodec.so.52
/usr/lib/libADM5avformat.so.52
/usr/lib/libADM5swscale.so.0
/usr/lib/libADM5postproc.so.51
/usr/lib/libADM5avutil.so.50

|--[ root ][ /win/e/slackware/pkg64 ]
|__> cd /usr/lib  
  
|--[ root ][ /usr/lib ]
|__> rm -rf libADM5*

removed `libADM5avcodec.so.52'
removed `libADM5avformat.so.52'
removed `libADM5avutil.so.50'
removed `libADM5postproc.so.51'
removed `libADM5swscale.so.0'
After the following operation, avidemux2 runs perfectly!!

Thanks a Lot.
 
  


Reply

Tags
vlc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Avidemux 2.4 & 2.5 .xsession-errors nimnull22 Linux - Software 4 07-25-2009 12:31 AM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM
vlc errors in 10.3 swampdog2002 SUSE / openSUSE 4 10-12-2007 10:10 PM
VLC - Mux/Demuxer errors trek413 Linux - Software 2 10-13-2006 04:07 PM
avidemux 2.0.36 from source install errors Help! Blue1K Linux - Software 1 02-25-2005 11:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration