Dolphin and MTS file

Hi everyone.
Could you please tell me how to get Dolphin to show previews for *.mts files without installing opi codecs?
Thanks.

.mts files like the ones available from https://toolsfairy.com/video-test/sample-mts-files# show and play here with just the default installation, or maybe try to install ffmpeg-7 and its dependencies from Packman.
They should use an MPEG2 codec and MPEGTS container.
Things might be different with .mts files from camcorders? So an example of what you don’t see might be useful.

The content at the link displays correctly. But these are files from the video camera.
Is this the right way to do it?

sudo zypper ar -p 90 -f https://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials/ packman-essentials
sudo zypper in --from packman-essentials libavcodec-full

Will the system remain intact during the update?
Or will there be issues with codecs?
Merci.

I don’t know what libavcodec-full is. Since you apparently are on Tumbleweed I would use sudo zypper in --from packman-essentials libavcodec62
If that is not enough maybe you need sudo zypper in --from packman-essentials ffmpeg-7which should bring in a handful of dependencies.
And I would use -p 110 for packman-essentials, since you don’t want to install a random package from that (hence a lower 110 priority) unless you explicitly choose so.
Generally speaking, if you switch the whole ffmpeg-7 chain to packman there should be no issue with codecs, while if you only install libavcodec you may occasionally have to wait to update until packman and oss have matching versions.

1 Like

Thank you. Everything is working.

Nice to hear. BTW libavcodec-full is a “capability”, not a package, provided by the packman version of libavcodec62; so your original command would install that same libavcodec62 from packman-essentials.

1 Like

Thanks again. :+1:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.