LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-11-2006, 01:57 PM   #1
GTBlackwell
Member
 
Registered: Aug 2003
Location: MO, USA
Distribution: Mandrake 9.1/9.2(Laptop)
Posts: 117

Rep: Reputation: 15
ffmpeg: undefined symbol: audio_device


I installed transcode and tovid, and ran 'tovid -in "Daily Show - fool.wmv" -out tds.fool' and got the following output (from tovid.log):

[tovid]: /usr/local/bin/tovid -in Daily Show - fool.wmv -out tds.fool
[tovid]: Version 0.24
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Converting /home/gtblackwell/Shared/Daily Show - fool.wmv to compliant NTSC DVD format
[tovid]: Storing log and temporary files in /home/gtblackwell/Shared/tovid-temp.Bs9360
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Probing video for information. This may take several minutes...
[tovid]: The encoding process is estimated to require 126 MB of disk space.
[tovid]: You currently have 39610 MB available in this directory.
[tovid]: Analysis of file /home/gtblackwell/Shared/Daily Show - fool.wmv:
[tovid]: 320 x 240 pixels, 1000.000 fps
[tovid]: Duration (best guess): 00:03:00 (HH:MM:SS)
[tovid]: WMV2 video with ffwmav2 audio
[tovid]: Target format:
[tovid]: 720 x 480 pixels, 29.970 fps
[tovid]: m2v video with ac3 audio
[tovid]: 7840 kbits/sec video, 224 kbits/sec audio
[tovid]: Using auto-detected aspect ratio of 133:100 (override with -aspect)
[tovid]: No letterboxing necessary
[tovid]: Found 1000fps (wmv) source, setting input to 29.970 fps.
[tovid]: Use -fps to force a different input fps (see 'man tovid')
[tovid]: Forcing input to be treated as 30000:1001 fps.
[tovid]: Scaling picture to 720 x 480
[tovid]:
[tovid]: =========================================================
[tovid]:
[tovid]: Creating WAV of audio stream with the following command:
[tovid]: nice -n 0 mplayer -quiet -vc null -vo null -ao pcm:waveheader:file=audiodump.wav "/home/gtblackwell/Shared/Daily Show - fool.wmv"
MPlayer SuSE Linux 10.0 (i686)-Packman-4.0.2 (C) 2000-2005 MPlayer Team
CPU: Intel Pentium 4/Xeon Willamette (Family: 8, Stepping: 3)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Failed to open /dev/rtc: Permission denied (it should be readable by the user.)
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.
Playing /home/gtblackwell/Shared/Daily Show - fool.wmv.
ASF file format detected.
VIDEO: [WMV2] 320x240 24bpp 1000.000 fps 0.0 kbps ( 0.0 kbyte/s)
Clip info:
name:
author: Annihilation
copyright: 9/19/2002
comments:
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 32000 Hz, 2 ch, s16le, 32.0 kbit/3.12% (ratio: 4000->128000)
Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 320 x 240 (preferred csp: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 320x240 => 320x240 Planar YV12
Selected video codec: [null] vfm:null (NULL codec (no decoding!))
==========================================================================
Checking audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
AF_pre: 32000Hz/2ch/s16le
[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 32000Hz Channels: Stereo Format s16le
[AO PCM] Info: fastest dumping is achieved with -vc dummy -vo null
PCM: Info: to write WAVE files use -waveheader (default).
AO: [pcm] 32000Hz 2ch s16le (2 bps)
Building audio filter chain for 32000Hz/2ch/s16le -> 32000Hz/2ch/s16le...
Starting playback...


Exiting... (End of file)
[tovid]: Encoding WAV to ac3 format with the following command:
[tovid]: nice -n 0 ffmpeg -i audiodump.wav -ab 224 -ar 48000 -ac 2 -acodec ac3 -y "tds.fool.ac3"
ffmpeg: symbol lookup error: ffmpeg: undefined symbol: audio_device
[tovid]: Encode stopped, killing all sub processes
[tovid]: tovid encountered an error during encoding:
[tovid]: Couldn't create file: "tds.fool.ac3"

I have two questions:
A) How can I fix this problem?
B) If not, is there a way around the problem, since the audiodump.wav file tovid created is valid?
 
Old 01-11-2006, 03:18 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i think but am not sure you will need to install realtime linux security module into your kernel or do this as root
 
Old 01-12-2006, 12:18 AM   #3
GTBlackwell
Member
 
Registered: Aug 2003
Location: MO, USA
Distribution: Mandrake 9.1/9.2(Laptop)
Posts: 117

Original Poster
Rep: Reputation: 15
It doesn't work when I run the command as root, either. I'll try the realtime linux whatever thingy.
 
Old 03-27-2006, 11:17 AM   #4
GTBlackwell
Member
 
Registered: Aug 2003
Location: MO, USA
Distribution: Mandrake 9.1/9.2(Laptop)
Posts: 117

Original Poster
Rep: Reputation: 15
I reinstalled ffpmeg, transcode, libpostproc, etc. and tovid now runs perfectly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
undefined symbol: __gxx_personality_v0 yll Programming 2 02-05-2008 10:53 AM
snort failed: snort: symbol lookup error: undefined symbol: usmAES192PrivProtocol Emmanuel_uk Linux - Security 1 07-10-2005 11:29 AM
undefined symbol: X509_free irutgers Linux - Security 2 03-03-2005 08:15 PM
undefined symbol cout Tazzie76 Linux - Software 8 12-10-2004 03:09 PM
undefined symbol _ZN11KMainWindow4showEv danahata Slackware 0 02-25-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:59 AM.

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