[mythtv-users] Re: Sporadic "Unable to Initialize" Video error

Todd Vazquez toddvazquez at yahoo.com
Tue Mar 29 21:01:39 UTC 2005


--- Todd Vazquez <toddvazquez at yahoo.com> wrote:

> Hello,
> 
> First post for me here...  Searching the archives
> has
> helped me with all of my big problems except this
> one.
> 
> I've got Myth 0.17 working fairly well right now. 
> But, I have these sporadic "Unable to Initialize
> Video" errors when I try to watch -some- recordings,
> most recordings play flawlessly.  I'd say that 3/4
> of
> my recordings work flawlessly.  1/4 of them will
> give
> me this error every time I try to play them with
> Myth.
>  I can play these same videos fine in Xine.
> 
> With XvMC enabled, I get "Unable to Initialize
> Video"
> with these recordings and then I have to restart the
> frontend or I get that same error on all recordings.
> 
> Without XvMC, the frontend will crash, and I get:
> terminate called after throwing an instance of
> 'std::bad_alloc'
>   what():  St9bad_alloc
> 
> I've tried both 0.17 and CVS from last Saturday and
> I
> get the exact same error with the same recordings
> from
> both.
> 
> Any ideas?  Here's my specs:
> 
> Myth 0.17
> Fedora Core 3
> Kernel 2.6.10-1.770_FC3.stk16
> Firewire, Alsa and XvMC compiled in
> Athlon-XP 2700+
> ASUS A7V8X mobo
> 1 gig ram
> 1 gig swap
> Chaintech AV710 sound card
> PNY nvidia FX 5700 VE 256mb graphics card AGP
> 15GB Western Digital Parallel ATA HDD for OS
> 120GB WD SATA HD for recordings and buffer
> No tuner card, recording from onboard Firewire
> connected to Motarola 6200
> 
> 
> I've attached 2 log files taken from:
> mythfrontend -v all > error.log 2>&1
> 
> One is taken with XvMC enabled, the other is without
> XvMC.
> 
> Please let me know if any more information is
> needed...
> 
> Thanks,
> -Todd
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Take Yahoo! Mail with you! Get it on your mobile
> phone. 
> http://mobile.yahoo.com/maildemo > 2005-03-23
18:40:51.473 mythfrontend version:
> 0.17.20050130-1 www.mythtv.org
> 2005-03-23 18:40:51.474 Enabled verbose msgs :all
> 2005-03-23 18:40:51.764 Switching to wide mode
> (Minimalist-wide)
> 2005-03-23 18:40:52.149 Registering Internal as a
> media playback plugin.
> 2005-03-23 18:40:52.170 /root/.mythtv/joystickmenurc
> not found.
> 2005-03-23 18:40:52.170 Joystick disabled.
> 2005-03-23 18:40:52.278 Starting media monitor.
> 2005-03-23 18:40:58.943 All Programs
> 2005-03-23 18:41:00.454 Connecting to backend
> server: 127.0.0.1:6543 (try 1 of 5)
> 2005-03-23 18:41:00.454 write->10 21     
> MYTH_PROTO_VERSION 14:
> 2005-03-23 18:41:00.460 Using protocol version 14
> 2005-03-23 18:41:00.460 write->10 19      ANN
> Playback htpc 0:
> 2005-03-23 18:41:00.471 write->10 21     
> QUERY_RECORDINGS Play:
> 2005-03-23 18:41:00.743 19      ANN Playback htpc 1
> adding pes stream at pid 0x290 with type 2
> adding pes stream at pid 0x291 with type 129
> 2005-03-23 18:41:02.510 AVFD
> 2005-03-23 18:41:02.511 AVFD: Opening Stream #0:
> codec id 2
> 2005-03-23 18:41:02.511 AVFD: Looking for decoder
> for 2
> 2005-03-23 18:41:02.511 AVFD
> 2005-03-23 18:41:02.511 AVFD: Opening Stream #1:
> codec id 86020
> 2005-03-23 18:41:02.511 AVFD: Looking for decoder
> for 86020
> 2005-03-23 18:41:02.512 Stream #1 (audio track #1)
> is an audio stream with 2 channels.
> 2005-03-23 18:41:02.512 Auto-selecting AC3 audio
> track (stream #1).
> 2005-03-23 18:41:02.512 Initializing audio parms
> from stream #0.
> 2005-03-23 18:41:02.512 Estimated bitrate = 128
> Input #0, mpegts, from
>
'/mnt/store//1138_20050323003000_20050323010000.nuv':
>   Stream #0.0[0x290]: Video: mpeg2video
>   Stream #0.1[0x291]: Audio: ac3, 48000 Hz, stereo,
> 128 kb/s
> 2005-03-23 18:41:02.513 Commercial Detection
> initialized: width = 0, height = 0, fps = 29.97,
> method = 1
> 2005-03-23 18:41:02.513 Using Sample Spacing of 4
> horizontal & 4 vertical pixels.
> 2005-03-23 18:41:02.514 CommDetect::ClearAllMaps()
> 2005-03-23 18:41:02.520 Image size. dispxoff 0,
> dispyoff: 0, dispwoff: 0, disphoff: 0
> 2005-03-23 18:41:02.520 Image size. imgx 0, imgy: 0,
> imgw: 0, imgh: 0
> 2005-03-23 18:41:02.522 AvFormatDecoder: Video has
> changed from 0x0 to 528x480.
> 2005-03-23 18:41:02.547 Image size. dispxoff 0,
> dispyoff: 0, dispwoff: 0, disphoff: 0
> 2005-03-23 18:41:02.547 Image size. imgx 5, imgy: 0,
> imgw: 517, imgh: 480
> 2005-03-23 18:41:02.547 detectInterlace(Detect Scan,
> Detect Scan, 29.97, 480) ->Interlaced Scan
> 2005-03-23 18:41:02.547 Interlaced: Interlaced Scan 
> video_height: 480  fps: 29.97
> 2005-03-23 18:41:02.547 positionMap[ 1 ] == 213944.
> 2005-03-23 18:41:02.565 waiting for prebuffer...
> 2005-03-23 18:41:02.621 HandleGopStart: gopset not
> set, syncing positionMap
> 2005-03-23 18:41:02.621 SyncPositionMap prerecorded,
> from DB: 1 entries
> 2005-03-23 18:41:02.621 Stream initial keyframedist:
> 30.
> 2005-03-23 18:41:02.621 positionMap[ 1 ] == 431648.
> 2005-03-23 18:41:03.532 positionMap[ 2 ] == 645216.
> 2005-03-23 18:41:04.532 positionMap[ 3 ] == 858784.
> 2005-03-23 18:41:05.533 positionMap[ 4 ] == 1256216.
> 'video_output' mean = '33377.26', std. dev. =
> '1062.11', fps = '29.96'
> 2005-03-23 18:41:06.534 positionMap[ 5 ] == 1682036.
> 2005-03-23 18:41:07.493 Output filters for this
> channel are: ''
> adding pes stream at pid 0x290 with type 2
> adding pes stream at pid 0x291 with type 129
> 2005-03-23 18:41:07.598 AVFD
> 2005-03-23 18:41:07.598 AVFD: Opening Stream #0:
> codec id 2
> 2005-03-23 18:41:07.599 AVFD: Looking for decoder
> for 3
> 2005-03-23 18:41:07.599 AVFD
> 2005-03-23 18:41:07.599 AVFD: Opening Stream #1:
> codec id 86020
> 2005-03-23 18:41:07.599 AVFD: Looking for decoder
> for 86020
> 2005-03-23 18:41:07.599 Stream #1 (audio track #1)
> is an audio stream with 2 channels.
> 2005-03-23 18:41:07.599 Auto-selecting AC3 audio
> track (stream #1).
> 2005-03-23 18:41:07.600 Initializing audio parms
> from stream #0.
> 2005-03-23 18:41:07.600 Estimated bitrate = 128
> 2005-03-23 18:41:07.623 Position map filled from DB
> to: 55450
> 2005-03-23 18:41:07.623 SyncPositionMap prerecorded,
> from DB: 1910 entries
> Input #0, mpegts, from
>
'/mnt/store//1138_20050323003000_20050323010000.nuv':
>   Stream #0.0[0x290]: Video: mpegvideo_xvmc
>   Stream #0.1[0x291]: Audio: ac3, 48000 Hz, stereo,
> 128 kb/s
> 2005-03-23 18:41:07.623 Position map found
> 2005-03-23 18:41:07.626 Commercial Detection
> initialized: width = 0, height = 0, fps = 29.97,
> method = 1
> 2005-03-23 18:41:07.626 Using Sample Spacing of 4
> horizontal & 4 vertical pixels.
> 2005-03-23 18:41:07.626 CommDetect::ClearAllMaps()
> 2005-03-23 18:41:07.627 Killing AudioOutputDSP
> 2005-03-23 18:41:07.628 Opening audio device
> '/dev/adsp'.
> 2005-03-23 18:41:07.628 Opening OSS audio device
> '/dev/adsp'.
> 2005-03-23 18:41:07.629 Audio fragment size: 4096
> 2005-03-23 18:41:07.630 Audio Stretch Factor: 1
> 2005-03-23 18:41:07.630 Ending reconfigure
> 2005-03-23 18:41:07.632 kickoffOutputAudioLoop: pid
> = 6973
> 2005-03-23 18:41:07.632 OutputAudioLoop: Play Event
> 2005-03-23 18:41:07.632 Broadcasting free space
> avail
> 2005-03-23 18:41:07.637 Over/underscan. V: 0, H:
> 0.01, XOff: 0, YOff: 0
> Using XvMC version: 1.0
> 2005-03-23 18:41:07.642 XvMCSurfaceTypes::find(w 0,
> h 1, c 0, i 2, m 0,sw 0, sh 145, disp, p<= 145, 00
> <=p, port, surfNum)
> 2005-03-23 18:41:07.642 Trying XvMC port 145
> 2005-03-23 18:41:07.643 XvMCSurfaceTypes::find(w 0,
> h 1, c 1, i 2, m 0,sw 0, sh 145, disp, p<= 145, 00
> <=p, port, surfNum)
> 2005-03-23 18:41:07.643 Trying XvMC port 145
> 2005-03-23 18:41:07.643 Found a suitable XvMC
> surface 0
> XvMC found and using IDCT surface
> 2005-03-23 18:41:07.643 Using XV port 145
> 2005-03-23 18:41:07.685 Broadcasting free space
> avail
> Unable to create XvMC Blocks
> 2005-03-23 18:41:07.689 Broadcasting free space
> avail
> 2005-03-23 18:41:07.696 Broadcasting free space
> avail
> 2005-03-23 18:41:07.701 Broadcasting free space
> avail
> 2005-03-23 18:41:07.707 Broadcasting free space
> avail
> 2005-03-23 18:41:07.712 Broadcasting free space
> avail
> 2005-03-23 18:41:07.716 Broadcasting free space
> avail
> 2005-03-23 18:41:07.720 Broadcasting free space
> avail
> 2005-03-23 18:41:07.724 Broadcasting free space
> avail
> 2005-03-23 18:41:07.728 Broadcasting free space
> avail
> 2005-03-23 18:41:07.732 Broadcasting free space
> avail
> 2005-03-23 18:41:07.736 Broadcasting free space
> avail
> 2005-03-23 18:41:07.740 Broadcasting free space
> avail
> 2005-03-23 18:41:07.744 Broadcasting free space
> avail
> 2005-03-23 18:41:07.748 Broadcasting free space
> avail
> 2005-03-23 18:41:07.752 Broadcasting free space
> avail
> 2005-03-23 18:41:07.756 Broadcasting free space
> avail
> 2005-03-23 18:41:07.760 Broadcasting free space
> avail
> 2005-03-23 18:41:07.764 Broadcasting free space
> avail
> 2005-03-23 18:41:07.768 Broadcasting free space
> avail
> 2005-03-23 18:41:07.772 Broadcasting free space
> avail
> 2005-03-23 18:41:07.776 Broadcasting free space
> avail
> 2005-03-23 18:41:07.780 Broadcasting free space
> avail
> 2005-03-23 18:41:07.784 Broadcasting free space
> avail
> 2005-03-23 18:41:07.788 Broadcasting free space
> avail
> 2005-03-23 18:41:07.792 Broadcasting free space
> avail
> 2005-03-23 18:41:07.796 Broadcasting free space
> avail
> 
=== message truncated ===> 2005-03-23 18:39:48.866
mythfrontend version:
> 0.17.20050130-1 www.mythtv.org
> 2005-03-23 18:39:48.867 Enabled verbose msgs :all
> 2005-03-23 18:39:49.157 Switching to wide mode
> (Minimalist-wide)
> 2005-03-23 18:39:49.542 Registering Internal as a
> media playback plugin.
> 2005-03-23 18:39:49.623 /root/.mythtv/joystickmenurc
> not found.
> 2005-03-23 18:39:49.623 Joystick disabled.
> 2005-03-23 18:39:49.669 Starting media monitor.
> 2005-03-23 18:39:54.218 All Programs
> 2005-03-23 18:39:55.729 Connecting to backend
> server: 127.0.0.1:6543 (try 1 of 5)
> 2005-03-23 18:39:55.730 write->10 21     
> MYTH_PROTO_VERSION 14:
> 2005-03-23 18:39:55.735 Using protocol version 14
> 2005-03-23 18:39:55.735 write->10 19      ANN
> Playback htpc 0:
> 2005-03-23 18:39:55.760 write->10 21     
> QUERY_RECORDINGS Play:
> 2005-03-23 18:39:56.032 19      ANN Playback htpc 1
> adding pes stream at pid 0x290 with type 2
> adding pes stream at pid 0x291 with type 129
> 2005-03-23 18:39:59.300 AVFD
> 2005-03-23 18:39:59.300 AVFD: Opening Stream #0:
> codec id 2
> 2005-03-23 18:39:59.300 AVFD: Looking for decoder
> for 2
> 2005-03-23 18:39:59.300 AVFD
> 2005-03-23 18:39:59.301 AVFD: Opening Stream #1:
> codec id 86020
> 2005-03-23 18:39:59.301 AVFD: Looking for decoder
> for 86020
> 2005-03-23 18:39:59.301 Stream #1 (audio track #1)
> is an audio stream with 2 channels.
> 2005-03-23 18:39:59.301 Auto-selecting AC3 audio
> track (stream #1).
> 2005-03-23 18:39:59.301 Initializing audio parms
> from stream #0.
> 2005-03-23 18:39:59.302 Estimated bitrate = 128
> Input #0, mpegts, from
>
'/mnt/store//1138_20050323003000_20050323010000.nuv':
>   Stream #0.0[0x290]: Video: mpeg2video
>   Stream #0.1[0x291]: Audio: ac3, 48000 Hz, stereo,
> 128 kb/s
> 2005-03-23 18:39:59.302 Commercial Detection
> initialized: width = 0, height = 0, fps = 29.97,
> method = 1
> 2005-03-23 18:39:59.302 Using Sample Spacing of 4
> horizontal & 4 vertical pixels.
> 2005-03-23 18:39:59.303 CommDetect::ClearAllMaps()
> 2005-03-23 18:39:59.309 Image size. dispxoff 0,
> dispyoff: 0, dispwoff: 0, disphoff: 0
> 2005-03-23 18:39:59.309 Image size. imgx 0, imgy: 0,
> imgw: 0, imgh: 0
> 2005-03-23 18:39:59.311 AvFormatDecoder: Video has
> changed from 0x0 to 528x480.
> 2005-03-23 18:39:59.336 Image size. dispxoff 0,
> dispyoff: 0, dispwoff: 0, disphoff: 0
> 2005-03-23 18:39:59.336 Image size. imgx 5, imgy: 0,
> imgw: 517, imgh: 480
> 2005-03-23 18:39:59.337 detectInterlace(Detect Scan,
> Detect Scan, 29.97, 480) ->Interlaced Scan
> 2005-03-23 18:39:59.337 Interlaced: Interlaced Scan 
> video_height: 480  fps: 29.97
> 2005-03-23 18:39:59.337 positionMap[ 1 ] == 213944.
> 2005-03-23 18:39:59.355 waiting for prebuffer...
> 2005-03-23 18:39:59.412 HandleGopStart: gopset not
> set, syncing positionMap
> 2005-03-23 18:39:59.412 SyncPositionMap prerecorded,
> from DB: 1 entries
> 2005-03-23 18:39:59.412 Stream initial keyframedist:
> 30.
> 2005-03-23 18:39:59.412 positionMap[ 1 ] == 431648.
> 2005-03-23 18:39:59.784 Output filters for this
> channel are: ''
> adding pes stream at pid 0x290 with type 2
> adding pes stream at pid 0x291 with type 129
> 2005-03-23 18:39:59.890 AVFD
> 2005-03-23 18:39:59.890 AVFD: Opening Stream #0:
> codec id 2
> 2005-03-23 18:39:59.891 Using libmpeg2 for video
> decoding
> 2005-03-23 18:39:59.892 AVFD: Looking for decoder
> for 2
> 2005-03-23 18:39:59.892 AVFD
> 2005-03-23 18:39:59.892 AVFD: Opening Stream #1:
> codec id 86020
> 2005-03-23 18:39:59.892 AVFD: Looking for decoder
> for 86020
> 2005-03-23 18:39:59.892 Stream #1 (audio track #1)
> is an audio stream with 2 channels.
> 2005-03-23 18:39:59.892 Auto-selecting AC3 audio
> track (stream #1).
> 2005-03-23 18:39:59.892 Initializing audio parms
> from stream #0.
> 2005-03-23 18:39:59.893 Estimated bitrate = 128
> 2005-03-23 18:39:59.914 Position map filled from DB
> to: 55450
> 2005-03-23 18:39:59.914 SyncPositionMap prerecorded,
> from DB: 1910 entries
> Input #0, mpegts, from
>
'/mnt/store//1138_20050323003000_20050323010000.nuv':
>   Stream #0.0[0x290]: Video: mpeg2video
>   Stream #0.1[0x291]: Audio: ac3, 48000 Hz, stereo,
> 128 kb/s
> 2005-03-23 18:39:59.914 Position map found
> 2005-03-23 18:39:59.916 Commercial Detection
> initialized: width = 0, height = 0, fps = 29.97,
> method = 1
> 2005-03-23 18:39:59.917 Using Sample Spacing of 4
> horizontal & 4 vertical pixels.
> 2005-03-23 18:39:59.917 CommDetect::ClearAllMaps()
> 2005-03-23 18:39:59.918 Killing AudioOutputDSP
> 2005-03-23 18:39:59.919 Opening audio device
> '/dev/adsp'.
> 2005-03-23 18:39:59.919 Opening OSS audio device
> '/dev/adsp'.
> 2005-03-23 18:39:59.920 Audio fragment size: 4096
> 2005-03-23 18:39:59.920 Audio Stretch Factor: 1
> 2005-03-23 18:39:59.921 Ending reconfigure
> 2005-03-23 18:39:59.922 kickoffOutputAudioLoop: pid
> = 6947
> 2005-03-23 18:39:59.922 OutputAudioLoop: Play Event
> 2005-03-23 18:39:59.922 Broadcasting free space
> avail
> 2005-03-23 18:39:59.927 Over/underscan. V: 0, H:
> 0.01, XOff: 0, YOff: 0
> 2005-03-23 18:39:59.932 Using XV port 145
> 2005-03-23 18:39:59.937 Image size. dispxoff 170,
> dispyoff: 0, dispwoff: 1020, disphoff: 768
> 2005-03-23 18:39:59.937 Image size. imgx 0, imgy: 0,
> imgw: 0, imgh: 0
> 2005-03-23 18:39:59.947 Broadcasting free space
> avail
> 2005-03-23 18:39:59.967 Broadcasting free space
> avail
> 2005-03-23 18:39:59.971 Broadcasting free space
> avail
> 2005-03-23 18:39:59.975 Broadcasting free space
> avail
> 2005-03-23 18:39:59.979 Broadcasting free space
> avail
> 2005-03-23 18:39:59.983 Broadcasting free space
> avail
> 2005-03-23 18:39:59.987 Broadcasting free space
> avail
> 2005-03-23 18:39:59.991 Broadcasting free space
> avail
> 2005-03-23 18:39:59.995 Broadcasting free space
> avail
> 2005-03-23 18:39:59.999 Broadcasting free space
> avail
> 2005-03-23 18:40:00.003 Broadcasting free space
> avail
> 2005-03-23 18:40:00.007 Broadcasting free space
> avail
> 2005-03-23 18:40:00.011 Broadcasting free space
> avail
> 2005-03-23 18:40:00.015 Broadcasting free space
> avail
> 2005-03-23 18:40:00.019 Broadcasting free space
> avail
> 2005-03-23 18:40:00.023 Broadcasting free space
> avail
> 2005-03-23 18:40:00.027 Broadcasting free space
> avail
> 2005-03-23 18:40:00.031 Broadcasting free space
> avail
> 2005-03-23 18:40:00.035 Broadcasting free space
> avail
> 2005-03-23 18:40:00.039 Broadcasting free space
> avail
> 2005-03-23 18:40:00.043 Broadcasting free space
> avail
> 2005-03-23 18:40:00.047 Broadcasting free space
> avail
> 2005-03-23 18:40:00.051 Broadcasting free space
> avail
> 2005-03-23 18:40:00.055 Broadcasting free space
> avail
> 2005-03-23 18:40:00.059 Broadcasting free space
> avail
> 2005-03-23 18:40:00.063 Broadcasting free space
> avail
> 2005-03-23 18:40:00.067 Broadcasting free space
> avail
> 2005-03-23 18:40:00.071 Broadcasting free space
> avail
> 2005-03-23 18:40:00.075 Broadcasting free space
> avail
> 2005-03-23 18:40:00.079 Broadcasting free space
> avail
> 2005-03-23 18:40:00.083 Broadcasting free space
> avail
> 2005-03-23 18:40:00.087 Broadcasting free space
> avail
> 2005-03-23 18:40:00.091 Broadcasting free space
> avail
> 2005-03-23 18:40:00.095 Broadcasting free space
> avail
> 
=== message truncated ===


Bump.  Nobody else has encountered this?

Bueller?  Bueller?  Bueller?


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more. 
http://info.mail.yahoo.com/mail_250


More information about the mythtv-users mailing list