[mythtv-users] Nuvexport / ffmpeg / Floating point exception
Giacomo Shimmings
giacomo_shimmings at hotmail.com
Fri Sep 22 07:54:39 UTC 2006
Thanks for the tip Chris, I did read the debug page - I should have been clearer that the reponse I posted was the forking output.
So this is what I have done:
----commands run as root------->
yum remove ffmpeg
rpm -e --nodeps ffmpeg
rpm -e --nodeps libavutil49-0.4.9-16_r19707.fc4.at
rpm -e --nodeps libavcodec51-0.4.9-16_r19707.fc4.at
rpm -e --nodeps libavformat50-0.4.9-16_r19707.fc4.at
wget http://rpm.forevermore.net/ffmpeg/ffmpeg-0.4.9-1.r5779.src.rpm
chown mythtv. ffmpeg-0.4.9-1.r5779.src.rpm
rpmbuild --rebuild ffmpeg-0.4.9-1.r5779.src.rpm
rpm -ivh /usr/src/redhat/RPMS/i386/ffmpeg-0.4.9-1.r5779.i386.rpm
--------------------------------------->
[root at mythbox ~]# ffmpeg -version
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --extra-cflags=-O2 -g -march=i386 -mcpu=i686 --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --cpu=x86 --enable-a52 --enable-a52bin --enable-dts --enable-faac --enable-faad --enable-libgsm --enable-mp3lame --enable-libogg --enable-vorbis --enable-x264 --enable-xvid --enable-gpl --enable-pp --enable-pthreads --enable-shared --disable-debug --disable-opts --disable-strip
libavutil version: 49.0.0
libavcodec version: 51.10.0
libavformat version: 50.5.0
built on Sep 21 2006 16:24:43, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
ffmpeg SVN-rUNKNOWN
libavutil 3211264
libavcodec 3344896
libavformat 3278080
----
So apart from the gcc version being different, my ffmpeg version looks the same as Wades.
However, I still get a floating point exception. I run the debug switch and this is the output:
--------------------------------
To encode: How I Met Your Mother: Life Among the Gorillas
Use the following commands:
system call:
mkdir -m 0755 /tmp/fifodir_19569/
forking:
/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p autodetect -c 1002 -s 2006-09-10-18-13-03 -f "/tmp/fifodir_19569/" --honorcutlist 2>&1
forking:
/bin/nice -n19 ffmpeg -y -f s16le -ar 0 -ac 0 -i /tmp/fifodir_19569/audout -f rawvideo -pix_fmt yuv420p -s 720x576 -aspect 1.77777777777778 -r 25.000 -i /tmp/fifodir_19569/vidout -aspect 1.77777777777778 -r 25.000 -deinterlace -croptop 12 -cropright 14 -cropbottom 12 -cropleft 14 -s 624x352 -vcodec xvid -b 999 -flags +4mv+trell+loop -aic 1 -mbd 1 -cmp 2 -subcmp 2 -cgop 1 -max_b_frames 1 -b_quant_factor 150 -b_quant_offset 100 -acodec mp3 -async 1 -ab 128 -f avi '/home/mythtv/How I Met Your Mother - Life Among the Gorillas.avi' 2>&1
---------------------------------
Giving me the following output:
[mythtv at mythbox ~]$ /bin/nice -n19 ffmpeg -y -f s16le -ar 0 -ac 0 -i /tmp/fifodir_19569/audout -f rawvideo -pix_fmt yuv420p -s 720x576 -aspect 1.77777777777778 -r 25.000 -i /tmp/fifodir_19569/vidout -aspect 1.77777777777778 -r 25.000 -deinterlace -croptop 12 -cropright 14 -cropbottom 12 -cropleft 14 -s 624x352 -vcodec xvid -b 999 -flags +4mv+trell+loop -aic 1 -mbd 1 -cmp 2 -subcmp 2 -cgop 1 -max_b_frames 1 -b_quant_factor 150 -b_quant_offset 100 -acodec mp3 -async 1 -ab 128 -f avi '/home/mythtv/How I Met Your Mother - Life Among the Gorillas.avi' 2>&1
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --extra-cflags=-O2 -g -march=i386 -mcpu=i686 --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --cpu=x86 --enable-a52 --enable-a52bin --enable-dts --enable-faac --enable-faad --enable-libgsm --enable-mp3lame --enable-libogg --enable-vorbis --enable-x264 --enable-xvid --enable-gpl --enable-pp --enable-pthreads --enable-shared --disable-debug --disable-opts --disable-strip
libavutil version: 49.0.0
libavcodec version: 51.10.0
libavformat version: 50.5.0
built on Sep 21 2006 16:24:43, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)
/tmp/fifodir_19569/audout: I/O error occured
Usually that means that input file is truncated and/or corrupted.
----
[mythtv at mythbox ~]$ /bin/nice -n19 /usr/bin/mythtranscode --showprogress -p autodetect -c 1002 -s 2006-09-10-18-13-03 -f "/tmp/fifodir_19569/" --honorcutlist 2>&1
2006-09-22 08:47:47.964 Using runtime prefix = /usr
2006-09-22 08:47:48.016 New DB connection, total: 1
2006-09-22 08:47:48.027 Enabled verbose msgs: important
2006-09-22 08:47:48.032 New DB connection, total: 2
2006-09-22 08:47:48.063 Using protocol version 30
0: start_time: 6928.113 duration: 129.449
1: start_time: 6928.081 duration: 129.444
2: start_time: 6928.169 duration: -9223372036854.775
3: start_time: 6928.081 duration: 129.481
stream: start_time: 76978.678 duration: 1438.673 bitrate=3521 kb/s
Couldn't create fifo for file: /tmp/fifodir_19569//vidout
No such file or directory
2006-09-22 08:47:48.375 Error initializing fifo writer. Aborting
-----------------------
I get the same error with all the shows including ones recorded before and after 0.19->0.20 upgrade from ATrpms. Is there any other information I should post Chris?
_________________________________________________________________
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d
More information about the mythtv-users
mailing list