Page 1 of 1

Update of ffmpeg libraries to the lastet version 4.4.1

Posted: Wed Oct 27, 2021 6:49 pm
by masterjp
I could see that XnViewMP uses the ffmpeg shared libraries for different jobs (e.g. video playback, etc.).
Maybe you can update the files to the lastest version 4.4.1, because the current files are from an earlier ffmpeg (4.x) release of 2020.

I replaced them in the XnViewMP directory by myself and they work without any problems.

Re: Update of ffmpeg libraries to the lastet version 4.4.1

Posted: Mon Nov 22, 2021 5:12 pm
by xaeiou
masterjp wrote: Wed Oct 27, 2021 6:49 pm I could see that XnViewMP uses the ffmpeg shared libraries for different jobs (e.g. video playback, etc.).
Maybe you can update the files to the lastest version 4.4.1, because the current files are from an earlier ffmpeg (4.x) release of 2020.

I replaced them in the XnViewMP directory by myself and they work without any problems.
Running XnViewMP Version 0.99.1 64bits (Sep 23 2021) under Ubuntu 21.04 I was not getting thumbnails for most flv videos, and also not able to play these videos within XnViewMP. When I setup XnViewMP to "open with" an external video player like mpv it also would not play the videos I guess because of the library path being used. I could play these videos by dropping them directly onto mpv myself.

I replaced the ffmpeg libraries included with XnViewMP with links to the libraries installed by the standard ffmpeg package for the Ubuntu 21.04 distro, and this fixed all my problems with thumbnail generation and playback of flv:

Code: Select all

cd /opt/XnView/lib
mv libavformat.so.58  libavformat.so.58.old
mv libavcodec.so.58 libavcodec.so.58.old
mv libavdevice.so.58  libavdevice.so.58.old
mv libavfilter.so.7 libavfilter.so.7.old
mv libavutil.so.56  libavutil.so.56.old
ln -s /usr/lib/x86_64-linux-gnu/libavformat.so.58.45.100 libavformat.so.58
ln -s /usr/lib/x86_64-linux-gnu/libavcodec.so.58.91.100  libavcodec.so.58 
ln -s /usr/lib/x86_64-linux-gnu/libavdevice.so.58.10.100 libavdevice.so.58 
ln -s /usr/lib/x86_64-linux-gnu/libavfilter.so.7.85.100 libavfilter.so.7
ln -s /usr/lib/x86_64-linux-gnu/libavutil.so.56.51.100  libavutil.so.56 
To revert back to the ffmpeg libraries bundled with XnView MP:

Code: Select all

cd /opt/XnView/lib
rm libavformat.so.58
rm libavcodec.so.58 
rm libavdevice.so.58 
rm libavfilter.so.7
rm libavutil.so.56 
mv libavformat.so.58.old  libavformat.so.58
mv libavcodec.so.58.old libavcodec.so.58
mv libavdevice.so.58.old libavdevice.so.58
mv libavfilter.so.7.old libavfilter.so.7
mv libavutil.so.56.old  libavutil.so.56

Re: Update of ffmpeg libraries to the lastet version 4.4.1

Posted: Fri Nov 26, 2021 7:37 pm
by masterjp
FLV video files are an old container format for flash videos or other movies. Flash player is no longer supported by chrome, firefox and other browsers. Every popular browser removed this standard. The flv files contain a h263/h264 or flash video stream and mp3/aac sound, which you can convert to a mp4 container file without any loss and transcoding. Only a few video streams make problems.

You can convert them very easily with Xmedia Recode (Windows) or other video tools in batch mode at once.

Re: Update of ffmpeg libraries to the lastet version 4.4.1

Posted: Mon Dec 06, 2021 1:51 pm
by xaeiou
masterjp wrote: Fri Nov 26, 2021 7:37 pm FLV video files are an old container format for flash videos or other movies. Flash player is no longer supported by chrome, firefox and other browsers. Every popular browser removed this standard. The flv files contain a h263/h264 or flash video stream and mp3/aac sound, which you can convert to a mp4 container file without any loss and transcoding. Only a few video streams make problems.

You can convert them very easily with Xmedia Recode (Windows) or other video tools in batch mode at once.
Totally agree with you. There are just times when I'm delving into dusty old archives where I don't want to touch the files for various reasons, and XnView is my goto "browser" for doing that (much prefer it to my file browser), so it's good to have XnView capable of handling these files :)