Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177662 - ffmpeg-0.4.9_p20070330 breaks media-video/dvd-slideshow
Summary: ffmpeg-0.4.9_p20070330 breaks media-video/dvd-slideshow
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 188665 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-08 16:12 UTC by Peter Fox
Modified: 2008-12-12 08:50 UTC (History)
1 user (show)

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


Attachments
Patch to dvd-slideshow to add 'k' after all -ab parameters to ffmpeg (dvd-slideshow-diff.txt,5.32 KB, patch)
2007-05-08 16:14 UTC, Peter Fox
Details | Diff
slides.txt used in the testcase (slides.txt,59 bytes, text/plain)
2007-05-08 16:17 UTC, Peter Fox
Details
Patch to dvd-menu to add 'k' after -ab parameters to ffmpeg (dvd-menu.diff,557 bytes, patch)
2007-06-10 18:56 UTC, Tobias Krähling
Details | Diff
dvd-slideshow-0.8.0-r1.ebuild (dvd-slideshow-0.8.0-r1.ebuild,1.62 KB, text/plain)
2007-09-06 16:12 UTC, kristian meier
Details
media-video/dvd-slideshow/files/dvd-menu-ffmpeg.patch (dvd-menu-ffmpeg.patch,844 bytes, text/plain)
2007-09-06 16:14 UTC, kristian meier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Fox 2007-05-08 16:12:36 UTC
The -ab command line switch change to ffmpeg breaks dvd-slideshow.
See also bug 175631.
Patch to dvd-slideshow available to fix.
Should dvd-slideshow specify ffmpeg version in ebuild?

Reproducible: Always

Steps to Reproduce:
1. dvd-slideshow -f slides.txt -o dvd
2.
3.

Actual Results:  
[dvd-slideshow] Creating ac3 audio...
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-altivec --disable-debug --disable-audio-oss --disable-dv1394 --disable-network --disable-opts --enable-libmp3lame --enable-libvorbis --enable-libogg --enable-libtheora --enable-libogg --enable-xvid --enable-x11grab --enable-libogg --enable-gpl --enable-pp --disable-strip
  libavutil version: 49.4.0
  libavcodec version: 51.40.2
  libavformat version: 51.11.0
  built on Apr 13 2007 14:49:26, gcc: 4.1.1 (Gentoo 4.1.1-r3)
Input #0, wav, from 'pipe:':
  Duration: N/A, bitrate: 1536 kb/s
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, ac3, to 'dvd/dvd-slideshow_temp_31201/audio1.ac3':
  Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 0 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
[dvd-slideshow] ERROR during ffmpeg execution!


Expected Results:  
No error
Comment 1 Peter Fox 2007-05-08 16:14:52 UTC
Created attachment 118568 [details, diff]
Patch to dvd-slideshow to add 'k' after all -ab parameters to ffmpeg

Patch to fix dvd-slideshow script.
Comment 2 Peter Fox 2007-05-08 16:17:20 UTC
Created attachment 118570 [details]
slides.txt used in the testcase
Comment 3 Tobias Krähling 2007-06-10 18:56:35 UTC
Created attachment 121691 [details, diff]
Patch to dvd-menu to add 'k' after -ab parameters to ffmpeg
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-13 06:52:33 UTC
*** Bug 188665 has been marked as a duplicate of this bug. ***
Comment 5 kristian meier 2007-09-06 16:12:54 UTC
Created attachment 130173 [details]
dvd-slideshow-0.8.0-r1.ebuild

to round up this bug report, I used the two patches and included them into the ebuild. the patches will be applied if the version of ffmpeg is greater or equal 0.4.9_p20070330.

please download the patch from the first attachment into media-video/dvd-slideshow/files/dvd-slideshow-ffmpeg.patch

the second patch I needed to complete, since I found another call to ffmpeg with the broken parameter.
Comment 6 kristian meier 2007-09-06 16:14:09 UTC
Created attachment 130175 [details]
media-video/dvd-slideshow/files/dvd-menu-ffmpeg.patch
Comment 7 xiando 2008-05-11 16:33:02 UTC
Next upstream (v0.8.1) fixes this bug, http://dvd-slideshow.sourceforge.net/wiki/Changelog_0.8.1

I do not know when it will be released as homepage story is that next release is "imminent" on January 6th, 2008.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2008-12-12 08:50:18 UTC
*dvd-slideshow-0.8.2.2 (12 Dec 2008)

  12 Dec 2008; <ssuominen@gentoo.org> +dvd-slideshow-0.8.2.2.ebuild:
  Version bump wrt #177662, thanks to xiando <oyvinds at everdot.org> for
  reporting. Add media-gfx/jhead to deps wrt #249152, thanks to Jakub
  Klawiter for reporting.