LinuxMCE Forums

General => Installation issues => Topic started by: THEVILLAIN on April 24, 2010, 07:59:39 pm

Title: Xine, x264, VC1 (mkv), and VDPAU
Post by: THEVILLAIN on April 24, 2010, 07:59:39 pm
I have xine with x264,VC1 (mkv) support via VDPAU working on the command line.   I can launch with 'DISPLAY=:0 xine -V vdpau -fg --no-logo filename' and it works on the MD.  The MD is set to use VDPAU/auto.   However when I try to launch it with the orbiter it fails with: (xine player log below).    How do I check what the orbiter is using to call xine ?

05      04/23/10 23:52:28.081           Xine_Player::CMD_Play_Media() stopping PSS <0xb6d3ab90>
05      04/23/10 23:52:28.081           Xine_Stream_Factory::GetStream streamID is 0 <0xb6d3ab90>
05      04/23/10 23:52:28.163           I'm unable to initialize m_pXine's 'opengl' video driver. Falling to 'xshm'. <0xb6d3ab90>
05      04/23/10 23:52:28.289           I'm unable to initialize m_pXine's 'auto' audio driver. <0xb6d3ab90>
05      04/23/10 23:52:28.296           Stream audio/video initialization failed <0xb6d3ab90>
05      04/23/10 23:52:28.296           Cannot create new stream with ID=1052 <0xb6d3ab90>
05      04/23/10 23:52:28.297           Xine_Player::CMD_Play_Media() stream is NULL, aborting - init failure? <0xb6d3ab90>
05      04/23/10 23:52:28.297           Xine_Player::CMD_Stop_Media() with corresponding stream id 1052 (nil). <0xb6d3ab90>
05      04/23/10 23:52:28.297           Xine_Player::CMD_Stop_Media() stream is NULL, aborting - init failure? <0xb6d3ab90>
05      04/24/10 0:18:30.974            Going to rotate logs... <0xb6d3ab90>


 Available xine's plugins:
   -Audio output:
     alsa, oss, esd, none, file.

   -Video output:
     vdpau, aadxr3, dxr3, xv, raw, SyncFB, opengl, aa, xshm, caca, none, sdl,
     vidixfb, vidix, fb.

   -Demuxer:
     anx, avi, slave, asf, yuv4mpeg2, pva, fli, nsv, mng, iff, matroska, real,
     ogg, quicktime, aud, aiff, flac, nsf, realaudio, snd, tta, voc, vox, wve,
     idcin, ipmovie, vqa, wc3movie, roq, str, film, smjpeg, fourxm, vmd,
     flashvideo, mpeg_block, mpeg_pes, mpeg-ts, mpeg, dts, ac3, wav, cdda,
     rawdv, mpc, yuv_frames, mp3, shn, sputext, elem, vc1es, aac.

   -Input:
     FILE, pnm, http, DVB, DVD, CD, mms, VCD, v4l_radio, v4l_tv, rtsp, VCDO,
     tcp, pvr, stdin, rtp.

   -Subpicture:
     dxr3-spudec, spudec, spucmml, spucc, sputext, spudvb.

   -Post processing:
     unsharp, pp, noise, expand, fill, invert, eq, denoise3d, boxblur, tvtime,
     goom, upmix, upmix_mono, stretch, volnorm, switch, oscope, fftscope,
     fftgraph, eq2, mosaico.

   -Audio decoder:
     gsm610, mad, ffmpegaudio, realadec, mpc, vorbis, nsf, a/52, dvaudio, dts,
     faad, qta, pcm, win32a.

   -Video decoder:
     dxr3-mpeg2, vdpau_vc1, vdpau_mpeg12, vdpau_h264, mpeg2, realvdec,
     ffmpegvideo, theora, win32v, bitplane, yuv, qtv, rgb, ffmpeg-wmv9,
     ffmpeg-wmv8.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on April 27, 2010, 07:48:47 pm
I have exactly the same problem on my 0810 installation. System is uptodate. Codecs are installed. 
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: tschak909 on April 28, 2010, 05:55:21 am
xine-ui is not used. Xine_Player is a DCE device that links directly to libxine.

Please check /etc/pluto/xine.conf to be sure that it is writing out the configuration file correctly.

You should also check wizard > media directors, and check the Video Accelleration dropdown, to make sure it is set to auto.

Failing this, you should load glxinfo, and look at the /var/log/Xorg.0.log file to see that the NVIDIA drivers are being loaded.

-Thom
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on April 28, 2010, 09:25:40 am
Thanks a lot, Tom, for your informative answer. Will try to follow by your recommendations tonight and see what happens.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on April 29, 2010, 11:53:10 pm
Well, I set hardware accelerator to 'auto' for the MD. It didn't help. My xine.conf is here (http://pastebin.com/4Kx4uDE1) and glxinfo output is here (http://pastebin.com/Dud5dS87). Will be very appreciated if somebody look at them and check if they are correct.

Thank in advance.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: tschak909 on April 30, 2010, 12:11:39 am
your video driver is set to xv in the xine config. This is wrong. You have something set incorrectly in your media director's video configuration.

-Thom
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on April 30, 2010, 01:09:07 am
The driver is set to xv in my /etc/pluto/xine.conf file but VDPAU is working just fine with hardware acceleration set to VDPAU in the webadmin here.  HD content is playing on my ION with 10% cpu usage.  I believe that video settings in /etc/pluto/xine.conf are ignored now.

Code: [Select]
Changeset 22398
Timestamp:
    10/26/09 15:55:32 (6 months ago)
Author:
    pos
Message:

    Refs #383 - Always use web settings for video.driver used by xine

J.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on April 30, 2010, 09:03:17 am
I run vdpauinfo and it didn't give me any info about VDPAU. It seems that there is some problem with nvidia driver on my installation. At the beginning I downloaded and installed the driver manually. But now it's done using package. So, possible there is some conflict. I think the easiest way is make a fresh installation 0810.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on May 01, 2010, 01:17:23 am
Are you running an 8300 GS?  The 8300 supports vdpau (except certain h264 streams) but the 8300 GS does not support vdpau.

J.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on May 01, 2010, 12:51:11 pm
Are you running an 8300 GS?  The 8300 supports vdpau (except certain h264 streams) but the 8300 GS does not support vdpau.

J.

According to lspci out put I have 8300 (integrated):
Code: [Select]
VGA compatible controller: nVidia Corporation GeForce 8300 (rev a2)Unfortunately I cannot find any other information in the spec of my M3N78-EM. But where you find information that 8300GS doesn't support VDPAU? I thought that all cards series 8XXX and 9XXX should support it.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on May 02, 2010, 01:50:25 am
A GeForce 8300 supports VDPAU, but a GeForce 8300 GS does not.  See: http://us.download.nvidia.com/XFree86/Linux-x86/195.36.15/README/supportedchips.html.  

Even though the GeForce 8300 supports VDPAU there are different feature sets that different cards support, see http://us.download.nvidia.com/XFree86/Linux-x86/195.36.15/README/vdpausupport.html the 8300 supports feature set B with the exception of certain H.264 streams.

J.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: THEVILLAIN on May 02, 2010, 06:06:40 pm
Turns out my problem was xine_player was using /usr/local/lib and my source compiled xine was using /usr/src.  Thanks lsof | grep xine.
I removed the files in/usr/local/lib/xine and rebuilt the library cache with ldconfig.  Now xine_player is using the correct plugins.

lspci
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)


Somehow during my troubleshooting /usr/bin/xine lost the ability to play VC1 files through vdpau.  Xine_player log below.


05      05/01/10 15:25:26.470           Xine_Player::EVENT_Playback_Started(streamID=1003) <= AV info <0xae301b90>
05      05/01/10 15:25:36.463           [ID: 1003]  CHAPTER:0 POS:0 TITLE:0 SUBTITLE:-1 AUDIO:-1 TOTAL:0 (seek 0) t.c. ctr 0 freq 1, <0xad0feb90>
05      05/01/10 15:25:36.464           Socket::SendData sendbytes==0 <0xb6d81b90>
05      05/01/10 15:25:36.464           Read media A/V information: []/[] => []/[] <0xb6d81b90>
05      05/01/10 15:25:36.464           Xine_Player::EVENT_Playback_Started(streamID=1003) <0xb6d81b90>
05      05/01/10 15:25:36.464           Xine_Player::CMD_Play_Media() ended for filename: filenaame.mkv with stream 0x9306cc8. <0xb6d81b90>
05      05/01/10 15:25:36.465           Socket::ReceiveData 0x924b4f0 failed, bytes left 0 start: 1380000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 6 Command_Impl1 Dev #58 <0xb6d81b90>
05      05/01/10 15:25:36.465           Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #58 <0xb6d81b90>
01      05/01/10 15:25:36.465           Receive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #58 <0xb6d81b90>
05      05/01/10 15:25:36.465           Dumping 1 locks <0xb6d81b90>
05      05/01/10 15:25:36.465           finished check for exceptions <0xb6d81b90>
05      05/01/10 15:25:36.465           OL: (0x924b63c) (>125) MessageQueue Command_Impl.cpp l:822 time: 6:00:00p (1272745536 s) thread: 3076008848 Rel: Y Got: Y <0xb6d81b90>
05      05/01/10 15:25:36.466           Destroying all active streams <0xb76036c0>
05      05/01/10 15:25:36.466           Xine_Player::EVENT_Playback_Completed(streamID=1003) <0xb76036c0>
05      05/01/10 15:25:36.534           TCPIP: Closing connection to -1 (m_pNotificationSocket) 0x9306e90 m_Socket: -1 <0xb10feb90>
05      05/01/10 15:25:36.564           XineStreamEventListener called on non-initialized stream - aborting command <0xae301b90>
05      05/01/10 15:25:36.973           Destroyed stream with ID=1003 <0xb76036c0>
05      05/01/10 15:25:37.094           Dropping all sockets... <0xb76036c0>
05      05/01/10 15:25:37.113           TCPIP: Closing connection to -1 (m_pNotificationSocket) 0x9309018 m_Socket: -1 <0xadb00b90>


When I run xine manually on the command line, I get:
load_plugins: probing demux 'matroska'
xine: found demuxer plugin: matroska demux plugin
audio discontinuity #1, type is 0, disc_off 0
waiting for in_discontinuity update #1
video discontinuity #1, type is 0, disc_off 0
vpts adjusted with prebuffer to 47755
demux_matroska: Track 1, V_MPEG4/ISO/AVC eng
demux_matroska: Track 2, A_DTS eng
demux_matroska: Track 3, A_VORBIS eng
load_plugins: plugin vdpau_h264 will be used for video streamtype 4d.
done parsing extradata
load_plugins: plugin dts will be used for audio streamtype 05.
av_offset=0 pts
spu_offset=0 pts
xine_play
vdpau_h264_reset
dpb_free_all, used: 0
done parsing extradata
ao_flush (loop running: 1)
play_internal ...done
assert: demux.c:561: _x_demux_send_data: Assertion `size > 0' failed.[
audio discontinuity #2, type is 3, disc_off 473590350
ebml: read error
waiting for in_discontinuity update #2
video discontinuity #2, type is 3, disc_off 473590350
vpts adjusted with prebuffer to 31961009
input_cache: read calls: 1095407, main input read calls: 218015
input_cache: seek_calls: 230413, main input seek calls: 217855
xine_dispose
shutdown audio
shutdown video
dpb_free_all, used: 0
xine_exit: bye!
Segmentation fault (core dumped)


I looked at the code, if size is zero, there there is a demux problem.  This is the 1.1.16 code branch for xine-vdpau.

Anyone know whats wrong ?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on May 04, 2010, 12:27:07 pm
It looks like GE8300 works incorrectly with the latest nvidia drivers installed in LinuxMCE - http://forum.linuxmce.org/index.php?topic=10062.0.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: THEVILLAIN on May 10, 2010, 04:32:46 pm
How can I re-compile just pluto-xine-player from source ?

I don't see anything I the developers sections about just one package.
Assume I have setup a chroot, thats already run all the prepare scripts for a full build.

# ls -l /usr/local/lib/libxine*
-rw-r--r-- 1 root root    901 2010-05-10 08:54 /usr/local/lib/libxine-interface.la
-rwxr-xr-x 1 root root   1021 2010-05-10 08:54 /usr/local/lib/libxine.la
lrwxrwxrwx 1 root root     16 2010-05-10 08:56 /usr/local/lib/libxine.so -> libxine.so.2.0.0
lrwxrwxrwx 1 root root     16 2010-05-10 08:56 /usr/local/lib/libxine.so.2 -> libxine.so.2.0.0
-rwxr-xr-x 1 root root 352092 2010-05-10 08:54 /usr/local/lib/libxine.so.2.0.0




# /usr/pluto/bin/Xine_Player                                                                                                                                                                  
/usr/pluto/bin/Xine_Player: error while loading shared libraries: libxine.so.1: cannot open shared object file: No such file or directory

This soft link doesn't work.
lrwxrwxrwx 1 root root     16 2010-05-10 00:55 /usr/local/lib/libxine.so.1 -> libxine.so.2.0.0

# cat /usr/local/lib/pkgconfig/libxine.pc
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
includedir=${prefix}/include

datarootdir=${prefix}/share
datadir=${datarootdir}

xinelibdir=${libdir}/xine
xinedatadir=${datadir}/xine

acflags=-I ${prefix}/share/aclocal
plugindir=${xinelibdir}/plugins/2.0
scriptdir=${xinedatadir}/scripts
localedir=${datadir}/locale
objcflags=  -pipe  -Wall -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Werror-implicit-function-declaration -Wstrict-aliasing=2 -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wpointer-arith -g

xine_list=${bindir}/xine-list-1.2

Name: libxine
Description: The xine engine library
Version: 1.1.90
Requires.private:
Libs: -L${libdir} -lxine
Libs.private:  -lz -lresolv -lnsl  -pthread  -lrt
Cflags: -I${includedir}
Cflags.private:
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on May 17, 2010, 09:39:23 pm
HI !!
i reinstall linuxmce 810 (version 14/05/10) but xine player don't play hd movie (.m2ts) with vdpau but xine player play hd movie with xv or opengl !!
same thing with mplayer !!
Before hd movie with vdpau ok
there is a solution to solve this problem ?
Thanks
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 10, 2010, 03:22:34 pm
I am having the same exact issue... with xv the hd content plays (not extremely well, but it plays); when I switched to vdpau i just get a black screen with sound. Although there was a noticeable improvement with everything else once I manually switched the hardware acceleration from xv to vdpau.

diskless MD
M3N78-VM
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on July 11, 2010, 09:42:12 pm
hi,
I have the same problem as you joerod
I have never find the solution
vdpau does not work or there is a problem in xine player
i have gt220 nvidia and linuxmce version snapshots 11-Jun-2010
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on July 12, 2010, 09:13:40 pm
I've install linuxmce snapshots (23152)
always the same problem as joerod
when i see a hd movie (.m2ts) with xine player there is no picture but i have sound
I think I am not alone to have the same problem
if any one can install linuxmce snapshot (23152) for test
thank
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: niz23 on July 12, 2010, 09:59:24 pm
I might be wrong on this.
Are those .m2ts files you are talking about blueray rips?
As far as I know xine do not support blueray movies.
That´s why mplayer is started for when a .m2ts movie is played.

/niz23
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on July 12, 2010, 11:04:47 pm
I did try with mplayer and xine does not work
always the same default
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on July 13, 2010, 01:01:43 pm
In my case MKV files are played with xv acceleration using xine more or less well. VDPAU never worked for me (I have integrated GF8200 which supports VDPAU). Using Xine I don't have either picture or sound. Mplayer just plays sound and no picture with xv or vdpau.

I already wrote about that problem in this topic - http://forum.linuxmce.org/index.php?topic=9998.0 You can find the log file messages there.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 16, 2010, 12:41:31 am
Any updates to this topic?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 17, 2010, 03:28:30 am
OK, I'm not entirely sure this has anything to do with the problem as I see it probably has more to do with vdpau than xine but here is a conversation I had that may help a bit...

I asked: whats the recommend way to get mkv and other h264 codecs to work?

[Fri Jul 9 2010] [21:00:48] <TSCHAKeee>
first, a correction
what you're experiencing has nothing to do with h.264
we supply h.264 codecs already, as part of ffmpeg
and an appropriate GPU can decode them on-card via VDPAU
with that said, what you're experiencing
is the fact that you're downloading pirated movies off bittorrent
(don't deny it)
which are using a newer MKV encapsulation
MKV is a container format
we do have an updated xine, which niz23 has backported the demuxer from the upcoming xine release
however, we do not currently supply them as part of the build
because they break VDR
at least until we can rebuild vdr-sxfe to properly handle the new xine libs
IF you want the new xine, you will have to forcefully install the debs
they are located here: http://tschak.homelinux.com/deb/ (http://tschak.homelinux.com/deb/)
install them all at the same time, with dpkg
keep in mind however, that you are on your own
we can't provide any support for these packages, as we are still working things out with it relating to what I mentioned above.

if you do not know how to install packages by hand with dpkg
much less how to install a batch of them at the same time
either (a) google it or (b) forget it
the mplayer player will be removed.
we will remove it from the build soon.


This got video and sound to work correctly.... kinda... I'm working on it; but it does seem to work
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on July 19, 2010, 09:27:26 pm
before I  using this patch to read the hd movie (pluto-mplayer-player_2.0.0.44.10022622803_i386.deb) but since I've installed the latest version LinuxMCE patch does not work because the version of mplayer is more recent
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 19, 2010, 10:27:27 pm
Sorry man I didn't really understand that... but mplayer shouldn't be used... xine should be used to play everything.  Make sure that your movie is not classified as "Linuxcmce Blueray Disc" and make sure it does not have a m2ts extention... I think those two conditions will cause the video to be played with mplayer instead of xine.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: douglas_fr on July 19, 2010, 11:40:03 pm
ok
I thought mplayer was of actualite
thank joerod
what extension for hd movie ??
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on July 20, 2010, 08:47:31 am
Sorry man I didn't really understand that... but mplayer shouldn't be used... xine should be used to play everything.  Make sure that your movie is not classified as "Linuxcmce Blueray Disc" and make sure it does not have a m2ts extention... I think those two conditions will cause the video to be played with mplayer instead of xine.

Correct. But the problem is that xine doesn't play the latest MKV files. And in my case it doesn't play even old ones which I watched using mplayer under 0710. Have a look that thread - http://forum.linuxmce.org/index.php?topic=9998
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: maverick0815 on July 20, 2010, 06:33:08 pm
yup, same here...but as far as I read, we will probably have to wait for the next release...I checked in trac and there it says the issue has been put on halt.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 20, 2010, 10:03:57 pm
this updated xine that I posted above doesn't play the mkv files?

Quote
IF you want the new xine, you will have to forcefully install the debs
they are located here: http://tschak.homelinux.com/deb/
install them all at the same time, with dpkg
keep in mind however, that you are on your own
we can't provide any support for these packages, as we are still working things out with it relating to what I mentioned above.

if you do not know how to install packages by hand with dpkg
much less how to install a batch of them at the same time
either (a) google it or (b) forget it
the mplayer player will be removed.
we will remove it from the build soon.

Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: buckle on July 21, 2010, 05:46:09 am
this updated xine that I posted above doesn't play the mkv files?


Worked for me.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on July 21, 2010, 08:50:26 am
Quote
this updated xine that I posted above doesn't play the mkv files?
Maybe it works but it'll break VDR which very important for me.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: niz23 on July 21, 2010, 10:01:40 am
I´m looking at xine now to see what can be done about this.
xineliboutput (vdr-sxfe) is what breaks if you use xine with mkv patches.
I´m not sure why as I have not found anything in vdr-sxfe that should depend upon mkv stuff in libxine.
Still it does break.

/niz23

Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on July 21, 2010, 04:29:24 pm
I´m looking at xine now to see what can be done about this.
xineliboutput (vdr-sxfe) is what breaks if you use xine with mkv patches.
I´m not sure why as I have not found anything in vdr-sxfe that should depend upon mkv stuff in libxine.
Still it does break.

Thanks, niz23! Also it'd be nice to have possibility switch audio track in AVI or MKV played by Xine. mplayer has a short key for that. So, using keyboard it's possible change the audio track. But with xine only MessageSend can be used to do that.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on July 25, 2010, 07:15:17 pm
yea, I noticed I couldn't switch audio tracks... that would be a cool feature.  Is VDR better for ATSC than myth? BTW (the patch works really well for all the mkv files I couldn't play before, but) I have some videos that don't work ever since the mkv patch that did work before.  Any ideas on why this would happen?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on August 02, 2010, 12:14:05 pm
Looks like the latest update fixed the problem with MKV playback and didn't break VDR. Excellent work!
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: wombiroller on August 02, 2010, 12:55:17 pm
Looks like the latest update fixed the problem with MKV playback and didn't break VDR. Excellent work!
+100!  ;D
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on August 03, 2010, 04:40:50 am
how do I apply that update?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on August 03, 2010, 08:48:50 am
how do I apply that update?

Run it on your core and MDs:

Code: [Select]
sudo apt-get update
sudo apt-get upgrade
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on August 14, 2010, 12:43:16 pm
is anyone else still having problems with just some mkv or mp4s? is there any way I can add newer containers to the compatibility list?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: nite_man on August 14, 2010, 01:33:31 pm
is anyone else still having problems with just some mkv or mp4s? is there any way I can add newer containers to the compatibility list?
I don't have any MKV file I cannot play now with LMCE. What about you?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: maverick0815 on August 14, 2010, 07:11:05 pm
at least here with me everything in this department is running nicely :-) thumbs up!
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on August 15, 2010, 03:24:52 am
well, I definately have some that will play on one md but not on another (I get sound but no audio) I also have one or two that only play sound and both mds and all my videos play in windows.  I'm going to look further into it to make sure I'm not doing something wrong and I'll let you guys know.

Thanks a lot for the feedback.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: joerod on August 17, 2010, 02:09:15 pm
then when I type "apt-get upgrade"  I get the following:

Quote
root@moon88:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libxine-dev libxine1 libxine1-all-plugins libxine1-bin libxine1-console libxine1-dbg libxine1-ffmpeg libxine1-gnome libxine1-misc-plugins
  libxine1-plugins libxine1-x
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.

I did manually install a xine patch a while back, but that was before the new one that did not break vdr.  Am I doing something wrong?
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: niz23 on August 17, 2010, 11:06:13 pm
Do apt-get dist-upgrade
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: ferguscan on September 27, 2010, 02:42:35 am
I just want to follow up on this, and say that I have the latest xine packages (1.1.16.3-0ubuntu2~xine-vdpau~intrepid~ppa2) and none of my newer mkv files work.

Is anyone else still experiencing problems?  I will try to get some meaningful logs from my system tonight.

Thanks,

Stuart
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on September 27, 2010, 03:14:28 am
That's an older version than lmce is using now.

Code: [Select]
$ sudo apt-cache policy libxine1
libxine1:
  Installed: 1.1.16.4-0ubuntu6-lmce-1
  Candidate: 1.1.16.4-0ubuntu6-lmce-1
  Version table:
 *** 1.1.16.4-0ubuntu6-lmce-1 0
        500 file: ./ Packages
        500 http://deb.linuxmce.org intrepid/beta2 Packages
        100 /var/lib/dpkg/status
     1.1.15-0ubuntu3.3 0
        500 http://ca.archive.ubuntu.com intrepid-updates/main Packages
        500 http://security.ubuntu.com intrepid-security/main Packages
     1.1.15-0ubuntu3 0
        500 http://ca.archive.ubuntu.com intrepid/main Packages
        500 http://archive.ubuntu.com intrepid/main Packages

A dist-upgrade should bring it up to date.
Code: [Select]

# apt-get update
# apt-get dist-upgrade

J.
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: ferguscan on September 27, 2010, 06:43:16 am
Quote
root@moon97:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@moon97:~#

Quote
root@moon97:~# apt-cache policy libxine1
libxine1:
  Installed: 1.1.16.3-0ubuntu2~xine-vdpau~intrepid~ppa2
  Candidate: 1.1.16.3-0ubuntu2~xine-vdpau~intrepid~ppa2
  Version table:
     1.1.16.4-0ubuntu6-lmce-1 0
        500 http://deb.linuxmce.org intrepid/beta2 Packages
 *** 1.1.16.3-0ubuntu2~xine-vdpau~intrepid~ppa2 0
       9999 file: ./ Packages
        100 /var/lib/dpkg/status
     1.1.15-0ubuntu3.3 0
        500 http://au.archive.ubuntu.com intrepid-updates/main Packages
        500 http://security.ubuntu.com intrepid-security/main Packages
     1.1.15-0ubuntu3 0
        500 http://au.archive.ubuntu.com intrepid/main Packages
        500 http://archive.ubuntu.com intrepid/main Packages
root@moon97:~#

Hmmm... I wonder why it's being kept back.

Note that when I remove this line from my sources.list:

Quote
deb file:/usr/pluto/deb-cache/ ./

I get this:

Quote
root@moon97:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  libxine1-bin libxine1-console libxine1-ffmpeg libxine1-misc-plugins
  libxine1-x
The following NEW packages will be installed:
  linux-image-2.6.27-15-generic
The following packages will be upgraded:
  libxine1 libxine1-xvdr linux-image-diskless lmce-launch-manager
  lmce-mythtv-scripts lmce-update-system pluto-add-software pluto-app-server
  pluto-avwizard pluto-boot-scripts pluto-capture-card-scripts pluto-dcecommon
  pluto-disk-drive pluto-libresolution pluto-messagesend pluto-mplayer-player
  pluto-orbiter pluto-photo-screen-saver pluto-pluto-main-db pluto-plutoutils
  pluto-pnp-detection pluto-serializeclass pluto-shiftstate pluto-simplephone
  pluto-storage-devices pluto-x-scripts pluto-xine-player xineliboutput-sxfe
28 upgraded, 1 newly installed, 5 to remove and 0 not upgraded.
Need to get 102MB of archives.
After this operation, 97.2MB of additional disk space will be used.
Do you want to continue [Y/n]?

But I assume that sources.list line should be there?

I have always had issues with package management with this LMCE installation (not just this MD, but the core also).  When I go into "Software Packages" in the Setup Wizard, I get a blank list.  I think it somehow ties into the fact that my internet connection wasn't working when I did my initial core install.

Stuart
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: ferguscan on September 27, 2010, 07:22:32 am
OK, so it seems the problem lies in my local cache having a priority of 9999, whereas yours is only 500.

I look in /etc/apt/preferences, and find:

Code: [Select]
Package: *
Pin: origin
Pin-Priority: 9999

Package: *
Pin: release v=8.10,o=Ubuntu,a=hardy,l=Ubuntu
Pin-Priority: 9998

I assume yours is different?  Why does mine look like that?

Also, my core has the following preferences:

Code: [Select]
# We take MythTV from our repo always
Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmythtv-perl libmyth python-myth mythtv-themes mythplugins mytharchive mytharchive-data mythbrowser mythgallery mythgame mythmovies mythmusic mythnetvison mythnetvision-data mythnews mythvideo mythweather mythzoneminder myth-doc
Pin: origin deb.linuxmce.org
Pin-Priority: 1001

# If our local package uses the same version as elsewhere, we take the one we have locally.
Package: *
Pin: origin
Pin-Priority: 600

It has the latest libxine1

So the problem is isolated to my MD.  Should I simply change the preferences?  I don't want to break anything that might depend on those preferences.

Thanks,

Stuart

EDIT: of further interest is that the core has the latest libxine1 installed, but it's not in the cache directory.  Hmm....
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on September 27, 2010, 01:23:17 pm
You have an old preferences files installed.  

Edit them on the core and the MDs look like this:
Code: [Select]
Package: mythtv mythtv-frontend mythtv-backend mythtv-common mythtv-database mythtv-transcode-utils mythweb libmythtv-perl libmyth python-myth mythtv-themes mythplugins mytharchive mytharchive-data mythbrowser mythgallery mythgame mythmovies mythmusic mythnetvison mythnetvision-data mythnews mythvideo mythweather mythzoneminder myth-doc
Pin: origin deb.linuxmce.org
Pin-Priority: 1001

Once you've altered the file on the core any MDs you create in the future will have the correct preferences file.  The lastest libxine1 is not in the deb-cache because it was downloaded after initial installation.  Currently the deb-cache is kept updated after the initial installation.  Your MD will grab the proper packages if you alter the preferences files as shown above.

J
Title: Re: Xine, x264, VC1 (mkv), and VDPAU
Post by: phenigma on September 27, 2010, 01:29:24 pm
But I assume that sources.list line should be there?

Yes it should be there, the preferences file is the culprit.

I have always had issues with package management with this LinuxMCE installation (not just this MD, but the core also).  When I go into "Software Packages" in the Setup Wizard, I get a blank list.  I think it somehow ties into the fact that my internet connection wasn't working when I did my initial core install.

This is normal, there is nothing currently listed under 'Software Packages' in 0810.

J.