<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body>This is under Fedora Core 6, Pentium 4 2.2Ghz, 1Gb Ram, Nova-T PCI<BR>
<BR># rpm -qa | grep myth<BR>
<BR>myththemes-0.20.1-111.at<BR>mythdvd-0.20.1-158.fc6<BR>mythvideo-0.20.1-158.fc6<BR>mythtv-frontend-0.20.1-158.fc6<BR>mythgallery-0.20.1-158.fc6<BR>libmyth-0.20.1-158.fc6<BR>mythtv-setup-0.20.1-158.fc6<BR>mythplugins-0.20.1-158.fc6<BR>mythstream-0.17_2-16.fc6<BR>mythcontrols-0.20.1-158.fc6<BR>mythweather-0.20.1-158.fc6<BR>mythtv-theme-MediaCenter-0.17-5.at<BR>mythtv-themes-0.20.1-158.fc6<BR>mythphone-0.20.1-158.fc6<BR>mythtv-suite-0.20.1-158.fc6<BR>mythtv-0.20.1-158.fc6<BR>mythgame-0.20.1-158.fc6<BR>mythmkmovie-1.1.4-5.fc6.at<BR>mythbrowser-0.20.1-158.fc6<BR>mythflix-0.20.1-158.fc6<BR>mythnews-0.20.1-158.fc6<BR>mythweb-0.20.1-158.fc6<BR>mythtv-backend-0.20.1-158.fc6<BR>mythmusic-0.20.1-158.fc6<BR>mytharchive-0.20.1-158.fc6<BR>
<BR># rpm -qa | grep ffmpeg<BR>ffmpeg-0.4.9-23_r8743.fc6.at<BR>ffmpeg-devel-0.4.9-23_r8743.fc6.at<BR>
<BR># rpm -qa | grep nuvexport<BR>nuvexport-0.4-0.20070630.svn<BR>
<BR>Running nuvexport --debug to transcode a DVB-T mpeg file to MP3 gives me the following commands:<BR>
<BR>You have chosen to export 1 episode:<BR>
<BR>&nbsp; 1. BBC News; Weather:<BR>&nbsp;&nbsp;&nbsp;&nbsp; (10/31/2006, 1:00 PM) 720x576 MPEG2 (4:3)<BR>&nbsp;&nbsp;&nbsp;&nbsp; No Description<BR>
<BR>* Separate multiple episodes with spaces, or ranges with '-'<BR>
<BR>&nbsp; c. Continue<BR>&nbsp; n. Choose another show<BR>&nbsp; q. Quit<BR>
Choose a function, or episode(s) to remove:&nbsp; c<BR>Where would you like to export the files to? [.] /home/mythtv/<BR>Enable Myth cutlist? [Yes]<BR>Audio bitrate? [128] 192<BR>
<BR>--------------------------------<BR>To encode:&nbsp; BBC News; Weather:&nbsp; Untitled<BR>Use the following commands:<BR>
<BR>system call:<BR>mkdir -m 0755 /tmp/fifodir_21423/<BR>
<BR>forking:<BR>/bin/nice -n19 /usr/bin/mythtranscode --showprogress -p autodetect -c 1501 -s 2006-10-31-13-00-00 -f "/tmp/fifodir_21423/" --honorcutlist --fifosync 2&gt;&amp;1<BR>
<BR>forking:<BR>cat /tmp/fifodir_21423/vidout &gt; /dev/null<BR>
<BR>forking:<BR>/bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_21423/audout&nbsp; -ab '196608' -acodec mp3 -f mp3 '/home/mythtv/BBC News; Weather.mp3' 2&gt;&amp;1<BR>
<BR>system call:<BR>id3tag -A 'Untitled' -a '1501' -c 'No Description' -s 'BBC News; Weather' '/home/mythtv/BBC News; Weather.mp3'<BR>
Cleaning up temp files.<BR>
----------------<BR>
<BR>Running the first forking command does generate the temporary folders:<BR>
<BR>$ ls -la /tmp/fifodir_21423/<BR>total 12<BR>drwxr-xr-x&nbsp; 2 mythtv mythtv 4096 Jul 10 12:34 .<BR>drwxrwxrwt 21 root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Jul 10 12:31 ..<BR>prw-r--r--&nbsp; 1 mythtv mythtv&nbsp;&nbsp;&nbsp; 0 Jul 10 12:34 audout<BR>prw-r--r--&nbsp; 1 mythtv mythtv&nbsp;&nbsp;&nbsp; 0 Jul 10 12:34 vidout<BR>
<BR>but after running the second forking command and the first process finishes the temp folder becomes empty:<BR>
<BR>$ ls -la /tmp/fifodir_21423/<BR>total 12<BR>drwxr-xr-x&nbsp; 2 mythtv mythtv 4096 Jul 10 12:36 .<BR>drwxrwxrwt 21 root&nbsp;&nbsp; root&nbsp;&nbsp; 4096 Jul 10 12:35 ..<BR>
<BR>Running the third forking command whilst the first two are running gives this response:<BR>
<BR>$ /bin/nice -n19 ffmpeg -threads 2 -y -f s16le -ar 48000 -ac 2 -i /tmp/fifodir_21423/audout&nbsp; -ab '196608' -acodec mp3 -f mp3 '/home/mythtv/BBC News; Weather.mp3' 2&gt;&amp;1<BR>
<BR>FFmpeg version SVN-r8743, Copyright (c) 2000-2007 Fabrice Bellard, et al.<BR>&nbsp; configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-dc1394 --enable-liba52bin --enable-libdts --enable-libfaac --enable-libfaadbin --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-xvid --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --disable-strip<BR>&nbsp; libavutil version: 49.4.0<BR>&nbsp; libavcodec version: 51.40.3<BR>&nbsp; libavformat version: 51.12.1<BR>&nbsp; built on Apr 23 2007 23:45:21, gcc: 4.1.1 20070105 (Red Hat 4.1.1-51)<BR>&nbsp; <BR>&nbsp; <BR>Input #0, s16le, from '/tmp/fifodir_21423/audout':<BR>&nbsp; Duration: N/A, bitrate: N/A<BR>&nbsp; Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s<BR>Output #0, mp3, to '/home/mythtv/BBC News; Weather.mp3':<BR>&nbsp; Stream #0.0: Audio: mp3, 48000 Hz, stereo, 196 kb/s<BR>Stream mapping:<BR>&nbsp; Stream #0.0 -&gt; #0.0<BR>Error while opening codec for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height<BR>
<BR>----<BR>
<BR>And of course if the temporary folder is empty then running the third forking command doesn't do anything:<BR>
<BR>FFmpeg version SVN-r8743, Copyright (c) 2000-2007 Fabrice Bellard, et al.<BR>&nbsp; configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-shared --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-x11grab --enable-dc1394 --enable-liba52bin --enable-libdts --enable-libfaac --enable-libfaadbin --enable-libmp3lame --enable-libogg --enable-libtheora --enable-libvorbis --enable-xvid --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --disable-strip<BR>&nbsp; <BR>&nbsp; <BR>&nbsp; libavutil version: 49.4.0<BR>&nbsp; libavcodec version: 51.40.3<BR>&nbsp; libavformat version: 51.12.1<BR>&nbsp; built on Apr 23 2007 23:45:21, gcc: 4.1.1 20070105 (Red Hat 4.1.1-51)<BR>&nbsp; <BR>&nbsp; <BR>/tmp/fifodir_21423/audout: I/O error occured<BR>Usually that means that input file is truncated and/or corrupted.<BR>
<BR>-------------------------<BR>
<BR>It looks like the command for ffmpeg is configuring the -ab correctly.&nbsp; Is the issue I'm experiencing&nbsp;a problem with transcode not correctly detecting the video parameters and passing them onto ffmpeg?&nbsp; <BR><br /><hr />The future of MSN Messenger!  <a href='http://imagine-msn.com/messenger/launch/en-GB/' target='_new'>Windows Live Messenger</a></body>
</html>