While following the instructions at
<a href="http://mythtv.org/wiki/index.php/Stream_mythtv_recordings_from_mythweb_using_flash_video" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://mythtv.org/wiki/index.php/Stream_mythtv_recordings_from_mythweb_using_flash_video
</a>
to test out transcoding my recordings to flash for web-based playback,
I found that I'm having some trouble getting ffmpeg to properly
transcode my MythTV recordings.<br>
<br>
The command<br>
<br>
ffmpeg -y -i 1001_20061220172900.nuv -r 20 -s 480x480 -deinterlace -ar 22050 1001_20061220172900.nuv.flv<br>
<br>
yields the following results:<br>
<br>
FFmpeg version SVN-r7317, Copyright (c) 2000-2006 Fabrice Bellard, et al.<br>
configuration:<br>
libavutil version: 49.1.0<br>
libavcodec version: 51.27.0<br>
libavformat version: 51.6.0<br>
built on Dec 20 2006 19:47:05, gcc: 3.4.4 20050721 (Red Hat 3.4.4-2)<br>
<br>
Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)<br>
Input #0, nuv, from '1001_20061220172900.nuv':<br>
Duration: 04:34:57.9, start: 0.000000, bitrate: 1411 kb/s<br>
Stream #0.0: Video: RJPG / 0x47504A52, 480x480, 29.97 fps(r)<br>
Stream #0.1: Audio: pcm_s16le, 44101 Hz, stereo, 1411 kb/s<br>
Output #0, flv, to '1001_20061220172900.nuv.flv':<br>
Stream #0.0: Video: flv, yuv420p, 480x480, q=2-31, 200 kb/s, 20.00 fps(c)<br>
Stream mapping:<br>
Stream #0.0 -> #0.0<br>
Unsupported codec (id=0) for input stream #0.0<br>
<br>
It looks like for some reason ffmpeg isn't recognizing the codec from
MythTV recordings. The version of ffmpeg is recent (compiled from
SVN on 12/20), not one of the outdated versions found packaged with
some distros. My MythTV version is 0.20 (compiled from source
tarball). BE is running Debian 3.1, FE is FC3.<br>
<br>
Something that looks very strange to me from the ffmpeg output is the
"Duration: 04:34:57.9" part - the recording that I'm trying to
transcode is only 32 minutes long and plays back properly in
Myth. I tried playing the recording back with ffplay and got the
correct audio, but the video was just a black frame.<br>
<br>
Have I missed something obvious or is this possibly a bug in ffmpeg or Myth?<br><span class="sg">
<br>-- <br>--Brad Staton<br><a href="mailto:Brad.Staton@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Brad.Staton@gmail.com</a><br>
<br>
</span>