Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10082 closed defect (fixed)

mocp fails to build with newer ffmpeg [patch]

Reported by: bas@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


After ffmpeg update from 0.5.4 to 0.8.2 (/changeset/28063.html) the mocp package fails to build due to ffmpeg API has changed (namely, handling of metadata is carried out in a different way).

There is no updated tarball from the author of mocp (except for some 2.5.0-alpha4 version dated back in 2009) to address this issue. This "alpha" version, however, basically comments out the section which handles ffmpeg metadata (track, author, title, album) in case the version of ffmpeg API is > 53.

The proposed patch does the same. With this patch in place, mocp package builds against updated ffmpeg and the only issue is that the above mentioned metadata will not be read by mocp.

Attachments (3)

mocp.patch (1.1 KB) - added by bas@… 6 years ago.
moc-ffmpeg-update.patch (1.8 KB) - added by antonlacon@… 6 years ago.
mocp.2.patch (1.6 KB) - added by bas@… 6 years ago.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by bas@…

Changed 6 years ago by antonlacon@…

comment:1 Changed 6 years ago by antonlacon@…

The moc-ffmpeg-update.patch should adjust MoC to use the new API. I pulled it from MoC's forum and have not tested myself. Please let us know how it works.

comment:2 Changed 6 years ago by bas@…

There is a typo in moc-ffmpeg-update.patch (s/titke/title).
Other than that, it works fine.

I've adjusted the patch with quilt and attached is the patch against feeds svn.

Changed 6 years ago by bas@…

comment:3 Changed 6 years ago by loswillios

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r28210, thanks for reporting

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.