[mythtv-users] Firewire Capture Working - Playback Gives Bluescreen

Mike Smith easygreenus at yahoo.com
Fri Mar 28 05:21:27 UTC 2008


Hi,

I finally got firewire capture working from my SA3250HD cable box, but I can't play it back.
I can see the video in the preview window,  so I know I captured something.  But,  when I try
to play it,  I get the audio, but my screen is solid blue.

O haven't upgraded to the latest Mythtv version yet.  I'm so close on the firewire capture, that I
did not want to risk a set back.

A little about my frontend.  Motherboard based on the Intel 845G chipset.  I'm using the built-in VGA output.
I'm connecting to a Mitsubishi WD62725 DLP  TV which has a native resolution of 1280 x 720.

I think I'm using the Intel i915 drivers, but am not positive.  In xorg.conf,  I have "Device  intel".  lsmod
shows the i915 drivers loaded.  No i810 and the only driver that say intel are sound card related.
But,  if I change the Device to i915, and restart X, it fails claiming it could not find the drivers.

After doing a lot of reading of these forums and the Wiki,  I came up with the following modeline:

    ModeLine "1208x675" 74.250 1208 1336 1384 1648 675 702 707 750 +hsync +vsync



# Xorg configuration created by pyxf86config

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us+inet"
EndSection

Section "Monitor"
        Identifier     "WD65732"
        HorizSync       15.0 - 68.0
        VertRefresh     59.0 - 61.0
    # TV fullscreen mode or DVD fullscreen output.
    # 768x576 @ 79 Hz, 50 kHz hsync
    VendorName     "Mitsubishi"
    ModelName      "DLP"
    DisplaySize     1143 642
    Option    "UseEdidDpi"  "FALSE"

    ModeLine "1208x675" 74.250 1208 1336 1384 1648 675 702 707 750 +hsync +vsync
    ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
    ModeLine "1280x800_60" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync
    ModeLine "1280x800_50" 68.6 1280 1336 1472 1664 800 801 804 824 -hsync +vsync
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "type1"
Load "vbe"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "intel"
        Option "XvMCSurfaces" "7"
        Option "CacheLines" "2048"
        Option "LinearAlloc" "16384"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        Monitor        "WD65732"
        DefaultDepth    24
        Option         "NoLogo" "False"
        Option         "IgnoreDisplayDevices" "TV"
        Option         "DPI" "100 x 100"
        Option "ConnectedMonitor" "DFP"
        Option "UseDisplayDevice" "DFP-0"
#       Option "ExactModeTimingsDVI" "true"
        Option "ModeValidation" "NoVertRefreshCheck, AllowNon60HzDFPModes, NoEdidDFPMaxSizeCheck"
        SubSection     "Display"
            Depth       24
            Modes       "1920x1080_60" "1280x720_60" "720x480_60"
        EndSubSection
    EndSection

mythfrontend -v playback gives a lot of output.  This is what I think is the most relevant:

2008-03-28 01:08:47.734 TV: Changing from None to WatchingPreRecorded
2008-03-28 01:08:47.761 VideoOutputXv: ClearAfterSeek()
2008-03-28 01:08:47.761 VideoOutputXv: DiscardFrames(0)
2008-03-28 01:08:47.772 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2008-03-28 01:08:47.772 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2008-03-28 01:08:47.773 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2008-03-28 01:08:47.822 Realtime priority would require SUID as root.
2008-03-28 01:08:48.007 Using deinterlace method linearblend
2008-03-28 01:08:48.016 nVidiaVideoSync: Could not open device /dev/nvidia0, No such file or directory
2008-03-28 01:08:51.015 DRMVideoSync: VBlank ioctl did not work, unimplemented in this driver?
2008-03-28 01:08:51.015 RTCVideoSync: Could not set RTC frequency, Permission denied.
2008-03-28 01:08:51.016 Using audio as timebase
2008-03-28 01:08:51.016 Video timing method: USleep with busy wait
2008-03-28 01:08:51.016 Refresh rate: 16646, frame interval: 33366
2008-03-28 01:08:51.611 Dec: Selected track #1 in the Unknown language(0)
2008-03-28 01:08:53.289 TV: Attempting to change from WatchingPreRecorded to None
2008-03-28 01:08:53.381 TV: StopStuff() -- begin
2008-03-28 01:08:53.381 TV: StopStuff(): stopping ring buffer[s]
2008-03-28 01:08:53.416 TV: StopStuff(): stopping player[s] (1/2)
2008-03-28 01:08:53.416 TV: StopStuff(): stopping player[s] (2/2)
2008-03-28 01:08:53.449 NVP: Exited decoder loop.
2008-03-28 01:08:53.452 VideoOutputXv: dtor
2008-03-28 01:08:53.452 VideoOutputXv: DiscardFrames(1)
2008-03-28 01:08:53.452 VideoBuffers::DiscardFrames(1): AAAAAAAUAAUAAUAUuUULUUAUUAUuAAA
2008-03-28 01:08:53.452 VideoBuffers::DiscardFrames(): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2008-03-28 01:08:53.453 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2008-03-28 01:08:53.453 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2008-03-28 01:08:53.453 VideoOutputXv: DiscardFrames(1)
2008-03-28 01:08:53.453 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2008-03-28 01:08:53.453 VideoBuffers::DiscardFrames(): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2008-03-28 01:08:53.453 VideoBuffers::DiscardFrames(1): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2008-03-28 01:08:53.453 VideoOutputXv: DiscardFrames() 3: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done()
2008-03-28 01:08:53.467 VideoOutputXv: Closing XVideo port 73
2008-03-28 01:08:53.885 TV: StopStuff() -- end
2008-03-28 01:08:53.886 TV: Changing from WatchingPreRecorded to None
2008-03-28 01:08:54.146 RingBuf(myth://192.168.1.142:6543/2905_20080317031300.mpg): OpenFile(myth://192.168.1.142:6543/2905_20080317031300.mpg, 1)
2008-03-28 01:08:54.148 RingBuf(/var/video/2905_20080317031300.mpg): CalcReadAheadThresh(4000 KB)
                         -> threshhold(146 KB) min read(32 KB) blk size(64 KB)
0: start_time: 1834.927 duration: 103.721
1: start_time: 1834.877 duration: -9223372036854.775
stream: start_time: 20387.519 duration: 1153.015 bitrate=16624 kb/s
2008-03-28 01:08:54.391 AFD: Stream #0, has id 0x33 codec id MPEG2VIDEO, type Video, bitrate 38810400 at 0x0x95e5170
2008-03-28 01:08:54.391 detectInterlace(Detect Scan, Interlaced Scan, 29.97, 1088) ->Interlaced Scan
2008-03-28 01:08:54.405 AFD: Looking for decoder for MPEG2VIDEO
2008-03-28 01:08:54.405 AFD: Opened codec 0x9dcd090, id(MPEG2VIDEO) type(Video)
2008-03-28 01:08:54.405 AFD: Stream #1, has id 0x34 codec id AC3, type Audio, bitrate 384000 at 0x0x9db0ef0
2008-03-28 01:08:54.405 AFD: Looking for decoder for AC3
2008-03-28 01:08:54.406 AFD: Opened codec 0x9db09a0, id(AC3) type(Audio)
2008-03-28 01:08:54.406 RingBuf(/var/video/2905_20080317031300.mpg): CalcReadAheadThresh(39195 KB)
                         -> threshhold(1435 KB) min read(32 KB) blk size(512 KB)
2008-03-28 01:08:54.406 Dec: Trying to select track (w/lang)
2008-03-28 01:08:54.406 Dec: Selecting first track
2008-03-28 01:08:54.406 Dec: Selected track #1 in the Unknown language(0)
2008-03-28 01:08:54.406 AFD: Recording has no position -- using libavformat seeking.
2008-03-28 01:08:54.406 AFD: Successfully opened decoder for file: "/var/video/2905_20080317031300.mpg". novideo(0)
2008-03-28 01:08:54.407 VideoOutputNull()
2008-03-28 01:08:54.407 Display Rect  left: 0, top: 0, width: 0, height: 0, aspect: 1.33333
2008-03-28 01:08:54.407 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2008-03-28 01:08:54.407 Created data @0xa106e10->0xa403e12
2008-03-28 01:08:54.407 Created data @0xa403e80->0xa700e82
2008-03-28 01:08:54.407 Created data @0xa700ee0->0xa9fdee2
2008-03-28 01:08:54.407 Created data @0xae302020->0xae5ff022
2008-03-28 01:08:54.407 Created data @0xae004020->0xae301022
2008-03-28 01:08:54.407 Created data @0xadd06020->0xae003022
2008-03-28 01:08:54.407 Created data @0xada08020->0xadd05022
2008-03-28 01:08:54.407 Created data @0xad70a020->0xada07022
2008-03-28 01:08:54.407 Created data @0xad40c020->0xad709022
2008-03-28 01:08:54.408 Created data @0xad10e020->0xad40b022
2008-03-28 01:08:54.408 Created data @0xace10020->0xad10d022
2008-03-28 01:08:54.408 Created data @0xacb12020->0xace0f022
2008-03-28 01:08:54.408 Created data @0xac814020->0xacb11022
2008-03-28 01:08:54.408 Created data @0xac516020->0xac813022
2008-03-28 01:08:54.408 Created data @0xac218020->0xac515022
2008-03-28 01:08:54.408 Created data @0xabf1a020->0xac217022
2008-03-28 01:08:54.408 Created data @0xabc1c020->0xabf19022
2008-03-28 01:08:54.408 Created data @0xab91e020->0xabc1b022
2008-03-28 01:08:54.408 Created data @0xab620020->0xab91d022
2008-03-28 01:08:54.408 Created data @0xab322020->0xab61f022
2008-03-28 01:08:54.408 Created data @0xab024020->0xab321022
2008-03-28 01:08:54.408 Created data @0xaad26020->0xab023022
2008-03-28 01:08:54.408 Created data @0xaaa28020->0xaad25022
2008-03-28 01:08:54.408 Created data @0xaa72a020->0xaaa27022
2008-03-28 01:08:54.409 Created data @0xaa42c020->0xaa729022
2008-03-28 01:08:54.409 Created data @0xaa12e020->0xaa42b022
2008-03-28 01:08:54.409 Created data @0xa9e30020->0xaa12d022
2008-03-28 01:08:54.409 Created data @0xa9b32020->0xa9e2f022
2008-03-28 01:08:54.409 Created data @0xa9834020->0xa9b31022
2008-03-28 01:08:54.409 Created data @0xa9536020->0xa9833022
2008-03-28 01:08:54.409 Created data @0xa9238020->0xa9535022
2008-03-28 01:08:54.409 Created data @0xa8f3a020->0xa9237022
2008-03-28 01:08:54.672 Display Rect  left: 0, top: 0, width: 0, height: 0, aspect: 1.33333
2008-03-28 01:08:54.672 Video Rect    left: 0, top: 0, width: 1920, height: 1080, aspect: 1.77778
2008-03-28 01:08:54.673 NVP: ClearAfterSeek(1)
2008-03-28 01:08:54.673 NVP: Waiting for prebuffer.. 0 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2008-03-28 01:08:54.715 NVP: Exited decoder loop.
2008-03-28 01:08:54.806 ~VideoOutputNull()



Also,  when I try to play the MPEG2 file in mplayer,  it fails.  Says the following:

[root at mythtv video]# mplayer 2905_200803*
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (Family: 15, Model: 2, Stepping: 7)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
115 audio & 237 video codecs
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing 2905_20080317031300.mpg.
TS file format detected.
VIDEO MPEG2(pid=33) AUDIO A52(pid=34) NO SUBS (yet)!  PROGRAM N. 1
VIDEO:  MPEG2  1920x1080  (aspect 3)  29.970 fps  38810.4 kbps (4851.3 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 1920 x 1080 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12 
[ASPECT] Warning: No suitable new res found!
Source image dimensions are too high: 1920x1080 (maximum is 1024x1088)
FATAL: Cannot initialize video driver.

FATAL: Could not initialize video filters (-vf) or video output (-vo).


Playing 2905_20080317031300.mpg.png.
Found plugin: libwav.so (Wave Player 1.2.10).
Found plugin: libmikmod.so (MikMod Player 1.2.10).
Found plugin: libvorbis.so (Ogg Vorbis Player 1.2.10).
Found plugin: librh_mp3.so (MPEG Layer 1/2/3 Placeholder Plugin).
Found plugin: libcdaudio.so (CD Audio Player 1.2.10).
Found plugin: libtonegen.so (Tone Generator 1.2.10).
Closing plugin: /usr/lib/xmms/Input/libtonegen.so.
Closing plugin: /usr/lib/xmms/Input/libcdaudio.so.
Closing plugin: /usr/lib/xmms/Input/librh_mp3.so.
Closing plugin: /usr/lib/xmms/Input/libvorbis.so.
Closing plugin: /usr/lib/xmms/Input/libmikmod.so.
Closing plugin: /usr/lib/xmms/Input/libwav.so.


Exiting... (End of file)
[root at mythtv video]# 





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the mythtv-users mailing list