Kodi Community Forum

Full Version: green video and Q about audio-passthrough
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

1
I have a problem that I encountered in XBMC, playing xvid-files produces a green(somewhat flickering) video-image, but using VDPAU to play HD-content works fine. Choosing "auto detect" as Renderer doesnt help.. Sad

Havent tried using the order Renderers, only auto and VDPAU, but just to say VDPAU is a _necessity_ .

I'm using a G92 nVIDIA card GF9800GT, binary driver version x86_64-190.53, XBMC version 9.11-0.4 on debian squeeze(testing) from the debian-multimedia repo.


Here's some log...
Code:
22:00:57 T:140094248773696 M:7937572864  NOTICE: DVDPlayer: Opening: <file-to-play>.avi
22:00:57 T:140094248773696 M:7937572864 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:00:57 T:140093746559248 M:7937572864  NOTICE: Creating InputStream
22:00:57 T:140093746559248 M:7937572864  NOTICE: Creating Demuxer
22:00:57 T:140093746559248 M:7936811008  NOTICE: Opening video stream: 0 source: 256
22:00:57 T:140093746559248 M:7936811008  NOTICE: Creating video codec with codec id: 13
22:00:57 T:140093746559248 M:7936811008  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(624x352)
22:00:57 T:140093746559248 M:7936348160  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
22:00:57 T:140093746559248 M:7936348160  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-4 part 2 (VDPAU)
22:00:57 T:140093746559248 M:7936348160  NOTICE: Creating video thread
22:00:57 T:140093746559248 M:7936348160  NOTICE: Opening audio stream: 1 source: 256
22:00:57 T:140093738166544 M:7936348160   ERROR: (VDPAU) ReleasePixmap called without valid pixmap
22:00:57 T:140093746559248 M:7936348160  NOTICE: Finding audio codec for: 86017
22:00:57 T:140093738166544 M:7936348160  NOTICE: running thread: video_thread
22:00:57 T:140093746559248 M:7936348160  NOTICE: Creating audio thread
22:00:57 T:140093729773840 M:7936348160  NOTICE: running thread: CDVDPlayerAudio::Process()
22:00:57 T:140093738166544 M:7936094208  NOTICE: Creating 1440x900 pixmap
22:00:57 T:140093729773840 M:7935332352  NOTICE: Creating audio device with codec id: 86017, channels: 2, sample rate: 48000, no pass-through
22:00:57 T:140093738166544 M:7928094720  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 0). Creating a new one. TRY #1
22:00:57 T:140093738166544 M:7927840768  NOTICE:  (VDPAU) FiniVDPAUOutput
22:00:57 T:140093738166544 M:7927840768  NOTICE:  (VDPAU) screenWidth:1440 vidWidth:624
22:00:57 T:140093738166544 M:7927840768  NOTICE:  (VDPAU) screenHeight:900 vidHeight:352
22:00:57 T:140093738166544 M:7923552256  NOTICE:  (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
22:00:57 T:140093738166544 M:7923552256  NOTICE: VDPAU Decoder capabilities:
22:00:57 T:140093738166544 M:7923552256  NOTICE: name          level macbs width height
22:00:57 T:140093738166544 M:7923552256  NOTICE: ------------------------------------
22:00:57 T:140093738166544 M:7923552256  NOTICE: MPEG1             0  8192  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: MPEG2_MAIN        3  8192  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: H264_MAIN        41  8192  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: H264_HIGH        41  8192  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: VC1_SIMPLE        1  8190  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: VC1_MAIN          2  8190  2048  2048
22:00:57 T:140093738166544 M:7923552256  NOTICE: VC1_ADVANCED      4  8190  2048  2048
22:00:57 T:140093738166544 M:7923552256 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 2411, consumed: 50
22:00:57 T:140093738166544 M:7922282496  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 1). Creating a new one. TRY #1
22:00:57 T:140093738166544 M:7922282496 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:57 T:140093738166544 M:7922282496  NOTICE:  (VDPAU) Creating the video mixer
22:00:57 T:140093738166544 M:7922028544  NOTICE:  fps: 23.976025, pwidth: 624, pheight: 352, dwidth: 624, dheight: 352
22:00:57 T:140093738166544 M:7922028544  NOTICE: Display resolution DESKTOP : 1440x900 @ 50.00 - Full Screen (12)
22:00:57 T:140093738166544 M:7922028544  NOTICE:  (VDPAU) Didnt find a Video Surface Available (Total: 2). Creating a new one. TRY #1
22:00:57 T:140094248773696 M:7913439232  NOTICE: Using GL_TEXTURE_2D
22:00:57 T:140094248773696 M:7913439232  NOTICE: GL: Using VDPAU render method
22:00:57 T:140094248773696 M:7913439232  NOTICE: GL: NPOT texture support detected
22:00:57 T:140094248773696 M:7913439232  NOTICE: Created m_glPixmapTexture (63)
22:00:57 T:140093738166544 M:7922851840 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:57 T:140093738166544 M:7922851840 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:57 T:140093738166544 M:7922851840 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:57 T:140093738166544 M:7922851840 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:57 T:140093738166544 M:7922851840 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:58 T:140093738166544 M:7922831360 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:58 T:140093738166544 M:7922831360 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 116, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 3326, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 766, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1096, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 11082, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1456, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 13653, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1307, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 8686, consumed: 9
22:00:58 T:140093738166544 M:7922704384 WARNING: Decode - avcodec_decode_video didn't consume the full packet. size: 1129, consumed: 9

This goes on a while...


Code:
:~$ file <file-to-play>.avi
RIFF (little-endian) data, AVI, 624 x 352, 23.98 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

2

Another thing I just snipped up while sifting through the log, it says somewhere something like "Passthrough not supported with pulseaudio", and I havent found anywhere in the GUI to choose audio-output... Is there a way to use ALSA?