[mythtv] AFD Error: avformat err(-1) on av_open_input_file call

juampe juampe at iquis.com
Thu Dec 15 06:26:10 EST 2005


I cannot watch TV on latest SVN version
What kind of decoder are not built in?
The test is simple, try to wath the default channel
any ideas?


Basic error log
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:09.586 AFD: Opened codec 0x8187ea0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:09.595 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:09.596 NVP: Disabling Audio, params(16,-1,-1)
mpegts_read_header: read_packet() failed
2005-12-14 22:52:09.692 AFD Error: avformat err(-1) on 
av_open_input_file call.
2005-12-14 22:52:09.693 Couldn't open decoder for: 
/var/lib/mythtv//1001_20051214225203.mpg
2005-12-14 22:52:09.694 NVP, Error: Could not open file for preview.
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:13.763 AFD: Opened codec 0x81cdaf0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:13.770 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:13.771 NVP: Disabling Audio, params(16,-1,-1)



Full Log


2005-12-14 22:45:31.645 Using runtime prefix = /usr
2005-12-14 22:45:31.687 New DB connection, total: 1
2005-12-14 22:45:31.705 Enabling Settings Cache.
2005-12-14 22:45:31.706 Clearing Settings Cache.
2005-12-14 22:45:31.713 Current Schema Version: 1120
Starting up as the master server.
2005-12-14 22:45:31.742 New DB connection, total: 2
2005-12-14 22:45:31.777 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:45:31.787 New DB connection, total: 3
2005-12-14 22:45:31.798 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:45:31.841 New DB scheduler connection
2005-12-14 22:45:31.861 mythbackend version: 0.19.20051208-1 www.mythtv.org
2005-12-14 22:45:31.863 Enabled verbose msgs:  important general
2005-12-14 22:45:31.864 AutoExpire: Found 1 recorders w/max rate of 138 
MiB/min
2005-12-14 22:45:31.870 AutoExpire: Required Free Space: 3.0 GB w/freq: 
10 min
2005-12-14 22:45:33.862 Reschedule requested for id -1.
2005-12-14 22:45:33.895 Scheduled 0 items in 0.0 = 0.02 match + 0.02 place
2005-12-14 22:45:33.912 Seem to be woken up by USER
2005-12-14 22:46:09.348 MainServer::HandleAnnounce Monitor
2005-12-14 22:46:09.350 adding: spawn as a client (events: 0)
2005-12-14 22:46:09.400 MainServer::HandleAnnounce Monitor
2005-12-14 22:46:09.402 adding: spawn as a client (events: 1)
2005-12-14 22:46:09.410 adding: spawn as a client (events: 0)
2005-12-14 22:46:09.425 TVRec(1): Changing from None to WatchingLiveTV
2005-12-14 22:46:09.440 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:46:09.447 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:46:10.260 DVB#0 DVB SI Table Parser Started
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:46:17.084 AFD: Opened codec 0x8188990, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:46:17.092 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:46:17.093 NVP: Disabling Audio, params(16,-1,-1)
2005-12-14 22:46:42.787 TVRec(1): Changing from WatchingLiveTV to None
2005-12-14 22:46:42.969 Finished recording Metropolis "cMagazine 
cultural semanal de "LA 2" que refleja las mas modernas tendencias del 
arte de hoy en dia, en el terreno plastico, del": channel 1001
2005-12-14 22:51:09.591 Using runtime prefix = /usr
2005-12-14 22:51:09.633 New DB connection, total: 1
2005-12-14 22:51:09.648 Enabling Settings Cache.
2005-12-14 22:51:09.649 Clearing Settings Cache.
2005-12-14 22:51:09.656 Current Schema Version: 1120
Starting up as the master server.
2005-12-14 22:51:09.683 New DB connection, total: 2
2005-12-14 22:51:09.711 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:51:09.722 New DB connection, total: 3
2005-12-14 22:51:09.730 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:51:09.767 New DB scheduler connection
2005-12-14 22:51:09.783 mythbackend version: 0.19.20051208-1 www.mythtv.org
2005-12-14 22:51:09.784 Enabled verbose msgs:  important general
2005-12-14 22:51:09.786 AutoExpire: Found 1 recorders w/max rate of 138 
MiB/min
2005-12-14 22:51:09.791 AutoExpire: Required Free Space: 3.0 GB w/freq: 
10 min
2005-12-14 22:51:11.799 Reschedule requested for id -1.
2005-12-14 22:51:11.833 Scheduled 0 items in 0.0 = 0.02 match + 0.02 place
2005-12-14 22:51:11.847 Seem to be woken up by USER
2005-12-14 22:52:01.922 MainServer::HandleAnnounce Monitor
2005-12-14 22:52:01.924 adding: spawn as a client (events: 0)
2005-12-14 22:52:01.974 MainServer::HandleAnnounce Monitor
2005-12-14 22:52:01.976 adding: spawn as a client (events: 1)
2005-12-14 22:52:01.982 MainServer::HandleAnnounce Playback
2005-12-14 22:52:01.984 adding: spawn as a client (events: 0)
2005-12-14 22:52:01.999 TVRec(1): Changing from None to WatchingLiveTV
2005-12-14 22:52:02.014 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:52:02.021 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:52:02.780 DVB#0 DVB SI Table Parser Started
2005-12-14 22:52:02.988 recording already exists...
2005-12-14 22:52:06.364 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:52:06.888 DVB#0 DVB SI Table Parser Started
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:09.586 AFD: Opened codec 0x8187ea0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:09.595 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:09.596 NVP: Disabling Audio, params(16,-1,-1)
mpegts_read_header: read_packet() failed
2005-12-14 22:52:09.692 AFD Error: avformat err(-1) on 
av_open_input_file call.
2005-12-14 22:52:09.693 Couldn't open decoder for: 
/var/lib/mythtv//1001_20051214225203.mpg
2005-12-14 22:52:09.694 NVP, Error: Could not open file for preview.
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:13.763 AFD: Opened codec 0x81cdaf0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:13.770 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:13.771 NVP: Disabling Audio, params(16,-1,-1)
2005-12-14 22:52:29.872 Reschedule requested for id 0.
2005-12-14 22:52:29.895 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place


Binary libraries
ldd /usr/bin/mythbackend
       linux-gate.so.1 =>  (0xffffe000)
       libmythtv-0.19.so.0 => /usr/lib/libmythtv-0.19.so.0 (0xb764b000)
       libmythavformat-0.19.so.0 => /usr/lib/libmythavformat-0.19.so.0 
(0xb75df000)
       libmythavutil-0.19.so.0 => /usr/lib/libmythavutil-0.19.so.0 
(0xb75db000)
       libmythavcodec-0.19.so.0 => /usr/lib/libmythavcodec-0.19.so.0 
(0xb72a9000)
       libmyth-0.19.so.0 => /usr/lib/libmyth-0.19.so.0 (0xb6fd3000)
       libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb6f65000)
       libmp3lame.so.0 => /usr/lib/libmp3lame.so.0 (0xb6ec3000)
       libasound.so.2 => /usr/lib/libasound.so.2 (0xb6e10000)
       libartsc.so.0 => /usr/lib/libartsc.so.0 (0xb6e0a000)
       libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb6e07000)
       libdl.so.2 => /lib/tls/libdl.so.2 (0xb6e03000)
       libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb6dfe000)
       libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb6d7a000)
       libjack-0.100.0.so.0 => /usr/lib/libjack-0.100.0.so.0 (0xb6d63000)
       libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xb6d60000)
       libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0xb6d5b000)
       libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0xb6d56000)
       libGL.so.1 => /usr/lib/libGL.so.1 (0xb6cd2000)
       libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb6c57000)
       libqt-mt.so.3 => /usr/lib/libqt-mt.so.3 (0xb6476000)
       libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb6468000)
       libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb63a1000)
       libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb638f000)
       libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb62b2000)
       libm.so.6 => /lib/tls/libm.so.6 (0xb628d000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6282000)
       libc.so.6 => /lib/tls/libc.so.6 (0xb614a000)
       libz.so.1 => /usr/lib/libz.so.1 (0xb6138000)
       libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0xb6122000)
       liblirc_client.so.0 => /usr/local/lib/liblirc_client.so.0 
(0xb611c000)
       /lib/ld-linux.so.2 (0xb7f53000)
       libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb595f000)
       libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb595d000)
       libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb58a3000)
       libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb5873000)
       libaudio.so.2 => /usr/lib/libaudio.so.2 (0xb585e000)
       libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb580d000)
       libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb57ef000)
       libpng12.so.0 => /usr/lib/libpng12.so.0 (0xb57ca000)
       libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb57c2000)
       libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb57b9000)
       libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xb57b5000)
       libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xb57ac000)
       libXft.so.2 => /usr/lib/libXft.so.2 (0xb579a000)
       libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb5791000)
       libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb577a000)
       libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb5759000)

Full Debug Log

2005-12-14 22:51:09.591 Using runtime prefix = /usr
2005-12-14 22:51:09.633 New DB connection, total: 1
2005-12-14 22:51:09.648 Enabling Settings Cache.
2005-12-14 22:51:09.649 Clearing Settings Cache.
2005-12-14 22:51:09.656 Current Schema Version: 1120
Starting up as the master server.
2005-12-14 22:51:09.683 New DB connection, total: 2
2005-12-14 22:51:09.711 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:51:09.722 New DB connection, total: 3
2005-12-14 22:51:09.730 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:51:09.767 New DB scheduler connection
2005-12-14 22:51:09.783 mythbackend version: 0.19.20051208-1 www.mythtv.org
2005-12-14 22:51:09.784 Enabled verbose msgs:  important general
2005-12-14 22:51:09.786 AutoExpire: Found 1 recorders w/max rate of 138 
MiB/min
2005-12-14 22:51:09.791 AutoExpire: Required Free Space: 3.0 GB w/freq: 
10 min
2005-12-14 22:51:11.799 Reschedule requested for id -1.
2005-12-14 22:51:11.833 Scheduled 0 items in 0.0 = 0.02 match + 0.02 place
2005-12-14 22:51:11.847 Seem to be woken up by USER
2005-12-14 22:52:01.922 MainServer::HandleAnnounce Monitor
2005-12-14 22:52:01.924 adding: spawn as a client (events: 0)
2005-12-14 22:52:01.974 MainServer::HandleAnnounce Monitor
2005-12-14 22:52:01.976 adding: spawn as a client (events: 1)
2005-12-14 22:52:01.982 MainServer::HandleAnnounce Playback
2005-12-14 22:52:01.984 adding: spawn as a client (events: 0)
2005-12-14 22:52:01.999 TVRec(1): Changing from None to WatchingLiveTV
2005-12-14 22:52:02.014 DVB#0 Using DVB card 0, with frontend 'Zarlink 
MT352 DVB-T'.
2005-12-14 22:52:02.021 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:52:02.780 DVB#0 DVB SI Table Parser Started
2005-12-14 22:52:02.988 recording already exists...
2005-12-14 22:52:06.364 DVB#0 WARNING - Unsupported bandwidth parameter.
2005-12-14 22:52:06.888 DVB#0 DVB SI Table Parser Started
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:09.586 AFD: Opened codec 0x8187ea0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:09.595 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:09.596 NVP: Disabling Audio, params(16,-1,-1)
mpegts_read_header: read_packet() failed
2005-12-14 22:52:09.692 AFD Error: avformat err(-1) on 
av_open_input_file call.
2005-12-14 22:52:09.693 Couldn't open decoder for: 
/var/lib/mythtv//1001_20051214225203.mpg
2005-12-14 22:52:09.694 NVP, Error: Could not open file for preview.
0: start_time: 857.475 duration: -9223372036854.775
stream: start_time: 9527.500 duration: -9223372036854.775 bitrate=0 kb/s
2005-12-14 22:52:13.763 AFD: Opened codec 0x81cdaf0, id(MPEG1VIDEO) 
type(Video)
2005-12-14 22:52:13.770 NVP: Disabling Audio, params(-1,-1,-1)
2005-12-14 22:52:13.771 NVP: Disabling Audio, params(16,-1,-1)
2005-12-14 22:52:29.872 Reschedule requested for id 0.
2005-12-14 22:52:29.895 Scheduled 0 items in 0.0 = 0.01 match + 0.01 place
2005-12-14 22:54:17.310 EITScanner: Added 151 EIT Events
2005-12-14 22:54:17.321 Reschedule requested for id -1.
2005-12-14 22:54:17.353 Scheduled 0 items in 0.0 = 0.02 match + 0.01 place
2005-12-14 22:56:10.157 New DB connection, total: 4
2005-12-14 22:57:49.719 EITScanner: Added 302 EIT Events
2005-12-14 22:57:49.727 Reschedule requested for id -1.
2005-12-14 22:57:49.772 Scheduled 0 items in 0.0 = 0.02 match + 0.03 place
2005-12-14 23:02:03.313 Using runtime prefix = /usr
2005-12-14 23:02:03.578 New DB connection, total: 1
2005-12-14 23:02:03.666 Enabling Settings Cache.
2005-12-14 23:02:03.669 Clearing Settings Cache.


More information about the mythtv-dev mailing list