Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558114 - =media-video/vlc-2.2.1 libmpeg USE flag issue
Summary: =media-video/vlc-2.2.1 libmpeg USE flag issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Nick Andrade
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-19 00:04 UTC by Wallance
Modified: 2015-10-29 09:53 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info media-video/vlc (file_558114.txt,7.23 KB, text/plain)
2015-08-19 00:04 UTC, Wallance
Details
metadata.xml.patch (metadata_mpeg.patch,782 bytes, patch)
2015-10-29 05:25 UTC, Nick Andrade
Details | Diff
metadata.xml.patch (metadata_mpeg.patch,784 bytes, patch)
2015-10-29 06:21 UTC, Nick Andrade
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wallance 2015-08-19 00:04:29 UTC
Created attachment 409400 [details]
emerge --info media-video/vlc

Hello
Today I run "equery uses =media-video/vlc-2.2.1" and see I have enabled libmpeg USE flag.The description of this use flag is "Add libmpeg3 support to various packages".
But When I run "equery depgragh =media-video/vlc-2.2.1" and I see it depends on libmpeg2.
So I wonder the ebuild whether has an error.
Does it depend on libmpeg3?
Last problem, when I open mpg files use vlc, it just stop at someplace and skip to another after waiting for a long time.Is this related to the potential "error" above?
Comment 1 Wallance 2015-08-19 13:52:37 UTC
When I change to kmplayer to play the same file, it didn't have such phenomenon.
Comment 2 Wallance 2015-08-19 23:49:56 UTC
Luckily, I have found why it just stopped for a long time and skip to another place.
The following is the output from commandline.
[00007f2628c44618] core decoder error: Could not convert timestamp 3503916728
[00007f2628c44618] core decoder error: Could not convert timestamp 3503942850
Comment 3 Nick Andrade 2015-09-17 18:53:54 UTC
Thanks for reporting.  Looks like the phrase "Add libmpeg3 support" is just a typo and should be "Add libmpeg2 support".  I'm looking into where to fix it. There's no reference to the mpeg use in metadata.xml so I'll probably add it there to fix the VLC issue, but I'm now thinking that wherever its getting inherited from should also be corrected.

For the other issue, the media skipping around, is it all videos or just a specific one or a specific type (i.e. all mpeg-ps, mpeg-ts, etc.)?  If you can post a video (or a click from a video) where you're having the issue, I'm happy to help debug it.
Comment 4 Wallance 2015-09-18 10:44:14 UTC
(In reply to Nick Andrade from comment #3)
> Thanks for reporting.  Looks like the phrase "Add libmpeg3 support" is just
> a typo and should be "Add libmpeg2 support".  I'm looking into where to fix
> it. There's no reference to the mpeg use in metadata.xml so I'll probably
> add it there to fix the VLC issue, but I'm now thinking that wherever its
> getting inherited from should also be corrected.
> 
> For the other issue, the media skipping around, is it all videos or just a
> specific one or a specific type (i.e. all mpeg-ps, mpeg-ts, etc.)?  If you
> can post a video (or a click from a video) where you're having the issue,
> I'm happy to help debug it.

Thanks. Just a specific video but I needn't to watch that video again.And I search for Internet and have found it is a common problem.The video is very big and I cannot find the skipping point again.
Comment 5 Nick Andrade 2015-10-26 04:16:37 UTC
To resolve this bug for VLC, I'd like to simply add the following to VLC's metadata.xml:
<flag name="mpeg">Add libmpeg2 support for mpeg-1 & mpeg-2 video streams</flag>

I'll work with the Devs in #gentoo-proxy-maint to get this change put in.  

There are several other packages with this same bug, and Gentoo may want to consider changing or dropping the generic mpeg description from profiles/use.desc as many packages use it for pulling in libmpeg2, smpeg, etc. and not libmpeg3.
Comment 6 Nick Andrade 2015-10-29 05:25:34 UTC
Created attachment 415676 [details, diff]
metadata.xml.patch

Patch to metadata.xml to add relevant entry.
Comment 7 Nick Andrade 2015-10-29 06:21:18 UTC
Created attachment 415682 [details, diff]
metadata.xml.patch

Replacing "&" with "and".
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2015-10-29 09:53:44 UTC
Author: Amy Winston <amynka@gentoo.org>
Date:   Thu Oct 29 07:47:41 2015 +0100

    media-video/vlc: mpeg description in metadata changed bug #558114. By sdnick484.