Thank you for the responses.<br>
<br>
when I try Sven&#39;s approach:<br>
<br>
[mythtv@mythtv video]$ ffmpeg -i 2_20070306200447.mpg -vcodec mpeg4
-vtag MP4V -b 300 -g 300 -bf 2 -s 352x288 -acodec mp2 -ab 80 -ac 2
output.avi<br>
FFmpeg version SVN-r6524, Copyright (c) 2000-2006 Fabrice Bellard, et al.<br>
&nbsp; configuration:&nbsp; --prefix=/usr --libdir=/usr/lib
--shlibdir=/usr/lib --mandir=/usr/share/man --enable-mp3lame
--enable-libogg --enable-vorbis --enable-faadbin --enable-faac
--enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts
--enable-pp --enable-shared --enable-pthreads --enable-dc1394
--enable-gpl --disable-strip --extra-cflags=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-fasynchronous-unwind-tables<br>
&nbsp; libavutil version: 49.0.1<br>
&nbsp; libavcodec version: 51.16.0<br>
&nbsp; libavformat version: 50.5.0<br>
&nbsp; built on Oct 27 2006 08:43:35, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)<br>
<br>
Seems that stream 0 comes from film source: 25.00 (25025/1001) -&gt; 25.00 (25/1)<br>
Input #0, mpeg, from &#39;2_20070306200447.mpg&#39;:<br>
&nbsp; Duration: 00:00:50.7, start: 0.276089, bitrate: 5211 kb/s<br>
&nbsp; Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576, 6000 kb/s, 25.00 fps(r)<br>
&nbsp; Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s<br>
File &#39;output.avi&#39; already exists. Overwrite ? [y/N] y<br>
Output #0, avi, to &#39;output.avi&#39;:<br>
&nbsp; Stream #0.0: Video: mpeg4, yuv420p, 352x288, q=2-31, 0 kb/s, 25.00 fps(c)<br>
&nbsp; Stream #0.1: Audio: mp2, 48000 Hz, stereo, 80 kb/s<br>
Stream mapping:<br>
&nbsp; Stream #0.0 -&gt; #0.0<br>
&nbsp; Stream #0.1 -&gt; #0.1<br>
Press [q] to stop encoding<br>
[mpeg2video @ 0x34b0f08]ac-tex damaged at 5 7bitrate= 113.3kbits/s<br>
[mpeg2video @ 0x34b0f08]Warning MVs not available<br>
[mpeg2video @ 0x34b0f08]concealing 1305 DC, 1305 AC, 1305 MV errors<br>
frame= 1275 q=38.8 Lsize=&nbsp;&nbsp;&nbsp;&nbsp; 754kB time=50.7 bitrate= 121.9kbits/s<br>
video:170kB audio:495kB global headers:0kB muxing overhead 13.483052%<br>
<br>
it does encode to output.avi<br>
<br>
<br>
And when I try Jon&#39;s approach it gives me the same error as via myth2ipod:<br>
<br>
[mythtv@mythtv video]$ /bin/nice -n19 ffmpeg -v quiet -y -i
2_20070306200447.mpg -aspect 1.33333333333333 -r 25.00 -croptop 10
-cropright 14 -cropbottom 10 -cropleft 14 -s 320x240 -vcodec mpeg4 -b
300kb -flags +4mv+trell -f mp4 -aic 2 -cmp 2 -subcmp 2 -acodec aac -ar
32000 -async 1 -ac 1 -ab 64 \&#39;outfile.temp.mp4\&#39; &amp;&amp; MP4Box -add
outfile.temp.mp4 outfile &amp;&amp; rm outfile.temp.mp4<br>
FFmpeg version SVN-r6524, Copyright (c) 2000-2006 Fabrice Bellard, et al.<br>
&nbsp; configuration:&nbsp; --prefix=/usr --libdir=/usr/lib
--shlibdir=/usr/lib --mandir=/usr/share/man --enable-mp3lame
--enable-libogg --enable-vorbis --enable-faadbin --enable-faac
--enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts
--enable-pp --enable-shared --enable-pthreads --enable-dc1394
--enable-gpl --disable-strip --extra-cflags=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -m32 -march=i386
-fasynchronous-unwind-tables<br>
&nbsp; libavutil version: 49.0.1<br>
&nbsp; libavcodec version: 51.16.0<br>
&nbsp; libavformat version: 50.5.0<br>
&nbsp; built on Oct 27 2006 08:43:35, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8)<br>
<br>
Seems that stream 0 comes from film source: 25.00 (25025/1001) -&gt; 25.00 (25/1)<br>
Stream mapping:<br>
&nbsp; Stream #0.0 -&gt; #0.0<br>
&nbsp; Stream #0.1 -&gt; #0.1<br>
[aac @ 0x34b0f08]libfaac doesn&#39;t support this output format!<br>
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height<br>
<br>
<br>
(I had to change the bit_rate because my ffmpeg doesn&#39;t know this option, and I had to add -f mp4 to get it to run.. ?!)<br>
<br>
I tried to find a solution for the &quot;Error while opening codec for
output stream #0.1&quot; problem, but all i could find are people
experiencing the same problem.<br>
<br>
Thank you for all the pointers, the pdatranscode sounds promising once I get ffmpeg to encode correctly I will certainly try it.<br>
<br>
Martijn<br><br><div><span class="gmail_quote">On 3/7/07, <b class="gmail_sendername">Jon Larson</b> &lt;<a href="mailto:jtlarson@u.washington.edu">jtlarson@u.washington.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>Sven Nielsen wrote:<br>&gt; Martijn Morriën schrieb:<br>&gt; &gt; I&#39;m trying to get myth2ipod working on my Fedora Core 4 (Jarod Wilson) MythTv<br>&gt; &gt; 0.20 machine. All installs well, but when ffmpeg starts converting it fails.
<br>&gt; &gt; I&#39;m trying to fix this, but that is another story....<br>&gt; &gt;<br>&gt; &gt; Instead of fixing my problem I saw that you can also use VLC to convert video<br>&gt; &gt; files.<br>&gt; &gt; VLC has rpm&#39;s available for easy installment and there is some good
<br>&gt; &gt; documentation at: <a href="http://wiki.videolan.org/Ipod">http://wiki.videolan.org/Ipod</a><br>&gt; &gt; &lt;<a href="http://wiki.videolan.org/Ipod">http://wiki.videolan.org/Ipod</a>&gt; for my conversion case. (I need to convert
<br>&gt; &gt; from PVR500: mpeg2 to mp4)<br>&gt; &gt;<br>&gt; &gt; I was wondering if there are MythTv users out there that use VLC to convert<br>&gt; &gt; videos as a user task and what their experience is/was?<br>&gt; &gt;
<br>&gt; &gt; Thank you,<br>&gt; &gt;<br>&gt; &gt; Martijn<br>&gt; &gt; --------------------------------------------------------------------------------<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; mythtv-users mailing list<br>&gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; &gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br>&gt; &gt;<br>&gt;<br>&gt; During the last weeks nuvexport (which uses mythtranscode and ffmpeg) did not<br>&gt; work using the debian testing packages from <a href="http://www.debian-multimedia.org">www.debian-multimedia.org
</a>.<br>&gt; Communication between mythtranscode and ffmpeg was not working and ffmpeg failed<br>&gt; to get any data from the FIFOs mythtranscode set up. This problem was fixed a<br>&gt; few days ago with updated packages. This might be the reason for your problems
<br>&gt; with ffmpeg?<br>&gt;<br>&gt; I do not recommend using vlc for transcoding. Quality is worse since it aims on<br>&gt; providing realtime transcoding for live streaming. Furthermore, ffmpeg gives you<br>&gt; a lot more codec options to control the transcoding process.
<br>&gt;<br>&gt; If myth2ipod won´t work try the following or a similar line (i do not know the<br>&gt; exact codec resolution requirements of an ipod) with directly with any avi / mpg<br>&gt; / nuv file:<br>&gt;<br>&gt; /ffmpeg -i &lt;some_avi_mpg_nuv_file&gt; -vcodec mpeg4 -vtag MP4V -b 300 -g 300 -bf 2
<br>&gt; -s 352x288 -acodec mp2 -ab 80 -ac 2 output.avi/<br>&gt;<br>&gt; If you can succesfully transcode and watch a video this way, file a bug for<br>&gt; myth2ipod, or, just wait a few days or weeks until somebody else recognizes and
<br>&gt; corrects the error.<br>&gt;<br>To follow up on what Sven said, you can also use the pdatranscode script<br>as an alternative to myth2ipod, pdatranscode has some pre-defined<br>encoding profiles for mencoder, and does not require nuvexport.
<br><br>If you want to use similar encoding settings to what you would get from<br>myth2ipod+nuvexport+MP4Box, just insert this into the<br>&quot;transcodercommands&quot; section and set the &quot;transcoder&quot; command in the
<br>config to &#39;ffmpeg&#39; :<br><br>&nbsp;&nbsp;&#39;ffmpeg&#39; =&gt; &#39;/usr/bin/nice -n19 ffmpeg -v quiet -y -i {infile} -aspect<br>1.33333333333333 -r 29.97 -croptop 10 -cropright 14 -cropbottom 10<br>-cropleft&nbsp;&nbsp;14 -s 320x240&nbsp;&nbsp;-vcodec mpeg4 -bit_rate 300kb -flags
<br>+4mv+trell -aic 2 -cmp 2 -subcmp 2 -acodec aac -ar 32000 -async 1 -ac 1<br>-ab 64 \&#39;{outfile}.temp.mp4\&#39; &amp;&amp; MP4Box -add {outfile}.temp.mp4<br>{outfile} &amp;&amp; rm {outfile}.temp.mp4&#39;,<br><br>I&#39;ve modified the pdatranscode script for my own use and added the
<br>podcast functions from myth2ipod so that I get the more advanced<br>file-management functions available in pdatranscode+the RSS feed<br>functions from myth2ipod.<br><br>The basic script is here:<br><a href="http://www.tux.org/~peterw/linux/pdatranscode.pl.txt">
http://www.tux.org/~peterw/linux/pdatranscode.pl.txt</a><br><br>Jon<br><br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>