mythexport does not have ffmpeg with libfaac support for AAC.

Bug #221053 reported by darthanubis
This bug report is a duplicate of:  Bug #6366: Please enable AAC Support in ffmpeg. Edit Remove
4
Affects Status Importance Assigned to Milestone
mythexport (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mythexport

2008-04-23 02:32:00.069 JobQueue: Started "Medium Quality mythexport " for "The Outer Limits" recorded from channel 1059 at Tue Apr 22 03:00:00 2008
2008-04-23 02:32:00.077 jobqueue: Job "Medium Quality mythexport " Started: Started "Medium Quality mythexport " for "The Outer Limits" recorded from channel 1059 at Tue Apr 22 03:00:00 2008
2008-04-23 02:32:01.576 MainServer::HandleAnnounce Monitor
2008-04-23 02:32:01.583 adding: amd as a client (events: 0)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MythTV/StorageGroup.pm line 57.
Going into new mode

 Source filename:/home/anubis/store/mythtv/video/1059_20080422030000.mpg
Destination filename:/home/anubis/store/mythtv/video/mythexport/Sci-Fi-Channel_The_Outer_Limits_Think_Like_a_Dinosaur_20080.mp4

USING nice -n19 ffmpeg -i /home/anubis/store/mythtv/video/1059_20080422030000.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/Sci-Fi-Channel_The_Outer_Limits_Think_Like_a_Dinosaur_20080.mp4' 2>&1

USING AtomicParsley '/home/anubis/store/mythtv/video/mythexport/Sci-Fi-Channel_The_Outer_Limits_Think_Like_a_Dinosaur_20080.mp4' --genre "TV Shows" --stik "TV Show" --TVNetwork Sci-Fi-Channel --TVShowName "The Outer Limits" --TVEpisode "EP001340710154" --TVEpisodeNum 11 --TVSeason 7 --description "A space station technician lives with aliens to learn the secrets of long-distance space travel." --title "Think Like a Dinosaur" 2>&1

2008-04-23 02:32:01.607 JobQueue: Finished "Medium Quality mythexport " for "The Outer Limits" recorded from channel 1059 at Tue Apr 22 03:00:00 2008.
2008-04-23 02:32:01.614 jobqueue: Job "Medium Quality mythexport " Finished: Finished "Medium Quality mythexport " for "The Outer Limits" recorded from channel 1059 at Tue Apr 22 03:00:00 2008.
2008-04-23 02:32:06.186 MainServer::HandleAnnounce Monitor
2008-04-23 02:32:06.191 adding: amd as a client (events: 0)
2008-04-23 02:32:31.244 MainServer::HandleAnnounce Monitor
2008-04-23 02:32:31.249 adding: amd as a client (events: 0)
2008-04-23 02:36:48.251 MainServer::HandleAnnounce Monitor
2008-04-23 02:36:48.261 adding: amd as a client (events: 0)
2008-04-23 02:40:12.449 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2008-04-23 02:41:25.497 MainServer::HandleAnnounce Monitor
2008-04-23 02:41:25.504 adding: amd as a client (events: 0)
2008-04-23 02:41:27.086 MainServer::HandleAnnounce Monitor
2008-04-23 02:41:27.093 adding: amd as a client (events: 0)
2008-04-23 02:41:29.704 Using runtime prefix = /usr, libdir = /usr/lib
2008-04-23 02:41:29.728 Empty LocalHostName.
2008-04-23 02:41:29.744 Using localhost value of amd
2008-04-23 02:41:30.136 Cannot find default UPnP backend
2008-04-23 02:41:30.313 New DB connection, total: 1
2008-04-23 02:41:30.388 Connected to database 'mythconverg' at host: localhost
2008-04-23 02:41:30.392 Closing DB connection named 'DBManager0'
2008-04-23 02:41:30.393 Deleting UPnP client...
2008-04-23 02:41:31.908 Connected to database 'mythconverg' at host: localhost
2008-04-23 02:41:31.963 New DB connection, total: 2
2008-04-23 02:41:31.991 Connected to database 'mythconverg' at host: localhost
2008-04-23 02:41:32.008 Current Schema Version: 1214
2008-04-23 02:41:32.503 Preview: Grabbed preview '/home/anubis/store/mythtv/video/1056_20080423010000.nuv' 480x480@64s
2008-04-23 02:41:33.838 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1053_20080330230000.nuv'
2008-04-23 02:41:33.845 MainServer: Failed to make preview image.
2008-04-23 02:41:33.900 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1059_20080325150000.nuv'
2008-04-23 02:41:34.044 MainServer: Failed to make preview image.
2008-04-23 02:41:34.221 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1060_20080320230000.nuv'
2008-04-23 02:41:34.282 MainServer: Failed to make preview image.
2008-04-23 02:41:34.670 MainServer::HandleAnnounce Monitor
2008-04-23 02:41:34.685 adding: amd as a client (events: 0)
2008-04-23 02:41:36.958 MainServer::HandleAnnounce Monitor
2008-04-23 02:41:36.963 adding: amd as a client (events: 0)
2008-04-23 02:41:37.785 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1053_20080330230000.nuv'
2008-04-23 02:41:37.791 MainServer: Failed to make preview image.
2008-04-23 02:41:37.849 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1059_20080325150000.nuv'
2008-04-23 02:41:37.852 MainServer: Failed to make preview image.
2008-04-23 02:41:37.879 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1060_20080320230000.nuv'
2008-04-23 02:41:37.884 MainServer: Failed to make preview image.
2008-04-23 02:41:56.458 MainServer::HandleAnnounce Monitor
2008-04-23 02:41:56.463 adding: amd as a client (events: 0)
2008-04-23 02:42:01.599 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:01.632 adding: amd as a client (events: 0)
2008-04-23 02:42:04.030 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:04.038 adding: amd as a client (events: 0)
2008-04-23 02:42:12.241 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:12.248 adding: amd as a client (events: 0)
2008-04-23 02:42:12.672 Reschedule requested for id -1.
2008-04-23 02:42:13.950 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:13.958 adding: amd as a client (events: 0)
2008-04-23 02:42:15.079 Scheduled 166 items in 2.4 = 0.53 match + 1.88 place
2008-04-23 02:42:15.188 scheduler: Scheduled items: Scheduled 166 items in 2.4 = 0.53 match + 1.88 place
2008-04-23 02:42:15.417 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:15.422 adding: amd as a client (events: 0)
2008-04-23 02:42:16.448 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:16.455 adding: amd as a client (events: 0)
2008-04-23 02:42:23.169 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:23.176 adding: amd as a client (events: 0)
2008-04-23 02:42:34.152 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:34.159 adding: amd as a client (events: 0)
2008-04-23 02:42:43.734 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:43.740 adding: amd as a client (events: 0)
2008-04-23 02:42:58.955 MainServer::HandleAnnounce Monitor
2008-04-23 02:42:58.963 adding: amd as a client (events: 0)
2008-04-23 02:43:05.836 JobQueue: Started "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 19:00:00 2008
2008-04-23 02:43:05.843 jobqueue: Job "Medium Quality mythexport " Started: Started "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 19:00:00 2008
2008-04-23 02:43:07.261 MainServer::HandleAnnounce Monitor
2008-04-23 02:43:07.265 adding: amd as a client (events: 0)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MythTV/StorageGroup.pm line 57.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Going into new mode

 Source filename:/home/anubis/store/mythtv/video/1061_20080422190000.mpg
Destination filename:/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Dallas_Mavericks_at_New_Or.mp4

USING 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

USING AtomicParsley '/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Dallas_Mavericks_at_New_Or.mp4' --genre "TV Shows" --stik "TV Show" --TVNetwork Turner-Network-TV --TVShowName "NBA Basketball" --TVEpisode "SP002031550000" --TVEpisodeNum --TVSeason --description "Western Conference first round, game 2." --title "Dallas Mavericks at New Orleans Hornets" 2>&1

2008-04-23 02:43:07.364 JobQueue: Finished "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 19:00:00 2008.
2008-04-23 02:43:07.372 jobqueue: Job "Medium Quality mythexport " Finished: Finished "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 19:00:00 2008.
2008-04-23 02:43:13.772 MainServer::HandleAnnounce Monitor
2008-04-23 02:43:13.779 adding: amd as a client (events: 0)
2008-04-23 02:44:02.597 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:02.601 adding: amd as a client (events: 0)
2008-04-23 02:44:03.909 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1053_20080330230000.nuv'
2008-04-23 02:44:03.916 MainServer: Failed to make preview image.
2008-04-23 02:44:03.942 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1059_20080325150000.nuv'
2008-04-23 02:44:03.945 MainServer: Failed to make preview image.
2008-04-23 02:44:03.969 Preview Error: Run() file not local: '/GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/amd/1060_20080320230000.nuv'
2008-04-23 02:44:03.971 MainServer: Failed to make preview image.
2008-04-23 02:44:09.631 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:09.662 adding: amd as a client (events: 0)
2008-04-23 02:44:10.422 MythSocket(7f5b483172d0:-1): writeStringList: Error, socket went unconnected.
2008-04-23 02:44:11.549 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:11.554 adding: amd as a client (events: 0)
2008-04-23 02:44:12.519 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:12.526 adding: amd as a client (events: 0)
2008-04-23 02:44:18.004 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:18.009 adding: amd as a client (events: 0)
2008-04-23 02:44:18.443 Reschedule requested for id -1.
2008-04-23 02:44:19.747 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:19.755 adding: amd as a client (events: 0)
2008-04-23 02:44:20.065 Scheduled 166 items in 1.6 = 0.03 match + 1.59 place
2008-04-23 02:44:20.077 scheduler: Scheduled items: Scheduled 166 items in 1.6 = 0.03 match + 1.59 place
2008-04-23 02:44:20.561 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:20.566 adding: amd as a client (events: 0)
2008-04-23 02:44:21.654 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:21.663 adding: amd as a client (events: 0)
2008-04-23 02:44:26.620 MainServer::HandleAnnounce Monitor
2008-04-23 02:44:26.625 adding: amd as a client (events: 0)
2008-04-23 02:45:10.876 JobQueue: Started "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 21:30:00 2008
2008-04-23 02:45:10.887 jobqueue: Job "Medium Quality mythexport " Started: Started "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 21:30:00 2008
2008-04-23 02:45:11.261 MainServer::HandleAnnounce Monitor
2008-04-23 02:45:11.265 adding: amd as a client (events: 0)
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MythTV/StorageGroup.pm line 57.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Going into new mode

 Source filename:/home/anubis/store/mythtv/video/1061_20080422213000.mpg
Destination filename:/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Phoenix_Suns_at_San_Antoni.mp4

USING nice -n19 ffmpeg -i /home/anubis/store/mythtv/video/1061_20080422213000.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_Phoenix_Suns_at_San_Antoni.mp4' 2>&1

USING AtomicParsley '/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Phoenix_Suns_at_San_Antoni.mp4' --genre "TV Shows" --stik "TV Show" --TVNetwork Turner-Network-TV --TVShowName "NBA Basketball" --TVEpisode "SP002031620000" --TVEpisodeNum --TVSeason --description "Western Conference first round, game 2." --title "Phoenix Suns at San Antonio Spurs" 2>&1

2008-04-23 02:45:11.323 JobQueue: Finished "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 21:30:00 2008.
2008-04-23 02:45:11.329 jobqueue: Job "Medium Quality mythexport " Finished: Finished "Medium Quality mythexport " for "NBA Basketball" recorded from channel 1061 at Tue Apr 22 21:30:00 2008.

Running from job line with "debug" ending the line. It appears mythexport does not want to encode any .nuv files, and hit or miss with the mpgs. Each job claims to be completed successful after failing after one second. Attempting to run from command line was not much better, but I did get the last show to encode.

mythtv@amd:/home/anubis/eggdrop$ ls -la /home/anubis/store/mythtv/video/1002_20080411.mpg
ls: cannot access /home/anubis/store/mythtv/video/1002_20080411.mpg: No such file or directory
mythtv@amd:/home/anubis/eggdrop$ mythexport exportdir=/home/anubis/store/mythtv/video/mythexport starttime=2008-04-21 11:00:00 chanid=1044 size=320x240 aspect=4:3 audio_bitrate=192kb video_bitrate=600kb export_device=ipod export_codec=mpeg4
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MythTV/StorageGroup.pm line 57.
Use of uninitialized value in substitution (s///) at /usr/bin/mythexport line 170.
Use of uninitialized value in substitution (s///) at /usr/bin/mythexport line 173.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 179.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 179.
Use of uninitialized value in pattern match (m//) at /usr/bin/mythexport line 181.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
/home/anubis/store/mythtv/video/1044_20080421.mpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.
AP error trying to fopen: No such file or directory
AtomicParsley error: can't open /home/anubis/store/mythtv/video/mythexport/VH1---Video-Hits-One___20080421.mp4 for reading: No such file or directory
rm: cannot remove `/home/anubis/store/mythtv/video/mythexport/VH1---Video-Hits-One___20080421.mp4': No such file or directory
mv: cannot stat `/home/anubis/store/mythtv/video/mythexport/*temp*.mp4': No such file or directory
mythtv@amd:/home/anubis/eggdrop$ clear

mythtv@amd:/home/anubis/eggdrop$ mythexport exportdir=/home/anubis/store/mythtv/video/mythexport starttime=2008-04-21 11:00:00 chanid=1044 size=320x240 aspect=4:3 audio_bitrate=192kb video_bitrate=600kb export_device=ipod export_codec=mpeg4
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/MythTV/StorageGroup.pm line 57.
Use of uninitialized value in substitution (s///) at /usr/bin/mythexport line 170.
Use of uninitialized value in substitution (s///) at /usr/bin/mythexport line 173.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 179.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 179.
Use of uninitialized value in pattern match (m//) at /usr/bin/mythexport line 181.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
Use of uninitialized value in concatenation (.) or string at /usr/bin/mythexport line 244.
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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
/home/anubis/store/mythtv/video/1044_20080421.mpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.
AP error trying to fopen: No such file or directory
AtomicParsley error: can't open /home/anubis/store/mythtv/video/mythexport/VH1---Video-Hits-One___20080421.mp4 for reading: No such file or directory
rm: cannot remove `/home/anubis/store/mythtv/video/mythexport/VH1---Video-Hits-One___20080421.mp4': No such file or directory
mv: cannot stat `/home/anubis/store/mythtv/video/mythexport/*temp*.mp4': No such file or directory
mythtv@amd:/home/anubis/eggdrop$ nice -n19 ffmpeg -i /home/anubis/store/mythtv/video/1059_20080422030000.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/Sci-Fi-Channel_The_Outer_Limits_Think_Like_a_Dinosaur_20080.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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
/home/anubis/store/mythtv/video/1059_20080422030000.mpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.
mythtv@amd:/home/anubis/eggdrop$ clear

mythtv@amd:/home/anubis/eggdrop$ nice -n19 ffmpeg -i /home/anubis/store/mythtv/video/1059_20080422030000.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/Sci-Fi-Channel_The_Outer_Limits_Think_Like_a_Dinosaur_20080.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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
/home/anubis/store/mythtv/video/1059_20080422030000.mpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.
mythtv@amd:/home/anubis/eggdrop$ 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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
/home/anubis/store/mythtv/video/1061_20080422190000.mpg: I/O error occured
Usually that means that input file is truncated and/or corrupted.
mythtv@amd:/home/anubis/eggdrop$ nice -n19 ffmpeg -i /home/anubis/store/mythtv/video/1061_20080422213000.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_Phoenix_Suns_at_San_Antoni.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-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr
  libavutil version: 1d.49.3.0
  libavcodec version: 1d.51.38.0
  libavformat version: 1d.51.10.0
  built on Apr 3 2008 18:39:35, gcc: 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Input #0, mpeg, from '/home/anubis/store/mythtv/video/1061_20080422213000.mpg':
  Duration: 02:29:55.5, start: 0.222622, bitrate: 5016 kb/s
  Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 480x480, 6000 kb/s, 29.97 fps(r)
  Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 192 kb/s
Output #0, mp4, to '/home/anubis/store/mythtv/video/mythexport/Turner-Network-TV_NBA_Basketball_Phoenix_Suns_at_San_Antoni.mp4':
  Stream #0.0: Video: mpeg4 (hq), yuv420p, 320x240, q=2-31, 600 kb/s, 29.97 fps(c)
  Stream #0.1: Audio: aac, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[mpeg2video @ 0x7f6d777e68d0]ac-tex damaged at 15 6ate= 764.0kbits/s
[mpeg2video @ 0x7f6d777e68d0]Warning MVs not available
[mpeg2video @ 0x7f6d777e68d0]concealing 720 DC, 720 AC, 720 MV errors
frame=269607 q=6.4 Lsize= 844479kB time=8995.5 bitrate= 769.0kbits/s
video:659035kB audio:179936kB global headers:0kB muxing overhead 0.656510%
mythtv@amd:/home/anubis/eggdrop$ dpkg -l mythexport |grep ^ii
ii mythexport 1.0-0ubuntu1 Export MythTV recording to portable media players
mythtv@amd:/home/anubis/eggdrop$

BTW , I/O error occured
Usually that means that input file is truncated and/or corrupted. < Whats up with that?

Revision history for this message
darthanubis (darthanubis) wrote :

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!

Revision history for this message
rhpot1991 (rhpot1991) wrote :

This isn't a bug. MythExport calls whatever version of FFmpeg the user has on their system. Certain players need codecs which cannot be enabled in the Ubuntu repositories, therefor users should look into 3rd party repositories like Medibuntu if they do not want to compile FFmpeg by hand. MythExport is written to use the syntax that these versions of FFmpeg would expect. The "-acodec libfaac" is for versions of FFmpeg that are newer than the ones in Ubuntu, and is not the proper way to do things here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.