Adventures with no picture in VLC and compiling FFMPEG
Whenever I try to open videos with VLC, Video doesn't play.
The audio plays fine. My other video players can play them. I've tried going into >preferences>output modules> advanced and trying different modes starting with X11 and trying others. I tried removing vlc and ffmpeg Code:
dpkg --force-depends --purge vlc ffmpeg Code:
rm -rf ~/.vlc/ I've also tried Code:
apt-get source -b ffmpeg vlc Code:
Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled So I try to install ffmpeg from subversion with dhmake: (should I choose single/multiple/ or library?) Code:
#dh_make --create-orig |
You need to do what is says and build ffmpeg without swscaler support, probably using './configure --disable-swscaler'.
|
I had this happen to me on vlc 32 bit after I was messing around with the video stuff. Have you tried within vlc using Settings->Preferences->Reset All?
|
|
Quote:
Code:
vlc -v --reset-plugins-cache Code:
cannot load module `/usr/lib/vlc/codec/libffmpeg_plugin.so' (/usr/lib/vlc/codec/libffmpeg_plugin.so: undefined symbol: img_resample) |
Quote:
Code:
libavdevice/Makefile:1: libavdevice/../config.mak: No such file or directory |
Have you tried using the the standard './configure; make; make install' ? It works for me that way.
|
I would like to use dh_make for the ease of adding and removing. I can check to see if checkinstall is any easier.
As far as the default configuration goes; I was thinking I should enable at list a few of these. I haven't had a chance to look them all up. Code:
libamr-nb support no |
sure you should enable some, but remember to get the dependencies first
|
I used checkinstall things seem to have worked. I'm using ffmpeg right now and it works. I'll check on compiling vlc.
--Side note: It seems to me that dh_make worked a little better at making debs a while ago, but recently I've had more success with checkinstall. |
I'm compiling VLC now. For my configuration I'll use :
Code:
./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --with-live555-tree=/usr/lib/live --enable-caca --enable-skins --enable-skins2 --enable-alsa --disable-kde --enable-qt4 --enable-ncurses --enable-release Code:
./configure --enable-x11 --enable-xvideo --disable-gtk --enable-sdl --enable-avcodec --enable-avformat --enable-swscale --enable-mad --enable-libdvbpsi --enable-a52 --enable-libmpeg2 --enable-dvdnav --enable-faad --enable-vorbis --enable-ogg --enable-theora --enable-faac --enable-mkv --enable-freetype --enable-fribidi --enable-speex --enable-flac --enable-live555 --enable-caca --enable-skins --enable-skins2 --enable-alsa --enable-kde --enable-ncurses --enable-qt4 --enable-release Code:
export CFLAGS="-march=athlon64 -mtune=athlon64" In the mean time I notice I've hosed noatun. It worked well until yesterday and now even if I start it on the command line it quietly dies... |
Well for the .configure of ffmpeg in order to enable swscale gpl has to be enabled. I don't know which is better. I like the sound of having swscale in vlc so I'll try that.
For ffmpeg: Code:
./configure --enable-gpl --enable-swscale |
Either way you must either disable swscale in both or enable it in both.
|
Right. What do you think about using swscale?
Now when I make VLC I get the error message: Code:
/usr/bin/ld: /usr/local/lib/libavcodec.a(allcodecs.o): relocation R_X86_64_32 against `aasc_decoder' can not be used when making a shared object; recompile with -fPIC |
Code:
Your FFmpeg library doesn't have the needed img_resample() function. You should rebuild it with software scaler disabled Code:
Code:
vlc: error while loading shared libraries: libvlc.so.2: cannot open shared object file: No such file or directory |
All times are GMT -5. The time now is 01:36 AM. |