LinuxMCE Forums

General => Users => Topic started by: ardirtbiker on October 16, 2011, 06:55:22 PM

Title: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 16, 2011, 06:55:22 PM
Hi gang,
   I 'obtained' a media file (mkv) that has video codec of 'Microsoft VC1'.   The audio plays but the video screen is solid gray.   I can play this file on Kubuntu 11.10 just fine.  I am running LMCE 1004, latest build.

On the MD, the Hardware Acceleration is set to 'auto' ... tried at 'vdpau' also, but didnt change anything.

Here is a snippet from the Xine log file on the MD:
========== NEW LOG SECTION ==========
1 10/16/11 09:53:38 40 (spawning-device) Starting... 1
1 10/16/11 09:53:38 40 (spawning-device) Found ./Xine_Player
05 10/16/11 9:53:38.955 Xine_Player::GetConfig default zoom 100 <0xb7785ab0>
05 10/16/11 9:53:38.958 Warning: libxine.so.1 is not loaded yet (?) <0xb7785ab0>
05 10/16/11 9:53:38.958 Custom xine functions status:  xine_seek=(nil), xine_start_trick_play=(nil), xine_stop_trick_play=(nil). Trickplay and seeking support: absent <0xb7785ab0>
05 10/16/11 9:53:39.528 Count of screens at this display: 1 <0xb7785ab0>
05 10/16/11 9:53:39.528 XMapWindow returned: 1 <0xb7785ab0>
05 10/16/11 10:01:31.764 Xine_Player::CMD_Play_Media() called for id 1003 filename: /home/public/data/videos/WDC_WD15EARS-00Z5B1 (sdc1) on [34]/bluray/Dune (Original).mkv () <0xb6d03b70>
05 10/16/11 10:01:31.765 Xine_Player::CMD_Play_Media() stopping PSS <0xb6d03b70>
05 10/16/11 10:01:31.765 Xine_Stream_Factory::GetStream streamID is 0 <0xb6d03b70>
05 10/16/11 10:01:32.287 Created new stream with ID=1003 deint 0  100 0 <0xb6d03b70>
05 10/16/11 10:01:32.287 Xine_Player::CMD_Play_Media() set stream 1003 as last rendering to screen. <0xb6d03b70>
05 10/16/11 10:01:32.287 Xine_Player::CMD_Play_Media() called for id 1003 filename: /home/public/data/videos/WDC_WD15EARS-00Z5B1 (sdc1) on [34]/bluray/Dune (Original).mkv () with corresponding stream 0x8b89410. <0xb6d03b70>
05 10/16/11 10:01:32.294 Opening media without chapters/title position: 'file:///home/public/data/videos/WDC_WD15EARS-00Z5B1 (sdc1) on [34]/bluray/Dune (Original).mkv'  <0xb6d03b70>
05 10/16/11 10:01:32.789 Xine_Stream::changePlaybackSpeed no running seekers found <0xb6d03b70>
05 10/16/11 10:01:32.789 Xine engine set new zoom level to X:100, Y:100 <0xb6d03b70>
05 10/16/11 10:01:32.797 Read media A/V information: [DTS 5.1]/[VC1/WMV9 (vdpau), 1918x1080] => [dts 5]/[959:540] <0xb1346b70>
05 10/16/11 10:01:32.797 Xine_Player::EVENT_Playback_Started(streamID=1003) <= AV info <0xb1346b70>
05 10/16/11 10:01:32.797 Read media A/V information: [DTS 5.1]/[VC1/WMV9 (vdpau), 1918x1080] => [dts 5]/[959:540] <0xb1346b70>
05 10/16/11 10:01:32.797 Xine_Player::EVENT_Playback_Started(streamID=1003) <= AV info <0xb1346b70>
05 10/16/11 10:01:32.798 Read media A/V information: [DTS 5.1]/[VC1/WMV9 (vdpau), 1918x1080] => [dts 5]/[959:540] <0xb1346b70>
05 10/16/11 10:01:32.798 Xine_Player::EVENT_Playback_Started(streamID=1003) <= AV info <0xb1346b70>
05 10/16/11 10:01:32.798 Read media A/V information: [DTS 5.1]/[VC1/WMV9 (vdpau), 1918x1080] => [dts 5]/[959:540] <0xb1346b70>
05 10/16/11 10:01:32.798 Xine_Player::EVENT_Playback_Started(streamID=1003) <= AV info <0xb1346b70>
05 10/16/11 10:01:33.008 Read media A/V information: [DTS 5.1]/[VC1/WMV9 (vdpau), 1918x1080] => [dts 5]/[959:540] <0xb6d03b70>
05 10/16/11 10:01:33.008 Xine_Player::EVENT_Playback_Started(streamID=1003) <0xb6d03b70>
05 10/16/11 10:01:33.008 Xine_Player::CMD_Play_Media() ended for filename: /home/public/data/videos/WDC_WD15EARS-00Z5B1 (sdc1) on [34]/bluray/Dune (Original).mkv with stream 0x8b89410. <0xb6d03b70>
05 10/16/11 10:01:33.694 [ID: 1003]  CHAPTER:0 POS:667 TITLE:0 SUBTITLE:-1 AUDIO:-1


The video will play without failing... with only the gray screen.  

any suggestions?

Thanks,
Dennis (the menace)
Title: Re: Gray screen on playback of VC-1 video codec
Post by: wombiroller on October 17, 2011, 12:56:14 AM
Same problem started appearing on 0810 final for me actually... Are we missing some codecs?
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 18, 2011, 01:59:17 AM
as far as I can tell.. all codec packages are installed.   MKV files can play fine as long as they are MPEG video.   

Title: Re: Gray screen on playback of VC-1 video codec
Post by: wombiroller on October 22, 2011, 03:47:01 AM
Quote from: ardirtbiker on October 18, 2011, 01:59:17 AM
as far as I can tell.. all codec packages are installed.   MKV files can play fine as long as they are MPEG video.    



Did you get anywhere on this? Seems to be happening more often for me... Not sure where to look...

Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 22, 2011, 02:49:59 PM
I am stumped as well.  it has to do with xine, but Im not sure about where to determine and how to fix (even if Im smart enough to fix).

Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: DragonK on October 29, 2011, 04:43:39 PM
Quote from: wombiroller on October 17, 2011, 12:56:14 AM
Same problem started appearing on 0810 final for me actually... Are we missing some codecs?

Same problem here too....  :'(
Title: Re: Gray screen on playback of VC-1 video codec
Post by: tschak909 on October 29, 2011, 08:37:12 PM
we need someone to look into libxine and its codec stack. I am far too swamped at the moment to be able to look at it.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 30, 2011, 01:26:24 AM
Thom,
   Does LMCE use a modified libxine and codec stack?   or can one compile a newer libxine?

That C and C++ stuff is just a tad bit hard for me to comprehend..    this stuff isnt anything like the 'hello world' programs they always use for an example!!!!!


Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: tschak909 on October 30, 2011, 01:34:17 PM
We use the standard libxine that is provided by ubuntu. And provided that the API calls haven't changed, a newer version can be compiled and used.

-Thom
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 30, 2011, 02:36:28 PM
sweet.. I'll give it a shot with the latest available
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on October 31, 2011, 11:46:46 PM
this is going to take some effort... i recompiled a newer ffmpeg, then recompiled the 1.1.19 xine-lib... however, the system always reverts to the existing libxine.so.2.0.0 and libxine.so.1.27.0... is there something i need to do to force LMCE to use the newer libxine.so.1.29.0?   


I think the system is using the libxine.so.2 linked to libxine.so.2.0.0, but if i try to link libxine.so or libxine.so.1 to libxine.so.1.29.0, nothing changes.. if i link libxine.so.2 to libxine.so.1.29,0, the system resets libxine.so.2 to libxine.so.2.0.0...


Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 02, 2011, 10:06:41 PM
This has been done before:

A newer (although not the newest) libxine1.2 is here:

http://forum.linuxmce.org/index.php/topic,11497.0/topicseen.html

You can use the xineplayer that is included there as well but it is older source and there have been some additional bug fixes in 0810 Final.
If you're really keen you can install the newer libxine1.2 on an 0810 build system and build the xineplayer against the newer libxine1.2 to create a more recent xineplayer.

I will be building a newer one as soon as I have time and now that 0810 is Final.

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 03, 2011, 12:04:21 AM
phenigma,
     according to the linked document, 1004 is supposed to have the libxine1.2 baked in.   Im running 1004, and all .mkv files play... with the exception of those with the VC1 video format.. the screen is gray...   The link appears to mostly apply to 0810.

is there something Im missing that you're saying?   

Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 04, 2011, 11:15:59 PM
I apologize.  There *was* a 1004 version there, it's been removed.  Here is the 1004 libxine2 that I built at that time,  it is a little newer than the libxine2 that lmce1004 uses but not extremely recent.

lmce1004 does NOT use the ubuntu stock libxine 1.1.XX.  lmce1004 uses libxine2 (libxine 1.2hg) from early February 2011 from the yavdr project.   lmce will only use libxine 1.1.19 if you setup a builder and recompile pluto-xine-player against it.

Looks like you are you using vdpau?  If so then the nvidia driver/video card is doing the vc-1 decode not libxine...  Have you tried newer nvidia drivers?  Ubuntu 11.10 will be using newer nvidia drivers.

J.

libxine2: http://www.4shared.com/file/nQ6GiZKK/1004libxine2tar.html
Latest nvidia drivers: http://us.download.nvidia.com/XFree86/Linux-x86/285.05.09/NVIDIA-Linux-x86-285.05.09.run
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 05, 2011, 03:32:45 AM
thanks for the info.

Yes, I have installed the 285.05.09 Nvidia driver... it has cleared up alot of 'noise' on video.

Yes, I have vdpau set for Hardware Acceleration.

I will try the libxine2 you have posted and see if it helps with the VC-1 video codec in the mkv files.


Dennis




I was thinking about trying to install lmce on 11.04 or 11.10... just to see what would happen... heck I got it partly working on Gentoo before.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 14, 2011, 01:41:30 AM
Still at it!!!!


Tried the libxine2 posted in this forum... still no affect on playing mkv files with the vc-1 video codec (still a gray screen)

I tried switching the Hardware acceleration to opengl.. the video became a black screen....

tried an earlier version of NVIDIA graphics driver  (280.13)... no change.

Is anyone able to play these VC-1 video files using LMCE 1004 or even 0810?   I'd like to compare settings and version info.

Here is my video information (via lspci):
VGA compatible controller: nVidia Corporation G92 [GeForce 9800 GTX] (rev a2)


Thanks,
Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: kyfalcon on November 14, 2011, 04:12:07 PM
I see something similar with my mt2s files from my Canon AVHCD movie camera
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 15, 2011, 06:56:59 PM
Here is the latest libxine2 from the yavdr stable ppa repository from source only 2 days ago.  Try it out and let us know what happens.


https://launchpad.net/~yavdr/+archive/stable-vdr/+files/libxine2_1.2.0~hg20111113.2230-1yavdr0~lucid_i386.deb


J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 16, 2011, 02:28:55 AM
phenigma... YOU ARE THE MAN!!!!!


Thanks...   I am able to watch the VC-1 video files just perfectly.


here is what I ended up doing since the libxine2 file complained about dependencies:

added both of these to my sources.list
deb http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu lucid main
deb-src http://ppa.launchpad.net/yavdr/stable-vdr/ubuntu lucid main

then ran apt-get -f install... which pulled in the other dependencies and completed the installation of libxine2



again.. thanks so much.

Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 16, 2011, 04:00:37 AM
Excellent!  Glad to hear it's working!

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 16, 2011, 04:14:54 AM
ooohhh... I may have spoken too soon...   Mythtv is now a black screen..

Further investigation... if VDPAU is set in Mythtv settings, the screen is black... if set to CPU+ or other than VDPAU, then video is visible.. I think it was updated from the above adds to my sources.list file.

Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 16, 2011, 11:18:40 PM
I don't see any mythtv components in the yavdr repository...  Do you know which additional packages were pulled from the yavdr repo?  I installed the libxine2 package on my system without any additional packages being required (but I muck with mine a lot and have lots of additional packages installed already).

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 17, 2011, 01:48:21 AM
I think it was libvdpau... I re-installed the nvidia driver 285 series and all is well.


the other files that libxine2 needed were libavcodec, libavutil, and libpostproc


Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 17, 2011, 08:52:32 PM
So, just so I have this correct... after installing the new libxine2 AND re-installing the nvidia 285 driver you have working video for mythtv AND xine from lmce?  All is working fine now?  :)

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 18, 2011, 01:56:41 AM
that is correct... all stored videos work... mythtv works...   All is well!!

Thank you very much...

Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 24, 2011, 09:08:18 PM
Glad it is working for you!

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: wombiroller on November 26, 2011, 11:01:04 AM
Hi Gents,

Do you think this will work only in 1004? I seem to have a bunch of other stuff that is too old for libxine2 using 0810:


libxine2: Depends: libasound2 (> 1.0.22) but 1.0.18-1ubuntu9~dia1 is to be installed
            Depends: libavcodec52 (>= 4:0.6-1~) but it is not going to be installed or
                     libavcodec-extra-52 (>= 4:0.6-1~) but it is not going to be installed
            Depends: libavutil50 (>= 4:0.6-1~) but it is not going to be installed or
                     libavutil-extra-50 (>= 4:0.6-1~) but it is not going to be installed
            Depends: libc6 (>= 2.8) but 2.8~20080505-0ubuntu9 is to be installed
            Depends: libcdio10 but it is not installable
            Depends: libdvdread4 but it is not installable
            Depends: libfaad2 but it is not installable
            Depends: libiso9660-7 but it is not installable
            Depends: libjack0 (>= 0.118+svn3796) but 0.109.2-3ubuntu1 is to be installed
            Depends: libmagickcore2 (>= 7:6.5.7.8) but it is not installable
            Depends: libmagickwand2 (>= 7:6.5.7.8) but it is not installable
            Depends: libpostproc51 (>= 4:0.6-1~) but 3:0.svn20080206-12ubuntu3.3 is to be installed or
                     libpostproc-extra-51 (>= 4:0.6-1~) but it is not going to be installed
            Depends: libpulse0 (>= 0.9.16) but 0.9.10-2ubuntu9.4 is to be installed
            Depends: libvcdinfo0 (> 0.7.23) but it is not going to be installed

Title: Re: Gray screen on playback of VC-1 video codec
Post by: ardirtbiker on November 26, 2011, 11:29:02 PM
the particular .deb file is for lucid (10.04).  I didnt see any files on that site for maverick (8.10).

You'd have to gather up all the dependencies and install them as well... and yes I found it tough!


Dennis
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on November 29, 2011, 09:51:17 PM
Quote from: wombiroller on November 26, 2011, 11:01:04 AM
Hi Gents,

Do you think this will work only in 1004? I seem to have a bunch of other stuff that is too old for libxine2 using 0810:

That package is for 1004 only.  Are you using libxine2 with 0810 already or are you using the stock libxine1 with 0810?

I have backported the package for 0810, havn't had a chance to test it.  When I do I'll post it.

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: wombiroller on November 30, 2011, 11:33:44 AM
Quote from: phenigma on November 29, 2011, 09:51:17 PM
That package is for 1004 only.  Are you using libxine2 with 0810 already or are you using the stock libxine1 with 0810?

I have backported the package for 0810, havn't had a chance to test it.  When I do I'll post it.

J.

Thanks phenigma :)

I have version 1.1.16 on 810 currently...
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on December 23, 2011, 05:31:51 PM
Quote from: wombiroller on November 30, 2011, 11:33:44 AM
Thanks phenigma :)

I have version 1.1.16 on 810 currently...


Ah, so you are running the stock libxine1 on 0810.

I am expecting to get the newer .deb tested this coming week.  But in the meantime, you should try libxine2 for 0810 from this thread: http://forum.linuxmce.org/index.php/topic,11497.0/topicseen.html

J.
Title: Re: Gray screen on playback of VC-1 video codec
Post by: phenigma on December 23, 2011, 09:38:54 PM
I've tested the .deb and updated the archive at http://forum.linuxmce.org/index.php/topic,11497.0/topicseen.html to include this newer libxine2 for 0810.  Enjoy!

J.