XBMC-git on *one* machine -- NO video, just audio. What's unique/missing?
#1
Hi,

I have a bit of a build mystery that I'm striking out on solving Undecided If this is a 'bug, problem, or issue' I'm certainly interested in helping out to fix it. I'm just having a hard time finding the source of the problem! I could use a helping-hand :-)

I've built an installed two XBMC instances on two Linux/64 boxes; both are
Code:
    xbmc --version
        XBMC Media Center 13.0-ALPHA6 Git:20130716-7da8471
Both builds & installs have proceeded without error. At least none that I caught so far.

XBMC is configure the same on each machine.

Both machines mount a single Video store over NFS4. All my videos are .mkv/264 encoded.

On one machine, Videos play perfectly. Everything else in XBMC works as well.

On the other machine, when I select a Video to play, the audio plays -- but I get no video. I still see the XBMC UI, the video controls, etc. Just not the media's Video. Everything else in XBMC, still works as expected.

On this broken-video-in-XBMC machine, the same Videos play fine in GnomeMplayer, VLC & Totem.

On the non-working machine, When I click to play Video I see this in the XBMC logs
Code:
    ...
    10:08:04 T:140040810194688  NOTICE: VDPAU Decoder capabilities:
    10:08:04 T:140040810194688  NOTICE: name          level macbs width height
    10:08:04 T:140040810194688  NOTICE: ------------------------------------  
    10:08:04 T:140040810194688  NOTICE: MPEG1             0  8192  2048  2048
    10:08:04 T:140040810194688  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
    10:08:04 T:140040810194688  NOTICE: MPEG2_MAIN        3  8192  2048  2048
    10:08:04 T:140040810194688  NOTICE: H264_MAIN        41  8190  2032  2048
    10:08:04 T:140040810194688  NOTICE: H264_HIGH        41  8190  2032  2048
    10:08:04 T:140040810194688  NOTICE: VC1_SIMPLE        1  8190  2048  2048
    10:08:04 T:140040810194688  NOTICE: VC1_MAIN          2  8190  2048  2048
    10:08:04 T:140040810194688  NOTICE: VC1_ADVANCED      4  8190  2048  2048
    10:08:04 T:140040810194688  NOTICE: ------------------------------------
    10:08:04 T:140040810194688  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
    10:08:04 T:140040810194688  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
    10:08:04 T:140040810194688  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
    10:08:04 T:140040810194688  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
    10:08:04 T:140040810194688  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
    10:08:04 T:140040810194688  NOTICE:  (VDPAU) Close
    10:08:04 T:140040810194688  NOTICE:  (VDPAU) screenWidth:0 vidWidth:720 surfaceWidth:720
    10:08:04 T:140040810194688  NOTICE:  (VDPAU) screenHeight:0 vidHeight:480 surfaceHeight:480
??    10:08:04 T:140040810194688   ERROR: Decode - avcodec_decode_video returned failure         <==========================
??    10:08:04 T:140040810194688   ERROR: Previous line repeats 136 times.         <==========================
    10:08:04 T:140040810194688 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
    10:08:04 T:140040810194688   ERROR: Decode - avcodec_decode_video returned failure
    10:08:04 T:140040810194688   ERROR: Previous line repeats 5 times.
    ...
That "ERROR: Decode - avcodec_decode_video returned failure" looks like an obvious problem.

I've had no luck figuring out what's causing it :-( Something's different or missing on this machine. So far, I just don't know what.

Both machines have vdpau-capable cards. The one with working video has:
Code:
    hwinfo --gfxcard
        31: PCI 100.0: 0300 VGA compatible controller (VGA)            
          [Created at pci.319]
            ...
          Hardware Class: graphics card
          Model: "nVidia G94 [GeForce 9600 GT]"
          Vendor: pci 0x10de "nVidia Corporation"
          Device: pci 0x0622 "G94 [GeForce 9600 GT]"
            ...
          Driver: "nvidia"
          Driver Modules: "nvidia"
            ...
          Driver Info #2:
            Driver Status: nvidia is active
            Driver Activation Cmd: "modprobe nvidia"
            ...
The one with the broken video playback has:
Code:
    hwinfo --gfxcard
        33: PCI 300.0: 0300 VGA compatible controller (VGA)            
            ...
          Hardware Class: graphics card
          Model: "nVidia G98 [GeForce 8400 GS]"
          Vendor: pci 0x10de "nVidia Corporation"
          Device: pci 0x06e4 "G98 [GeForce 8400 GS]"
            ...
          Driver: "nvidia"
          Driver Modules: "nvidia"
            ...
          Driver Info #2:
            Driver Status: nvidia is active
            Driver Activation Cmd: "modprobe nvidia"
Both machines also have all the same version of software -- nvidia drivers, external ffmpeg, etc. Switching VDPAU/VAAPI playback in XBMC on/off makes no difference.

How & where should I look for any useful clues about where this one machine's issue is coming from?
Reply
#2
does it work with internal ffmpeg?
Reply
#3
I hadn't yet checked, since external ffpmeg is working on the 1st machine. silly, now that you mention it.

testing, for

'working-video' instance
-- external ffpeg OK
-- internal ffmpeg OK

'broken-video' instance
-- external ffpeg FAILS
-- internal ffmpeg OK

hmmm. bingo!, perhaps.

Where external ffpmeg is used, it's the same config/version for both instances,
Code:
    ffmpeg -version
        ffmpeg version N-54768-g8d9c1b3
        ...
        libavutil      52. 39.100 / 52. 39.100
        libavcodec     55. 18.102 / 55. 18.102
        libavformat    55. 12.102 / 55. 12.102
        libavdevice    55.  3.100 / 55.  3.100
        libavfilter     3. 81.101 /  3. 81.101
        libavresample   1.  1.  0 /  1.  1.  0
        libswscale      2.  3.100 /  2.  3.100
        libswresample   0. 17.102 /  0. 17.102
        libpostproc    52.  3.100 / 52.  3.100
checking `ldd` for ffmpeg, it's identical for both machines.

checking the *same* video (NFS mount) on each instnace,

@ `working`, all's OK
Code:
    ffmpeg -i test.mkv
        ffmpeg version N-54768-g8d9c1b3 Copyright (c) 2000-2013 the FFmpeg developers
        ...
        Input #0, matroska,webm, from 'test.mkv':
          Duration: 02:07:20.19, start: 0.000000, bitrate: 1677 kb/s
            Chapter #0.0: start 0.000000, end 544.104623
            Metadata:
              title           : Chapter 1
            Chapter #0.1: start 544.104623, end 855.926543
        ...
@ `broken`
Code:
    ffmpeg -i test.mkv
        ffmpeg version N-54768-g8d9c1b3 Copyright (c) 2000-2013 the FFmpeg developers
        ...
        [h264 @ 0x1f09700] non-existing PPS referenced
        [h264 @ 0x1f09700] non-existing PPS 9 referenced
        [h264 @ 0x1f09700] decode_slice_header error
        [h264 @ 0x1f09700] no frame!
        [h264 @ 0x1f09700] first_mb_in_slice overflow
        [h264 @ 0x1f09700] decode_slice_header error
        [h264 @ 0x1f09700] number of reference frames (0+17) exceeds max (16; probably corrupt input), discarding one
        [h264 @ 0x1f09700] non-existing PPS referenced
        [h264 @ 0x1f09700] slice type too large (32) at 0 0
        [h264 @ 0x1f09700] decode_slice_header error
        [h264 @ 0x1f09700] no frame!
        [h264 @ 0x1f09700] non-existing PPS referenced
        [h264 @ 0x1f09700] slice type too large (11) at 0 0
        [h264 @ 0x1f09700] decode_slice_header error
        [h264 @ 0x1f09700] no frame!
        [h264 @ 0x1f09700] non-existing PPS referenced
        [h264 @ 0x1f09700] non-existing PPS 19 referenced
        [h264 @ 0x1f09700] decode_slice_header error
        ...
That's problematic, no?

So, no idea -- yet -- what's missing with this ffmpeg. But it pretty clearly says 'ffmpeg'. Undecided Whatever it is, it's unique to this one machine.

I'm working on it.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC-git on *one* machine -- NO video, just audio. What's unique/missing?0