I’d like to use subtitleeditor with m2ts files.
I installed subtitleeditor 0.54.0-6.2
Previously I installed the media packages as explained in the first post.
Now when I open a m2ts file I get the error message: “GStreamer plugins missing The playback of the movie requires the decoder audio/x-private-ts-lpcm decoder”
I can’t find anything related to “private” or “lpcm” in the packages list.
Please could you tell me if I should remove “home:/xxx…” repositories after install or disable and Not auto-refresh is enough?
also do a full vendor change to packman
This is done for long
zypper in gstreamer-plugins-bad
Loading repository data...
Reading installed packages...
'gstreamer-plugins-bad' is already installed.
No update candidate for 'gstreamer-plugins-bad-1.8.3-8.14.x86_64'. The highest available version is already installed.
Resolving package dependencies...
Nothing to do.
I don’t have an m2ts file and subs to test but according to the gstreamer developers decoding of audio/x-private-ts-lpcm is done by /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so so check if you have that file
ls /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so
I would recommend cleaning the gstreamer cache as that could cause plugin issues
rm -r ~/cache/gstreamer-1.0/
a lot of codec patents ended recently in turn the gstreamer-plugins-bad package from opensuse contains support for more formats inc mpeg2 so you could try switching that package to the opensuse one
zypper in -f gstreamer-plugins-bad --from 2
I really think the packman build should work, and aside from corrupt gstreamer cache (which does happen quite regularly) I can’t think of a reason for your issue, the only fix I can think of is cleaning the cache and if that doesn’t work maybe trying gstreamer-plugins-bad from OSS
ls /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so
/usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so
~ # rm -r ~/cache/gstreamer-1.0/
rm: cannot remove '/root/cache/gstreamer-1.0/': No such file or directory
loja:~ # ls /usr/lib64/gstreamer-1.0/libgstmpegtsdemux.so
For some reason there is an error in the last command, I can’t find why, any idea?
zypper in -f gstreamer-plugins-bad --from 2
Loading repository data...
Reading installed packages...
'-from' is not a package name or capability.
zypper in -f download.opensuse.org-non-oss:gstreamer-plugins-bad
Loading repository data...
Reading installed packages...
Package 'download.opensuse.org-non-oss:gstreamer-plugins-bad' not found in specified repositories.
Resolving package dependencies...
Nothing to do.
zypper in -f download.opensuse.org-oss:gstreamer-plugins-bad
Loading repository data...
Reading installed packages...
Forcing installation of 'gstreamer-plugins-bad-1.8.3-7.4.x86_64' from repository 'Main Repository (OSS)'.
Resolving package dependencies...
The following package is going to be downgraded:
gstreamer-plugins-bad
The following package is going to change vendor:
gstreamer-plugins-bad http://packman.links2linux.de -> openSUSE
1 package to downgrade, 1 to change vendor.
Overall download size: 1.3 MiB. Already cached: 0 B. After the operation, additional 4.0 KiB will be used.
Continue? [y/n/...? shows all options] (y): n
zypper in -f packman.inode.at-suse:gstreamer-plugins-bad
Loading repository data...
Reading installed packages...
Forcing installation of 'gstreamer-plugins-bad-1.8.3-8.14.x86_64' from repository 'Packman Repository'.
Resolving package dependencies...
The following package is going to be reinstalled:
gstreamer-plugins-bad
1 package to reinstall.
Overall download size: 1.3 MiB. Already cached: 0 B. No additional space will be used or freed after the operation.
Continue? [y/n/...? shows all options] (y): n
Syntax with --from doesn’t work
After reinstall the same version => nothing better
Should I downgrade?
BTW, VLC 2.2.6 doesn’t play m2ts files. Error message:
ts demux: HDMV registration not implemented for pid 0x1101 type 0x81
core demux error: option sub-original-fps does not exist
QObject::connect: invalid null parameter
as root I never said do it as root do it as an ordinary user or in dolphin select show hidden files and go to ~/.cache/gstreamer-1.0/ and delete all files from there
regarding the plugin switch according to the zypper man that’s the way to do it https://en.opensuse.org/SDB:Zypper_manual_(plain)
--from alias|name|#|URI
Select packages from specified repository. If strings specified as arguments to the install command
match packages in repositories specified in this option, they will be marked for installation. This
option currently implies --name, but allows using wildcards for specifying packages.
I’m really not sure what to tell you the packman package should decode m2ts files
what does mediainfo say about that file maybe it’s courrupt
install mediainfo then run it with that file
sudo zypper in mediainfo
mediainfo /path/to/m2ts/file.ts
apparently subs inside ts files are more complex then regular srt/vob see this post for more info and a possible fix
by repository alias and package name
zypper install mozilla:MozillaFirefox
Where mozilla is the alias of the repository from which to install.
For some reason --from is still not working.
New!: Now, for some reason, Subtitleeditor can’t play none of m2ts nor mkv files. Not good at all.
I’ll wipe and reinstall. Could you tell me the best way to uninstall all the media/video packages and reinstall them. From where I should reinstall?
Should I remove repo from my list (see above)?
Thanks
OK let’s not nitpick on needless things
after removing the gstreamer cache can you play the ts file?
I’d recommend removing the vlc-codec-gstreamer and use vlc’s native multimedia engine (this might be the cause of your vlc issue)
zypper rm vlc-codec-gstreamer
have you tried running that file thru ffmpeg (ffprobe) to see if it’s OK
ffprobe /path/to/ts/file.ts
afaik most ts use bitmap subs and those can’t be edited directly you’d need to extract the bitmap subs and use an OCR engine to convert them to a text based format like srt the link above has a nice article about how to remove bitmat subs from a ts file with ffmpeg and convert them to srt using avidemux
but before going that far remove vlc-codec-gstreamer and see if vlc will play that file you should also try it with ffprobe and mediainfo (if you installed mediainfo)
Nothing better with SubtitleEditor, Version is 0.54.0-6.3
VLC plays the files fine
have you tried running that file thru ffmpeg (ffprobe) to see if it’s OK
On the whole, this is not a file issue. I tried tens of .mkv and .m2ts with SubtitleEditor, none want to open the black screen for video in the application.
Few months ago I installed SubtitleEditor on another desktop, version 0.54.0-6.1. It has vlc-codec-gstreamer 2.2.6-3.1
SubtitleEditor plays all the files, mkv
However for the m2ts it displays the same error message “Gstreamer plugins missing. The playback of the movie requires the following decoders which are not installed: audio/x-private-ts-lpcm decoder”
but it plays them fine!
Should I try to downgrade to the version 0.54.0-6.1?
Subtitle Editor has not build for LEAP 42.3 it is available in the extra multimedia repo but there seams to have been a build issue
when I try to install it I get
:~> sudo zypper in subtitleeditor
[sudo] password for root:
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libgstreamermm-1.0.so.1()(64bit) needed by subtitleeditor-0.54.0-6.3.x86_64
Solution 1: do not install subtitleeditor-0.54.0-6.3.x86_64
Solution 2: break subtitleeditor-0.54.0-6.3.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c):
how did you install subtitle editor did you ignore the dependency?
it would seam that libgstreamermm-1.0.so.1()(64bit) is not available in the main repo or in the multimedia:apps repo (from where you got Subtitle Editor)
libgstreamermm-1.0.so.1 can be found in the multimedia:libs repo but you have it disabled so enable it and install libgstreamermm-1_0-1
zypper mr -e 9
zypper in libgstreamermm-1_0-1
after re-enabeling the multimedia:libs repo I’d suggest you go in yast ->software management and from the menu select Dependencies-> Check Now
or with zypper do
sudo zypper verify
but a suggestion LEAP 15 will be out soon and it includes Subtitle Editor in the Main OSS repo why not upgrade to 15 now as more or less it’s stable (the official release should be next week) if you upgrade now while it’s in RC you can update to the release when it’s published as it will use the same repos
the way I upgrade is I temporally disable the extra repo’s (you don’t have to remove them) change all my repo’s to point to LEAP 15
basicly change 42.3 to 15.0 in all my repo files located at
/etc/zypp/repos.d/
then I run
zypper dup
15 will be officially out this Friday but it’s more or less ready now