libavdevice.so.52: cannot open shared object file
| Project: | FlashVideo |
| Version: | 6.x-1.5-rc4 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
I am having some issues with Flashvideo not converting videos to flv. Each time I try, I get the following error log in my ffmpeg_data table:
Command: ../bin/ffmpeg -i "/home/username/mydomain.com/sites/all/themes/mytheme/files/videos/test-video.wmv" -f flv -acodec mp3 -ar 22050 -ab 64k -ac 1 "/home/username/mydomain.com/sites/all/themes/mytheme/files/videos/test-video_11.flv"
Data: ../bin/ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
I have installed ffmpeg using the documentation found at the Dreamhost wiki found here: http://wiki.dreamhost.com/FFmpeg
My bin folder is in our root folder, not within the mydomain.com/ folder. So I have set the ffmpeg Path as ../bin/ffmpeg inside the Universal Settings.
The lib folder is also found in the root folder so not sure why it would not be pulling the libavdevice.so.52 file.
Can someone please suggest to me where I am going wrong? I can't figure out if it is due to my ffmpeg path or the actual destination of the ffmpeg installation. Any help with this would be greatly appreciated.
Jason

#1
Ok so far no help but I have made some extra findings that could encourage someone with more experience than me to please offer some ideas. Right now I am sort of fresh out.
I have discovered that my host doesn't have the required libavdevice.so.52 file in their root folder. The libavdevice.so.52 file that installs with ffmpeg seems to simply be a symlink to the default root/lib location. The same folder that doesn't have the required libavdevice.so.52 file.
So my question is, is there a way to install the required lib files in an area I do have access to and direct ffmpeg to use that folder instead?
#2
It turns out removing the --enable-shared prefix from my installation solved the avdevice.so.52 issue. So if anyone else is having the libavdevice.so.52 issue, try installing ffmpeg in shell without the --enable-cross-compile --enable-shared prefix.
On to a different issue, I tried converting my first .wmv file as a test but it came back with an error "Seems stream 1 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 15.00 (15/1)". Does anyone have any ideas as to what would cause this error? Do I need to change configuration settings of ffmpeg?
Jason