News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

MPlayer fails to play on Media Director

Started by pw44, March 15, 2010, 05:33:14 PM

Previous topic - Next topic

pw44

Hia,
after setting my first diskless MD up, i've found that MPlayer_player was not doing it's job.
Trying to play a .m2ts file gave my a grey screen and nothing was happening.
So, after an apt-get install and apt-get update, pluto_mplayer was installed.
Did also nedd to apt-get install w32codecs.
After that, trying to play the same file, i got a black screen. Looking at the log, there's a FATAL ERROR.
mplayer (under KDE Desktop on MD) plays the file and on my core/hybrid, the file is also played by MPlayer_Player.
The MD has a Geforce 6800, an 1024x760 monitor on the VGA port, Video Card = Geforce or TNT2, hardware acceleration = vdpau, Deinterlace quality = high.
Is there anything missing or overkilled?
TIA,
Paulo



05      03/15/10 13:14:51.137           MPlayer_Player::UpdateTracksInfo - detect command: /opt/pluto-ffmpeg/bin/ffmpeg -i "/home/public/data/videos/Software Raid 5 [27]/Movies/Blade Runner (1982).m2ts" 2>&1 | grep "Stream.*Audio" > /tmp/MPlayer_93.ffmpeg.info <0xb70b2b90>                                       
05      03/15/10 13:14:51.250           MPlayer_Player::UpdateTracksInfo - detect command returned code: 256 <0xb70b2b90>                                                                                       
05      03/15/10 13:14:51.251           MPlayer_Player::UpdateTracksInfo - no audio tracks found <0xb70b2b90>                                                                                                   
05      03/15/10 13:14:51.251           MPlayer_Player::CMD_Set_Media_ID is not implemented <0xb70b2b90>
05      03/15/10 13:14:51.921           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:14:52.221           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:14:53.020           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:14:53.321           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
......... lots of same ..............
05      03/15/10 13:15:08.420           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:08.721           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:09.520           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:09.821           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:10.620           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:10.921           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:11.090           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Playing /usr/pluto/share/black.mpeg.| <0xb60b0b90>                                                           
05      03/15/10 13:15:11.090           MPlayer_Player::Log [EngineOutputReader] Playback preinit for file: /usr/pluto/share/black.mpeg <0xb60b0b90>                                                           
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |AVI file format detected.| <0xb60b0b90>                                                                       
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |[aviheader] Video stream found, -vid 0| <0xb60b0b90>                                                         
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |AVI: No audio stream found -> no sound.| <0xb60b0b90>                                                         
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |VIDEO:  [mpg2]  640x480  24bpp  25.000 fps  945.4 kbps (115.4 kbyte/s)| <0xb60b0b90>                         
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Clip info:| <0xb60b0b90>                                                                                     
05      03/15/10 13:15:11.093           MPlayer_Player::Log [EngineOutputReader] Analyzing line: | Software: MEncoder dev-SVN-r24750-4.1.3| <0xb60b0b90>                                                       
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |==========================================================================| <0xb60b0b90>                     
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Forced video codec: ffh264vdpau| <0xb60b0b90> 
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Forced video codec: ffmpeg12vdpau| <0xb60b0b90>                                                               
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family| <0xb60b0b90>                               
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Selected video codec: [ffmpeg12vdpau] vfm: ffmpeg (FFmpeg MPEG-1/2 (VDPAU))| <0xb60b0b90>                     
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |==========================================================================| <0xb60b0b90>                     
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Audio: no sound| <0xb60b0b90>                                                                                 
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Starting playback...| <0xb60b0b90>                                                                           
05      03/15/10 13:15:11.095           MPlayer_Player::Log [EngineOutputReader] Playback started: /usr/pluto/share/black.mpeg <0xb60b0b90>                                                                     
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |[VD_FFMPEG] XVMC-accelerated MPEG-2.| <0xb60b0b90>                                                           
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Could not find matching colorspace - retrying with -vf scale...| <0xb60b0b90>                                 
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Opening video filter: [scale]| <0xb60b0b90>                                                                   
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |The selected video_out device is incompatible with this codec.| <0xb60b0b90>                                 
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Try appending the scale filter to your filter list,| <0xb60b0b90>                                             
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |e.g. -vf spp,scale instead of -vf spp.| <0xb60b0b90>                                                         
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |[mpegvideo_vdpau @ 0x88ae6e0]| <0xb60b0b90>                                                                   
05      03/15/10 13:15:11.096           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |get_buffer() failed (-1 0 0 (nil))| <0xb60b0b90>                                                             
05      03/15/10 13:15:11.097           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |Error while decoding frame!| <0xb60b0b90>                                                                     
05      03/15/10 13:15:11.097           MPlayer_Player::Log [EngineOutputReader] Analyzing line: |FATAL: Could not initialize video filters (-vf) or video output (-vo).| <0xb60b0b90>                         
05      03/15/10 13:15:11.420           PlayerEnginePoll - detected playlist entry change: /home/public/data/videos/Software Raid 5 [27]/Movies/Blade Runner (1982).m2ts -> /usr/pluto/share/black.mpeg <0xb50aeb90>                                                                                                   
05      03/15/10 13:15:11.721           MPlayer_Player::Log Failed to get stream audio codec <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:12.021           MPlayer_Player::Log Failed to get stream video codec <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:12.021           MPlayer_Player::EVENT_Playback_Started(streamID=1004) <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:12.021           MPlayer_Player::UpdateTracksInfo - detecting count of tracks <0xb50aeb90>                                                                                               
05      03/15/10 13:15:12.021           MPlayer_Player::UpdateTracksInfo - detect command: /opt/pluto-ffmpeg/bin/ffmpeg -i "/usr/pluto/share/black.mpeg" 2>&1 | grep "Stream.*Audio" > /tmp/MPlayer_93.ffmpeg.info <0xb50aeb90>                                                                                         
05      03/15/10 13:15:12.048           MPlayer_Player::UpdateTracksInfo - detect command returned code: 256 <0xb50aeb90>                                                                                       
05      03/15/10 13:15:12.049           MPlayer_Player::UpdateTracksInfo - no audio tracks found <0xb50aeb90>                                                                                                   
05      03/15/10 13:15:12.349           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:12.650           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:12.650           Socket::SendData sendbytes==0 <0xb50aeb90>                     
05      03/15/10 13:15:12.736           TCPIP: Closing connection to -1 (m_pTimecodeNotificationSocket) 0x9720250 m_Socket: -1 <0xb58afb90>                                                                     
05      03/15/10 13:15:13.448           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                                     
05      03/15/10 13:15:13.749           MPlayer_Player::Log Failed to get stream time length <0xb50aeb90>                                                                                                       
05      03/15/10 13:15:14.548           MPlayer_Player::Log Failed to get stream time position <0xb50aeb90>                                                                                   


phenigma

The GeForce 6800 is not VDPAU compatible, try setting your MD for opengl.  See: http://ru.download.nvidia.com/XFree86/Linux-x86/190.32/README/appendix-a.html

Turn the de-interlacing off (or lowest) until you get things working.

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

pw44

Hi J.,
did it (opengl and no de-interlace). same result for .m2ts file. Grey screen and no content.
BTW, there are nvidia-195-libvdpau and nvidia-glx-195.
there are ubuntu and lmce versions. Which is to be used?
Checking my system i saw that the ubuntu version is being used.
TIA,
Paulo

phenigma

My ION MD has the latest version installed from the avendard repository 195.36.08 for both nvidia-195-libvdpau and nvidia-glx-195.  Mplayer is working for me with, and without, vdpau acceleration.

dcerouter_1006499:~# apt-cache policy nvidia-195-libvdpau
nvidia-195-libvdpau:
  Installed: 195.36.08-0ubuntu1
  Candidate: 195.36.08-0ubuntu1
  Version table:
*** 195.36.08-0ubuntu1 0
        500 http://www.avenard.org intrepid/release Packages
        100 /var/lib/dpkg/status
     195.36.03-0ubuntu2 0
        500 http://deb.linuxmce.org intrepid/beta2 Packages


For testing HD material I use trailers from here: http://www.h264info.com/?page_id=20 (rename .mp4 to .m2ts)

Almost every media format is handled by Xine, which is the default player for LMCE.  Renaming files to .m2ts causes them to be played by mplayer, which is not well integrated with LMCE...  Is there a reason you have renamed this file to .m2ts?

J.
My setup: [url="http://wiki.linuxmce.org/index.php/User:Phenigma"]http://wiki.linuxmce.org/index.php/User:Phenigma[/url]

pw44

#4
Ok, so it matches.... :)

nvidia-195-libvdpau:
 Installed: 195.36.08-0ubuntu1
 Candidate: 195.36.08-0ubuntu1
 Version table:
*** 195.36.08-0ubuntu1 0
       500 http://www.avenard.org intrepid/release Packages
       100 /var/lib/dpkg/status
    195.36.03-0ubuntu2 0
       500 http://deb.linuxmce.org intrepid/beta2 Packages
    195.30-0ubuntu1 0
       500 http://www.avenard.org intrepid/release Packages
    195.22-0ubuntu1 0
       500 http://www.avenard.org intrepid/release Packages

The reason for using mplayer is  that .mkv  files runs smoother.... with xine, it jitters and i don't know why.... i'm using a phenom 955 with 2 GB ram on a M3N78-VM (geforce 8200) for hybrid.... for the md, a sempron 2000 with 2 GB ram and a geforce 6800 (on the md i'm not being able to play MPlayer_player).

Most of my .mkv file are between 3 to 8 GB large.