I believe I made a breakthrough!

http://pastebin.com/m252c2bd

I compiled ffmpeg myself. What I noticed is two things.

1. The mythexport is calling for "aac" support when ffmpeg does not
recognize that as a proper codec. FFMPEG is looking for "libfaac".

 nice -n19 ffmpeg
-i /home/anubis/store/mythtv/video/1061_20080422190000.mpg -acodec aac
-ab 192kb -vcodec mpeg4 -b 600kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2
-subcmp 2 -s 320x240
'/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Dallas_Mavericks_at_New_Or.mp4'
 2>&1
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et
al.
  configuration: --enable-gpl --enable-pp --enable-swscaler
--enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg
--enable-libgsm --enable-dc1394 --disable-debug --enable-shared
--prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Mar 12 2008 15:36:03, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu4)
/home/anubis/store/mythtv/video/1061_20080422190000.mpg: I/O error
occured
Usually that means that input file is truncated and/or corrupted.

2. There is no "libfaac" support compiled into mediabuntu's ffmpeg. Thus
resulting in the file error.

Compling FFMPEG with "libfaac" and "libfaad" support enabled and
changing the "aac" option in the command line to "libfaac" reseluted in
a successful transcode from a .nuv file!

 nice -n19 ffmpeg
-i /home/anubis/store/mythtv/video/1061_20080423200000.nuv -acodec
libfaac -ab 192kb -vcodec mpeg4 -b 600kb -mbd 2 -flags +4mv+trell -aic 2
-cmp 2 -subcmp 2 -s 320x240
'/home/anubis/store/mythtv/video/mythexport/TNT-NBA_Basketball-Atlanta_Hawks_at_Boston_Celtics-20080423.mp4'
 2>&1
FFmpeg version SVN-r12933, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
  configuration: --enable-gpl --enable-libvorbis --enable-liba52
--enable-libgsm --disable-debug --enable-libmp3lame --enable-libfaad
--enable-libfaac --enable-libxvid --enable-libx264 --enable-libtheora
--enable-pthreads
  libavutil version: 49.6.0
  libavcodec version: 51.56.0
  libavformat version: 52.13.0
  libavdevice version: 52.0.0
  built on Apr 24 2008 01:48:26, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

Seems stream 0 codec frame rate differs from container frame rate:
1000.00 (1000/1) -> 29.97 (30000/1001)
Input #0, nuv, from
'/home/anubis/store/mythtv/video/1061_20080423200000.nuv':
  Duration: 34:48:29.08, start: 0.400000, bitrate: 127 kb/s
    Stream #0.0: Video: mpeg4, yuv420p, 480x480 [PAR 4:3 DAR 4:3], 29.97
tb(r)
    Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s
Output #0, mp4, to
'/home/anubis/store/mythtv/video/mythexport/TNT-NBA_Basketball-Atlanta_Hawks_at_Boston_Celtics-20080423.mp4':
    Stream #0.0: Video: mpeg4 (hq), yuv420p, 320x240 [PAR 1:1 DAR 4:3],
q=2-31, 600 kb/s, 29.97 tb(c)
    Stream #0.1: Audio: libfaac, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  101 fps=  1 q=8.1 Lsize=     410kB time=3.3
bitrate=1009.3kbits/s    
video:342kB audio:65kB global headers:0kB muxing overhead 0.761736%

I stopped it though because it worked!

-- 
xchat window keeps blinking after event has been handled
https://bugs.launchpad.net/bugs/21053
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a direct subscriber.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to