Hi,
I've been bugged for several months that 8.10 lets me play everything, including .mkv files through xine, everything except for .m2ts files (no video, but perfect sound) and h264 files recorded by MythTV (HD video but no sound) through mplayer. No one seems to have this problem in the forum recently (it seems that every else had problems playing .mkv files in the past). Granted, I found a post from Sept. 2010 that said mplayer did not support .m2ts files (with a work around), but I assumed that this had been fixed since then and hate messing around with the work arounds unless absolutely necessary:
http://forum.linuxmce.org/index.php?topic=10690.0If it is still not working, please, could someone let me know that this is the case--no .m2ts until further notice?
If it has been fixed and someone can help me get it working here is my situation:
I'm running VDPAU with the a nvidia GEForce 9600GT PCIe card and the lastest nvida driver 260.19.36 and I allowed nvida xconfig to overwrite my /etc/X11/xorg.conf. I'm pretty sure VDPAU is working because when I run top from the command line and play a file in either xine or mplayer it uses about 1% of the cpu.
But when I run (as root):
mplayer -vc ffh264vdpau -vo vdpau /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts
I get:
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4353) NO SUBS (yet)! PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 23.976 fps, header len: 33
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Forced audio codec: mad
Trying to force audio codec driver family hwac3...
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 640000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
[AO_ALSA] alsa-lib: conf.c:3843:(parse_args) Unknown parameter AES0
[AO_ALSA] alsa-lib: conf.c:3969:(snd_config_expand) Parse arguments error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2205:(snd_pcm_open_noupdate) Unknown PCM hw:0,1,AES0=6
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
A: 23.7 (23.7) of 282943.1 (78:35:43.0) 0.7%
In other words: The sound plays and there is no video because it can not open the video out device:
Error opening/initializing the selected video_out (-vo) device.
When I run:
mplayer -vo help
to determine what is available as a vo I get:
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Available video output drivers:
xmga Matrox G200/G4x0/G550 overlay in X11 window (using /dev/mga_vid)
mga Matrox G200/G4x0/G550 overlay (/dev/mga_vid)
tdfxfb 3Dfx Banshee/Voodoo3/Voodoo5
3dfx 3dfx (/dev/3dfx)
xv X11/Xv
x11 X11 ( XImage/Shm )
xover General X11 driver for overlay capable video output drivers
gl X11 (OpenGL)
gl2 X11 (OpenGL) - multiple textures version
dga DGA ( Direct Graphic Access V2.0 )
sdl SDL YUV/RGB/BGR renderer (SDL v1.1.7+ only!)
ggi General Graphics Interface (GGI) output
fbdev Framebuffer Device
fbdev2 Framebuffer Device
svga SVGAlib
aa AAlib
caca libcaca
dxr3 DXR3/H+ video out
v4l2 V4L2 MPEG Video Decoder Output
xvidix X11 (VIDIX)
cvidix console VIDIX
null Null video output
xvmc XVideo Motion Compensation
mpegpes Mpeg-PES to DVB card
yuv4mpeg yuv4mpeg output for mjpegtools
png PNG file
jpeg JPEG file
gif89a animated GIF output
tga Targa output
pnm PPM/PGM/PGMYUV file
md5sum md5sum of each frame
Telling me there is no vdpau. Okay, fair enough. So let's try it with gl which is in the list:
mplayer -vc ffh264vdpau -vo gl /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts
MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (Family: 6, Model: 23, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /home/public/data/videos/THE_AVIATOR/BDMV/STREAM/00000.m2ts.
TS file format detected.
VIDEO VC1(pid=4113) AUDIO A52(pid=4353) NO SUBS (yet)! PROGRAM N. 1
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 23.976 fps, header len: 33
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.
So now it can't open the X11 display, OK, how about gl:nomanyfmts? nope, same problem. OK, how about xv? nope, same problem.x11? nope.
I went to the nvidia team ppa and added their debs to my sources.list, but when I went to install vdpauinfo--it told me it was already there, so I didn't want to mess about with what has been installed and stopped to write this.
If anyone has any hints, suggestions, etc. many thanks in advance.