dragon-player does not play mp4 files - what can i do?

dear Community,

dragon-player does not play mp4 files - what can i do?
i run OpenSuse 42.3

how can i test this?!

are there any tests with termial ?

Love to hear from you

**update: **

just have installed VLC-Player but there are some issues with Codecs:

	 		 		Codec are not supported

VLC cannot read and decode the following formate: „h264“ (H264 - MPEG-4 AVC (part 10)) - i cannot decode the codec.

what can i do now?!

according this thread:

https://forums.opensuse.org/showthread.php/528552-VLC-NOT-PLAYING-VIDEO-KDE-FRESH-INSTALL
i went this way

zypper ar -f ftp://packman.inode.at/suse/openSUSE_Leap_42.3/ packman
zypper dup --from packman
zypper in vlc-codecs libxine2-codecs 


note the last line vlc-codecs does not exist in oss so only doing zypper dup --from packman is not enough you need to install vlc-codecs
you mentioned packman but didn’t tell us your repo list, what does this say


zypper lr -d

well i think

finally got stuck


linux-3645:/home/martin # ^C
linux-3645:/home/martin # zypper lr -d
Die Repository-Prioritäten sind ohne Effekt. Alle aktivierten Repositorys teilen sich die gleiche Priorität.

#  | Alias                     | Name                                    | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | Typ    | URI                                                                        | Dienst
---+---------------------------+-----------------------------------------+-----------+-----------------+----------------+-----------+--------+----------------------------------------------------------------------------+-------
 1 | ecsos                     | ecsos                                   | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | https://download.opensuse.org/repositories/home:/ecsos/openSUSE_Leap_42.3/ |       
 2 | openSUSE-Leap-42.3-0      | openSUSE-Leap-42.3-0                    | Ja        | (r ) Ja         | Nein           |   99      | yast2  | cd:///?devices=/dev/disk/by-id/ata-hp_DVDRAM_GU90N_KMNZ8C81556             |       
 3 | packman                   | packman                                 | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | ftp://packman.inode.at/suse/openSUSE_Leap_42.3/                            |       
 4 | repo-debug                | openSUSE-Leap-42.3-Debug                | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/        |       
 5 | repo-debug-non-oss        | openSUSE-Leap-42.3-Debug-Non-Oss        | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/    |       
 6 | repo-debug-update         | openSUSE-Leap-42.3-Update-Debug         | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/debug/update/leap/42.3/oss/                   |       
 7 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/debug/update/leap/42.3/non-oss/               |       
 8 | repo-non-oss              | openSUSE-Leap-42.3-Non-Oss              | Ja        | (r ) Ja         | Ja             |   99      | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/          |       
 9 | repo-oss                  | openSUSE-Leap-42.3-Oss                  | Ja        | (r ) Ja         | Ja             |   99      | yast2  | http://download.opensuse.org/distribution/leap/42.3/repo/oss/              |       
10 | repo-source               | openSUSE-Leap-42.3-Source               | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/       |       
11 | repo-source-non-oss       | openSUSE-Leap-42.3-Source-Non-Oss       | Nein      | ----            | ----           |   99      | NONE   | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/   |       
12 | repo-update               | openSUSE-Leap-42.3-Update               | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/                         |       
13 | repo-update-non-oss       | openSUSE-Leap-42.3-Update-Non-Oss       | Ja        | (r ) Ja         | Ja             |   99      | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/                     |       
linux-3645:/home/martin # 


linux-3645:/home/martin # ^C
linux-3645:/home/martin # zypper lr -d
Die Repository-Prioritäten sind ohne Effekt. Alle aktivierten Repositorys teilen sich die gleiche Priorität.

| Alias | Name | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | Typ | URI | Dienst

—±--------------------------±----------------------------------------±----------±----------------±---------------±----------±-------±---------------------------------------------------------------------------±------
1 | ecsos | ecsos | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/home:/ecsos/openSUSE_Leap_42.3/ |
2 | openSUSE-Leap-42.3-0 | openSUSE-Leap-42.3-0 | Ja | (r ) Ja | Nein | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-hp_DVDRAM_GU90N_KMNZ8C81556 |
3 | packman | packman | Ja | (r ) Ja | Ja | 99 | rpm-md | ftp://packman.inode.at/suse/openSUSE_Leap_42.3/ |
4 | repo-debug | openSUSE-Leap-42.3-Debug | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/ |
5 | repo-debug-non-oss | openSUSE-Leap-42.3-Debug-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/ |
6 | repo-debug-update | openSUSE-Leap-42.3-Update-Debug | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.3/oss/ |
7 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.3/non-oss/ |
8 | repo-non-oss | openSUSE-Leap-42.3-Non-Oss | Ja | (r ) Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/ |
9 | repo-oss |

openSUSE-Leap-42.3-Oss | Ja | (r ) Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.3/repo/oss/ |

10 | repo-source | openSUSE-Leap-42.3-Source | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/ |
11 | repo-source-non-oss | openSUSE-Leap-42.3-Source-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/ |
12 | repo-update | openSUSE-Leap-42.3-Update | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/ |

13 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/ |

linux-3645:/home/martin #

linux-3645:/home/martin # ^C
linux-3645:/home/martin # zypper lr -d
Die Repository-Prioritäten sind ohne Effekt. Alle aktivierten Repositorys teilen sich die gleiche Priorität.

| Alias | Name | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | Typ | URI | Dienst

—±--------------------------±----------------------------------------±----------±----------------±---------------±----------±-------±---------------------------------------------------------------------------±------
1 | ecsos | ecsos | Ja | (r ) Ja | Ja | 99 | rpm-md | https://download.opensuse.org/repositories/home:/ecsos/openSUSE_Leap_42.3/ |
2 | openSUSE-Leap-42.3-0 | openSUSE-Leap-42.3-0 | Ja | (r ) Ja | Nein | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-hp_DVDRAM_GU90N_KMNZ8C81556 |
3 | packman | packman | Ja | (r ) Ja | Ja | 99 | rpm-md | ftp://packman.inode.at/suse/openSUSE_Leap_42.3/ |
4 | repo-debug | openSUSE-Leap-42.3-Debug | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/ |
5 | repo-debug-non-oss | openSUSE-Leap-42.3-Debug-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/ |
6 | repo-debug-update | openSUSE-Leap-42.3-Update-Debug | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.3/oss/ |
7 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/42.3/non-oss/ |
8 | repo-non-oss | openSUSE-Leap-42.3-Non-Oss | Ja | (r ) Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/ |
9 | repo-oss | openSUSE-Leap-42.3-Oss | Ja | (r ) Ja | Ja | 99 | yast2 | http://download.opensuse.org/distribution/leap/42.3/repo/oss/ |
10 | repo-source | openSUSE-Leap-42.3-Source | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/ |
11 | repo-source-non-oss | openSUSE-Leap-42.3-Source-Non-Oss | Nein | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/ |
12 | repo-update | openSUSE-Leap-42.3-Update | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/42.3/oss/ |
13 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Ja | (r ) Ja | Ja | 99 | rpm-md | http://download.opensuse.org/update/leap/42.3/non-oss/ |
linux-3645:/home/martin #

There may be a licensing issue here; please check the following openSUSE positions:

You could also check the gory details in Wikipedia: <https://en.wikipedia.org/wiki/MPEG-4_Part_14>.
[HR][/HR]There is a Spanish company named “Fluendo”, who provide the GStreamer package to openSUSE. They also have, a commercial cross-platform multi-media player named “ONEPLAY” which could, legally, solve your problem – check it out with the trial version: <https://fluendo.com/en/products/multimedia/oneplay-player/>.

And how/where did you get stuck?

It’s not really rocket science, and basically the same since years…

Run “zypper dup --from packman” to switch all installed multimedia packages to the Packman version.

For gstreamer (which dragonplayer uses by default, unless you install phonon4qt5-backend-vlc), additionally install gstreamer-plugins-bad-orig-addons, gstreamer-plugins-ugly-orig-addons and gstreamer-plugins-libav to get practically all available codecs.

If that doesn’t help, try to delete the gstreamer plugin cache, i.e. the directory ~/.cache/gstreeamer-1.0/ .

For VLC, you additionally need to install vlc-codecs.

Or follow this: 13. Multimedia Codecs - Install Support for restricted codecs including MP3, DVD, WMA, WMV, MOV etc.

No.
Packman provides everything necessary to play mp4 files.

mp4 support is just not available in the standard distribution because of possible licensing/patent issues.

My opinions on licensing issues and FOSS and/or FLOSS issues are:

  • “You pays your money and you takes your choice!!!” – Meaning, normally, you have to buy the hardware needed to run your favourite software (unless of course the hardware was a gift or, you stole it!!! >:) ). Therefore, there is absolutely no reason too assume that the software is available by simply taking it, for nothing: the software has a value which needs to be supported either by means of your contributions, or your donations, or the costs of possible license fees.

  • Yes, Open Source is one of the best things which has happened since sliced bread (was invented) but, Open Source is “free” only in licensing terms. The development costed effort, the servers running the distributions need electricity and Internet access and administration and floor space and, there’s the capital expense of the server hardware: that’s all cost which needs to be financed, somehow.

  • Like it or not, there are human beings on this planet, who demand licensing fees for ** their
    ** intellectual property and, in democratic societies they’re legally entitled to those fees.

[HR][/HR]My bottom line:As a person who strongly believes in and supports democracy (except the extreme right form of it), who has an aversion to all forms of anarchy, who prefers community and communal society, I believe that intellectual property rights should be respected, even if “Open Source principals” have to be violated as a result.

So you want to imply that open source codecs are illegal and/or unethical?
Why are you using Linux at all then, probably without paying for it?

Well, feel free to pay for codecs if you prefer, but there is no technical reason to do so.
And AFAIK most licenses (or patents actually) in this area do allow free private use.

well no that would mean for example that the use of vlc on windows is legal but on linux illegal?
the videolan team even had a legal victory regarding libdvdcss which they develop and was decelerated legal by a french court (vlc is based in France) but is still illegal in the US (and maybe parts of the EU) for a silly reason that it removes drm and drm removal is illegal not the code it self which is open sourced or the compiled library

but things are changing for example with smartphones video/audio codecs are licensed by the soc hardware manufacturer/designer not the OS vendor or software developer that’s why all of them have h264 and most h265 support and because Microsoft started bundling h264 and xvid support since Vista, and I remember reading an article regarding bpg a h265 i frames based image codec where the author claimed the format is legal to use on hardware that has native h265 support but might not be legal on legacy machines which is silly but it is what it is, this software patent mess is the reason we’re stuck with jpeg 20+ years after it was released seeing how jpeg2000 bpg and other modern image formats use software routines that are patented unlike vanilla jpeg which uses dct hell even arithmetically coded jpeg didn’t catch on because of software patents

a quote from videolan’s legal page

Patents and codec licenses
Neither French law nor European conventions recognize software as patentable (see French section below).
Therefore, software patents licenses do not apply on VideoLAN software.

I do remember a few years back running Mandrake (a French based Linux distro) and it did have buildin multimedia support actually it even shipped with nvidia drivers on the CDs (this was years ago before broadband was common) but Mandrake went bankrupt

No, actually it would mean IMHO that the use of vlc on windows would be illegal (or unethical) as well, as you don’t pay for it.

PS: in the case of nvidia drivers, it is indeed a license issue.
NVidia’s license is incompatible with the kernel license, and therefore it’s not allowed to ship them together.

But, I think we are going very off-topic here now though. :wink:

I buy the (German-only) boxed openSUSE DVDs which, as far as I know, also contribute to the openSUSE project – the oldest (large) box is labelled “SUSE Linux 8.1”.
I anonymously donate to the KDE project, despite the contributions which SUSE makes to the KDE project.
I donate to the Jameica/Hibiscus (HBCI, Home-Banking) project – a club I belong to as Treasurer, donates to the JVerein project.
I paid QNAP for an exFAT Driver license for my NAS.
[HR][/HR]My mouth is were the money is.

Well, that’s nice of you of course.

But that still doesn’t make it bad (or even illegal, as you seemed to imply) to use open source software (without paying), whose authors decided to offer it for free in the first place.

As a sidenote, if you buy the boxed openSUSE version, you only pay the people who prepared the box (and I don’t think SUSE does that anymore, actually), and not the people who actually work on the software…
And even if you would buy SUSE Linux Enterprise, that wouldn’t be much different, because most software included in openSUSE or SLE is not developed by SUSE anyway.

In any case, that’s totally unrelated to whether it is allowed to use non-free (which is actually unrelated to the software license as I already hinted at, but rather patents on the used methods/algorithms) codecs or not, or whether you should use/buy Fluendo’s or it’s fine to get them from one of its “competitors” (e.g. ffmpeg or vlc, who both offer them for free, as open source).
Fluendo is just one company (that happens to develop gstreamer plugins). Why should you have to pay to them, and not be allowed to use anything else that’s available (maybe for free, maybe commercial)?

What I’m trying to say is that just because there is a commercial offer, doesn’t mean that free alternatives should not be used. If that would be true, there would not be much point in open source software (including the Linux kernel) at all, and nobody should use Linux (or any free/gratis software) in the first place.

I suspect that, Linus Torvalds, and other Linux Kernel developers associated with the Open Source Development Labs (OSDL), are living quite comfortably with the sponsorship provided by the Linux Foundation.

The GNU Public License is very explicit about copyright and licensing: private people are exempt from the licensing fees but, not the copyright implications; commercial enterprises are expected to contribute development effort – people hours – to Open Source projects if they use Open Source software but, cash is accepted if software developers are not available.

Yes, ‘free’ as in “freedom to use, modify, change, enhance and re-publish” but, the copyright of the original author has to be acknowledged . . .

Sure, and that’s their good right.
Still, they offer the software for free, so you don’t have to pay for it.

The GNU Public License is very explicit about copyright and licensing: private people are exempt from the licensing fees but, not the copyright implications; commercial enterprises are expected to contribute development effort – people hours – to Open Source projects if they use Open Source software but, cash is accepted if software developers are not available.

I don’t think that the GPL actually says anything about license fees. And I think this thread is not about using software in commercial enterprises anyway.

In any case, the GPL is actually irrelevant in the original topic here (use of non-free codecs). Again, ffmpeg’s and vlc’s codecs are actually offered as GPL, Fluendo’s are not (because they sell them as closed source). The used license is the choice of the software’s developers/authors, and they own the copyright even if they do decide to use GPL.

The non-free codecs are non-free because they use technology (decoding/encoding method’s) that is patented, not because their (software) license is non-free.

Yes, ‘free’ as in “freedom to use, modify, change, enhance and re-publish” but, the copyright of the original author has to be acknowledged . . .

Right, but that doesn’t mean at all that you have to buy commercial offerings instead, if available.
(I also don’t see how the copyright is relevant at all here, that basically just means that you may not take their code and “sell” it as yours)

Sure, if you want to use Fluendo’s commercial codecs, you have to pay for them. And using them without paying would indeed be illegal (in most countries), as they have a commercial license.
But that doesn’t mean you cannot use free (i.e. gratis) alternatives.

And the IP of (non-free) codecs are protected by patents, not (software) licenses.
Fluendo (or you as customer, in the end) has to pay fees for being able to offer their codecs, but only because they sell them in the first place.

As I wrote, AFAIK the patents/licenses for non-free codecs (like MP4) do allow private use without paying fees.