Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31310 - [mediastreamer] missing video codecs

Attached to Project: Arch Linux
Opened by Luke Shumaker (lukeshu) - Tuesday, 28 August 2012, 03:56 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 28 February 2013, 19:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Of the supported video codecs, only Theora and VP8 appear to be available. This means that (at least) H263, H263-1998 and MPEG4 are missing.

Additional info:
linphone 3.5.2-4
ffmpeg 1:0.11.1-1

Tested on both i686 and x86_64.

Steps to reproduce:

Install linphone. Open it, go to Options->Preferences, then the 'Codecs' tab. Change the dropdown box to 'Video Codecs'. Only VP8 and theora appear.
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 28 February 2013, 19:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  mediastreamer-2.8.2-4
Comment by Sergej Pupykin (sergej) - Monday, 17 September 2012, 09:49 GMT
Does mediastreamer-plugin-msx264-git and linphone-plugin-msx264 packages from aur help?
Comment by Sergej Pupykin (sergej) - Monday, 17 September 2012, 09:56 GMT
linphone-plugin-msx264 gives h264 support. I don't know why other codecs are missing, while linphone depends on libavcodec...
Comment by Sergej Pupykin (sergej) - Monday, 17 September 2012, 10:02 GMT
Btw, it is more likely mediastreamer related issue
Comment by Luke Shumaker (lukeshu) - Monday, 01 October 2012, 15:20 GMT
I have investigated this, and have a sort-of fix. It is indeed a mediastreamer issue (and should be changed from "community packages" to extra).

Because mediastreamer depends on an old version of avcodec instead of a recent version of ffmpeg, there are compatability issues. The current solution[1] in Arch was to patch mediastreamer to #ifdef out the problem code... which disabled most of the codecs.

I have attempted to modify the patch (attached) to add actual compatability for Arch's version of ffmpeg. The codecs do appear, but MP4V-ES is the only codec that works (of the ones that were missing).

[1] https://projects.archlinux.org/svntogit/packages.git/tree/mediastreamer/trunk/mediastreamer-ffmpeg.patch
Comment by Luke Shumaker (lukeshu) - Thursday, 18 October 2012, 14:33 GMT
About linphone-plugin-msx264: yes, it gives h264, but h263 should be built-in.
Comment by Greg (dolby) - Monday, 19 November 2012, 07:18 GMT
Move to extra and assign to current maintainer?
Comment by Luke Shumaker (lukeshu) - Tuesday, 20 November 2012, 19:37 GMT
Greg: sounds good.
Comment by Luke Shumaker (lukeshu) - Thursday, 28 February 2013, 02:18 GMT
This has been fixed in upstream git (in June of last year), attached is the relevent git patch. It applies to the release tarball (with a little fuzz), and makes everything work. Just download the patch, and update md5sums.
Comment by Sergej Pupykin (sergej) - Thursday, 28 February 2013, 14:53 GMT
could someone fix it, I have no access to [extra]

Loading...