LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-15-2006, 07:53 PM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
Can't watch any videos.


Hi I have a very weird problem. Whenever I try to play a video with the xv extension enabled I get weird scrambled video ouput, regardless of what application I am using to watch the video.

Although this isn't restricted to Mplayer, I did get some output from Mplayer and I was wondering if anyone might be able to work out what is going on?

Code:
MPlayer dev-CVS--4.0.3 (C) 2000-2006 MPlayer Team
CPU: Intel Pentium 4/Celeron D Prescott; Pentium D/XE Smithfield; Xeon Nocona,Irwindale (Family: 15, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


get_path('codecs.conf') -> '/home/raid517/.mplayer/codecs.conf'
Reading /home/raid517/.mplayer/codecs.conf: Can't open '/home/raid517/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'Test1.mpg'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/home/raid517/.mplayer/input.conf'
Can't open input config file /home/raid517/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
Setting up LIRC support...
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.
get_path('Test1.mpg.conf') -> '/home/raid517/.mplayer/Test1.mpg.conf'
Playing Test1.mpg.
get_path('sub/') -> '/home/raid517/.mplayer/sub/'
[file] File size is 287074424 bytes
STREAM: [file] Test1.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename Test1.mpg ext: .mpg
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file Test1.mpg
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 66311, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648446
LMLM4 Stream Format not found
system stream synced at 0xB (11)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  1150.0 kbps (143.8 kbyte/s)
[V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
get_path('sub/') -> '/home/raid517/.mplayer/sub/'
get_path('default.sub') -> '/home/raid517/.mplayer/default.sub'
[file] File size is 2 bytes
STREAM: [file] /home/raid517/.mplayer/default.sub
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Could not determine file format
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using MMX optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[xv common] Drawing colorkey manually.
[xv common] Using colorkey from Xv (0x0101fe).
[xv common] Maximum source image dimensions: 1920x1088
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 288 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
alsa-init: requested format: 44100 Hz, 2 channels, 9
alsa-init: using ALSA 1.0.10
alsa-init: setup for 1/2 channel(s)
alsa-init: using device default
alsa-init: pcm opend in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy@streamminister.de>
AO: Comment: under developement
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
VDec: vo config request - 352 x 288 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (352x288->384x288,flags=0,'MPlayer',0x32315659)
VO: [xv] 352x288 => 384x288 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel@goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
using Xvideo port 73 for hw scaling
[xv] dx: 0 dy: 0 dw: 384 dh: 308
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
[xv] dx: 0 dy: 0 dw: 384 dh: 308
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
Unicode font: 1685 glyphs.056 ct: -0.004   2/  2 ??% ??% ??,?% 0 0
*** [vo] Allocating mp_image_t, 352x288x12bpp YUV planar, 152064 bytes
A:   5.6 V:   5.6 A-V:  0.007 ct: -0.131 118/118  4% 16%  0.5% 10 0

MPlayer interrupted by signal 15 in module: sleep_rtc
Uninit audio filters...
[libaf] Removing filter dummy
uninit audio: mp3lib
uninit video: libmpeg2
Any help anyone can offer at all would be very much appreciated.

GJ

Last edited by raid517; 04-15-2006 at 07:59 PM.
 
Old 04-16-2006, 02:00 AM   #2
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 37
Have you installed any codecs on your machine? If not, then try to search win32codecs for your distro. Source could be found atleast on the MPlayer website.

Hope this helps.
 
Old 04-16-2006, 04:54 AM   #3
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Rep: Reputation: 31
I'd agree with Zmyrgel's question - check if you have the correct codecs installed. Depending on your system, after fetching the codecs (they come bundled together in a tarball - just untar into a directory) you may need to set up a directory to house them, so that your media players can access them. On Slackware, this is usually at /usr/lib/win32, which is where Xine expects them to be, as well as Totem, and MPlayer as well (I think, because I only use Xine).
If you do already have these installed, then it would seem that MPlayer is not finding these where it would expect to, in which case, I'd suggest that you read the man pages on where the codecs are supposed to be and check the permissions on that directory, so that raid517 has access to them.

HtH
 
Old 04-16-2006, 08:49 AM   #4
raid517
Member
 
Registered: Feb 2002
Posts: 393

Original Poster
Rep: Reputation: 30
Yes I have the win32 codecs installed (they are installed at /usr/lib/win32 - and I have all of the permissions set to 777 - which is read write and pretty much run riot, so i doubt it's a 'permissions' issue. If you look at the output it actually says it has found the codecs.

This is a very odd bug, as it makes all of my videos look kind of like a colour negative, or like the thermal heat signature that you sometimes see in weapons in some games.

It 'fixes' itself if I switch from using vo=xv to vo=gl2. Unfortunately this is just a little machine with onboard video that I have built for my daughter to surf the internet and watch videos on (she doesn't play games) and it only has onboard video - which isn't really fast enough to do full screen opengl acceleration.

There are other video options, but they either look crap due to software rendering, or they do not scale properly. The only problem I have is with xv acceleration - which unfortunately is probably the best option for this system.

GJ
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Watch vs BSD Watch blueCow *BSD 4 08-16-2009 06:35 PM
what do i need to watch streaming videos? A.D.D. Linux - Newbie 1 11-04-2004 01:26 AM
Unable to listen/watch music/videos at various websites webwolf70 Linux - General 1 10-27-2004 07:37 AM
No videos carlosinfl Fedora 7 05-16-2004 02:40 PM
How Do I Watch Videos .MPG? funkenbooty Linux - Newbie 9 07-24-2003 11:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration