Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 174010 - ffmpeg-0.4.9_p20070330 fails to run when invoked by mytharchive
Summary: ffmpeg-0.4.9_p20070330 fails to run when invoked by mytharchive
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
Depends on:
Reported: 2007-04-10 10:05 UTC by Hasse Hagen Johansen
Modified: 2007-04-21 04:55 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Hasse Hagen Johansen 2007-04-10 10:05:07 UTC
When I am using mytharchive to archve. I get this when it tries to run ffmpeg:

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-dv1394 --disable-opts --enable-libmp3lame --enable-libvorbis --enable-libogg --enable-libtheora --enable-libogg --enable-liba52 --enable-pthreads --enable-xvid --enable-x11grab --enable-libogg --enable-libdts --enable-x264 --enable-libfaad --enable-libfaac --enable-gpl --enable-pp --disable-strip
  libavutil version: 49.4.0
  libavcodec version: 51.40.2
  libavformat version: 51.11.0
  built on Apr  9 2007 18:49:57, gcc: 4.1.2 (Gentoo 4.1.2)
Input #0, mpeg, from '/mytharchive/work/1/newfile.mpg':
  Duration: 00:44:56.7, start: 0.360000, bitrate: 6477 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x528, 7500 kb/s, 25.00 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
Assuming PAL for target.
Output #0, dvd, to '/mytharchive/work/1/newfile2.mpg':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-31, 4771 kb/s, 25.00 fps(c)
  Stream #0.1: Audio: ac3, 48000 Hz, stereo, 0 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
ERROR: Failed while running ffmpeg to re-encode video.
Command was ffmpeg -v 1 -i "/mytharchive/work/1/newfile.mpg" -r pal -target dvd -b 4771k -s 720x576 -acodec ac3 -ab 192 -ac 2 -copyts -aspect 4:3 "/mytharchive/work/1/newfile2.mpg" -map 0:0 -map 0:1 

Reproducible: Always

Steps to Reproduce:
1.Select something in mythttv to archive
2.ffmpeg will not work. The previous version works

Version 0.4.9_p20070325  works

Version 0.4.9_p20070330 doesn't work
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-04-10 14:21:26 UTC
So previous versions work then a newer CVS snapshot that's 5 days newer doesn't work. Sounds like a commit in ffmpeg in those 5 days broke something. Let's see if the ffmpeg guys can tell us what, because MythTV hasn't changed anything it's doing with ffmpeg for a while
Comment 2 Hasse Hagen Johansen 2007-04-11 11:25:58 UTC
I am sorry. The working version was not 0.4.9_p20070325 but 0.4.9_p20070129

I am sorry misleading you.

I will try 0.4.9_p20070325 and see if it fails like 0.4.9_p20070330
Comment 3 Hasse Hagen Johansen 2007-04-11 15:32:54 UTC
I tried 0.4.9_p20070325 it fails too. So 0.4.9_p20070325 & 0.4.9_p20070330 fails

but 0.4.9_p20070129 works
Comment 4 Mark Purtill 2007-04-20 23:58:29 UTC
It seems that the -ab flag value of ffmpeg changed from being kbit/s to bit/s between 0.4.9_p20070129 and 0.4.9_p20070330, so that's probably at least part of the problem.
Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-04-21 04:55:39 UTC
This should be a non-issue for the only MythArchive currently in the tree as that has been patched a while ago.
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2007-04-21 04:55:53 UTC
As I stated above..