Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114172 - ffmpeg 0.4.9_p20051120 and 0.4.9_p20051216 do not work properly with nuvexport/mjpegtools
Summary: ffmpeg 0.4.9_p20051120 and 0.4.9_p20051216 do not work properly with nuvexpor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 10:49 UTC by georgia_tech_swagger
Modified: 2006-06-11 11:50 UTC (History)
3 users (show)

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


Attachments
ebuild for the latest nuvexport (latest_nuvexport.ebuild,1.70 KB, text/plain)
2006-03-03 03:13 UTC, Jeroen Wyseur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georgia_tech_swagger 2005-12-01 10:49:27 UTC
Using nuvexport to export a MythTV recording to XviD, nuvexport hung at 0 frames
processed.   After downgrading ffmpeg, the problem went away.  Perhaps the
latest version should be marked unstable?

Versions of ffmpeg that didn't work:  0.4.9_p20051120
Versions of ffmpeg that did work:  0.4.9_p20050226-r5  

$ eix mjpegtools
* media-video/mjpegtools
     Available versions:  1.6.2-r4 ~1.8.0 ~1.8.0-r1
     Installed:           1.6.2-r4
     Homepage:            http://mjpeg.sourceforge.net/
     Description:         Tools for MJPEG video

* media-video/ffmpeg
     Available versions:  0.4.8 0.4.9_pre1-r1 0.4.9_p20050226-r3
0.4.9_p20050226-r5 0.4.9_p20050906 0.4.9_p20051120
     Installed:           0.4.9_p20050226-r5
     Homepage:            http://ffmpeg.sourceforge.net/
     Description:         Complete solution to record, convert and stream audio
and video. Includes libavcodec.

* media-tv/nuvexport
     Available versions:  0.2_pre20051020
     Installed:           0.2_pre20051020
     Homepage:            http://www.forevermore.net/mythtv/
     Description:         Export from mythtv recorded NuppelVideo files

Reproducible: Always
Steps to Reproduce:
1. nuvexport
2. Choose XviD
3. Choose a show
4. Accept all the defaults for encoding

Actual Results:  
Encode started:  Thu Dec  1 13:01:04 2005
First pass...
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed:  0 of 224640 frames (0.00%),   0.00 fps

(Program sits here seemingly endlessly, without progress)

Expected Results:  
start processing frames and encode the video

# emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2,
2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo
bzip2 bzlib cdr clamav codecs crypt css cups curl dhcp directfb divx4linux dvb
dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg flac
foomaticdb fortran freetype gd gdbm gif gimp gimpprint gkrellm glut gmp gnome
gpm gstreamer gtk gtk2 gtkhtml icq idn imagemagick imlib ipv6 ithreads java jpeg
junit kde lcms libcaca libclamav libg++ libwww lirc live lm_sensors mad mhash
mikmod ming mixer mjpeg mmx mng motif mozilla mp3 mpeg mplayer msn mysql mythtv
ncurses nls nsplugin nvidia offensive ogg oggvorbis openal opengl oss pam pcap
pcre pdf pdflib perl png python qt quicktime rar readline real recode screenshot
sdl silc socks5 spell sse sse2 ssl svga svgz tcpd tetex threads tiff transcode
truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 vcd vorbis wifi
win32codecs x86 xml xml2 xmms xv xvid yahoo zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-17 05:19:48 UTC
Can you test with latest version currently in portage? (1216).
Comment 2 georgia_tech_swagger 2005-12-18 22:14:05 UTC
Sure.  Will do this and provide update before 12/20
Comment 3 georgia_tech_swagger 2005-12-22 23:53:10 UTC
Nuvexport still not functional; same problem and output.   Changed summary to note the new release doesn't fix this problem
Comment 4 Bill Kenworthy 2006-01-12 05:55:48 UTC
I am seeing this as well, with the 4.9 versions (up to ffmpeg-0.4.9_p20051216).  As there's no 4.8 in portage now, I cant test if thats working:(  Ran nuvexport debug and had a broken pipe failure in ffmpeg after which it hangs as described:

/usr/bin/nice -n19 ffmpeg -f rawvideo -s 704x576 -r 25.000 -i /tmp/fifodir_25713/vidout -f yuv4mpegpipe - 2> /dev/null | /usr/bin/nice -n19 yuvdenoise 2>&1 | /usr/bin/nice -n19 ffmpeg -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_25713/audout -f yuv4mpegpipe -s 704x576 -aspect 1.77777777777778 -r 25.000 -i - -aspect 1.77777777777778 -r 25.000 -deinterlace -croptop 12 -cropbottom 12 -cropleft 14 -cropright 14 -s 624x352  -vcodec xvid -b 960 -minrate 32 -maxrate 1920 -bt 32 -bufsize 65535 -lumi_mask 0.05 -dark_mask 0.02 -scplx_mask 0.5 -mv4 -part -pass 1 -passlogfile '/tmp/xvid.25713.log' -f avi
ffmpeg version CVS, build 3342336, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-shared-pp --enable-shared --disable-static --enable-mmx --disable-altivec --disable-debug --enable-mp3lame --enable-a52 --disable-a52bin --enable-audio-oss --enable-v4l --disable-dv1394 --disable-dc1394 --enable-pthreads --enable-xvid --enable-libogg --enable-vorbis --enable-theora --enable-dts --enable-network --enable-zlib --enable-ffplay --enable-faad --enable-faac --disable-faadbin --enable-gpl --enable-pp --disable-opts --build=i686-pc-linux-gnu
  built on Jan 12 2006 16:03:02, gcc: 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
Input #0, s16le, from '/tmp/fifodir_25713/audout':
  Duration: N/A, bitrate: N/A
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
pipe:: Error while opening file

Comment 5 Herbie Hopkins (RETIRED) gentoo-dev 2006-01-14 03:39:53 UTC
This is mearly a problem with a change of syntax in some of the ffmpeg command line options. The latest nuvexport seems to work well with the ffmpeg in portage (I tested 0.2-0.20060111). media-tv: any chance of revbumping nuvexport?
Comment 6 Bill Kenworthy 2006-01-14 03:53:57 UTC
Already tried it - it does not work either!  What does work is:
"nuvexport --transcode" - however this only gives a limited number of export formats, and not the one I currently would like (mp3 to extract the audio)

BillK
Comment 7 georgia_tech_swagger 2006-01-19 11:20:20 UTC
Correct - the lastest nuvexport does not fix this... seems it does not interact well with ffmpeg and/or mjpegtools.  Here's the EXACT versions of mjpegtools and ffmpeg which yield a completely working nuvexport:

ffmpeg:  0.4.9_p20050226-r5
mjpegtools:  1.6.2-r4

And FWIW, nuvexport-0.2_pre20051020
Comment 8 Herbie Hopkins (RETIRED) gentoo-dev 2006-01-19 14:52:47 UTC
You both realise I'm talking about the latest upstream version of nuvexport and not the latest version in portage right? (which I agree is quite broken). If so it seems you're hitting a different bug to me as the latest upstream version works perfectly here. Perhaps one (or both) of you could run nuvexport --debug and try running the resulting ffmpeg/mythtranscode commands by hand, reporting the actual error message?
Bill: The error you reported in comment #4 just means you neglected to run the mythtranscode command first, it needs to be running before you start ffmpeg (i.e run it in a second terminal)
Comment 9 Jeroen Wyseur 2006-03-03 03:13:25 UTC
Created attachment 81189 [details]
ebuild for the latest nuvexport

I added an ebuild to get the latest nuvexport. The only change is the following:
SRC_URI="http://forevermore.net/files/nuvexport-latest.tar.bz2"

Build the digest and emerge. It solved the ffmpeg bug for me.
To solve this in portage, an ebuild should be created with a version from http://forevermore.net/files/nuvexport/archive/ in the source URI. I would not know which version to take since there is more than one 0.3 version.
Comment 10 georgia_tech_swagger 2006-05-17 23:35:35 UTC
This doesn't seem to be a problem for me now that I am back to where I have Cable access to use MythTV...  using the following:

media-video/mjpegtools 1.8.0-r1
media-video/ffmpeg 0.4.9_p20051216
media-tv/nuvexport 0.3_pre20060424

Can anybody else confirm working?
Comment 11 georgia_tech_swagger 2006-06-11 11:50:30 UTC
Fixed by later versions.