You are not logged in.

#1 2008-01-27 21:27:18

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Problem with video

Hi I have problem to play the videos which I record from XVidCap (mpeg). I have the vlc installed and some codecs. When I tried to play them I got a green screen sad

I think that I have a general video codecs/playing problem

What I must check or to install? (I have ATI video card)

Thanks

Last edited by k3rn31 (2008-01-27 21:27:34)


~k3rn31

Offline

#2 2008-01-27 21:39:55

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Problem with video

Try Mplayer and see if that helps. Like usual there are tons of 'VLC doesn't work anymore' threads here.

Offline

#3 2008-01-27 21:44:49

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

I can't open with MPlayer. I have installed all video/audio common codecs....
I will try to reinstall vlc, mplayer....


~k3rn31

Offline

#4 2008-01-27 21:46:07

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Problem with video

Post the output from the command line so that we can see what's happening.

vlc <your_movie>.mpg

Last edited by skottish (2008-01-27 21:46:50)

Offline

#5 2008-01-27 21:53:08

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

vlc test-0000.mpeg 
VLC media player 0.8.6d Janus
[00000302] main decoder error: no suitable decoder module for fourcc `FMP4'.
VLC probably does not support this sound or video format.

** (.:11933): CRITICAL **: clearlooks_style_draw_box: assertion `width >= -1' failed
[00000279] main playlist: nothing to play

~k3rn31

Offline

#6 2008-01-27 22:07:59

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Problem with video

FMP4 was encoded with FFmpeg. Try this from the command line:

ffplay <your_video>

If it works, you need to rebuild VLC.

Offline

#7 2008-01-27 22:32:37

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

No it's not playing sad

Blue screen.....


~k3rn31

Offline

#8 2008-01-27 23:15:41

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Problem with video

When you tried the ffplay option, what was the output from the command line?

Offline

#9 2008-01-27 23:40:31

loosec
Member
Registered: 2007-03-08
Posts: 134

Re: Problem with video

mplayer somefile.avi -vo x11
or
mplayer somefile.avi -vo gl

works for me, everything else gave me audio only and a clear blue video-output.
glhf

Offline

#10 2008-01-28 08:51:04

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

thx loosec. With these commands it played. How to play with Mplayer/VLC?

Logs from mplayer:

AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [FMP4]  940x544  24bpp  25.000 fps  508.4 kbps (62.1 kbyte/s)
Clip info:
 Software: Lavf51.10.0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 940 x 544 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.73:1 - prescaling to correct movie aspect.
[swscaler @ 0x8998810]SwScaler: using unscaled yuv420p -> rgb32 special converter
VO: [gl] 940x544 => 940x544 BGRA 
libGL warning: 3D driver claims to not support visual 0x57
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
New_Face failed. Maybe the font path is wrong. 1 ??% ??% ??,?% 0 0 
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   1.5 V:   1.4 A-V:  0.023 ct:  0.101  37/ 37 47% 202%  0.8% 9 0 

Exiting... (End of file)

with ffplay:

ffplay test-0000.mpeg
FFplay version UNKNOWN, Copyright (c) 2003-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  4 2007 21:40:55, gcc: 4.2.2

When I start Mplayer gui I get a font error ;(
Any help?

Thanks

Last edited by k3rn31 (2008-01-28 08:52:27)


~k3rn31

Offline

#11 2008-01-28 09:23:32

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

When I start Mplayer gui I get a font error ;(
Any help?

Thanks

you should have either this file /usr/share/mplayer/subfont.ttf (which is a symlink) or ~/.mplayer/subfont.ttf.
The file /usr/share/mplayer/subfont.ttf is included in the mplayer package IIRC.

Offline

#12 2008-01-28 09:47:57

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

thanks.
But I still open videos only with mplayer somefile.avi -vo x11
or
mplayer somefile.avi -vo gl

everything else blue/green screen with only sound sad(


~k3rn31

Offline

#13 2008-01-28 09:50:50

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

thanks.
But I still open videos only with mplayer somefile.avi -vo x11
or
mplayer somefile.avi -vo gl

everything else blue/green screen with only sound sad(

set the default video output. You can do this in the graphical interface (preferences -> video) or the configuration file by setting

vo_driver = "gl"

Offline

#14 2008-01-28 10:03:07

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

Thank you. With Mplayer fixed. How to fix the VLC or with other Player?
Is there a general setting (xorg.conf for example) for all?

Also why with the default (gl) driver the video quality is poor?

Thanks

Last edited by k3rn31 (2008-01-28 10:03:55)


~k3rn31

Offline

#15 2008-01-28 10:21:42

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

Thank you. With Mplayer fixed. How to fix the VLC or with other Player?
Is there a general setting (xorg.conf for example) for all?

for vlc add the following to ~/.vlc/vlcrc

vout=opengl

You are also able to configure it graphical if you enable the advanced configuration utilities.

k3rn31 wrote:

Also why with the default (gl) driver the video quality is poor?

Can you define poor ?

In mplayer you can also enable direct rendering and such, it may give better results (not sure as per my question).
You can use a different output driver if that gives you better results. In mplayer XV is know to give a slightly better quality and performance (but as I understand it does not work for you ?) As x11 is working for you, you can try that and see if that makes things better.

Offline

#16 2008-01-28 10:58:53

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

Thanks but I made the change to VLC and nothing happened sad

Is there a general setting to Arch to set a default setting?
I have many players sad

Last edited by k3rn31 (2008-01-28 11:02:24)


~k3rn31

Offline

#17 2008-01-28 11:10:06

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

Thanks but I made the change to VLC and nothing happened sad

Can you try it via the graphical interface:
settings ->preferences ->video -> output modules -> make sure you tick 'advanced options' ->you should now be able to switch the output driver (try a few)

if you cannot make it work, post the output when you start a video with vlc from the cli

k3rn31 wrote:

Is there a general setting to Arch to set a default setting?
I have many players sad

AFAIK each video player (backend) uses its own configuration to set the output driver.

Offline

#18 2008-01-28 11:33:06

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

vlc test-0000.mpeg 
VLC media player 0.8.6d Janus
[00000302] main decoder error: no suitable decoder module for fourcc `FMP4'.
VLC probably does not support this sound or video format.

** (.:8378): CRITICAL **: clearlooks_style_draw_box: assertion `width >= -1' failed
[00000279] main playlist: nothing to play

This is the output. I cannot open mpeg files...

Also MPlayer has disappeared from Gnome Applications Menu, but I can open it with right click on the files. How can I appear it again in the Apps Menu?

Thanks

Last edited by k3rn31 (2008-01-28 11:53:42)


~k3rn31

Offline

#19 2008-01-28 12:33:45

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:
vlc test-0000.mpeg 
VLC media player 0.8.6d Janus
[00000302] main decoder error: no suitable decoder module for fourcc `FMP4'.
VLC probably does not support this sound or video format.

** (.:8378): CRITICAL **: clearlooks_style_draw_box: assertion `width >= -1' failed
[00000279] main playlist: nothing to play

This is the output. I cannot open mpeg files...

yes there are some problems with current vlc/ffmpeg.
You can try this or wait for a new version in the repo.

k3rn31 wrote:

Also MPlayer has disappeared from Gnome Applications Menu, but I can open it with right click on the files. How can I appear it again in the Apps Menu?

Thanks

Did you do anything with your .desktop files ?
the gnome applications menu is created from the .desktop files in /usr/share/applications. The mplayer entry in particular is created by /usr/share/applications/mplayer.desktop
It can be overwritten by user specific configurations for example using alacarte (menu editor for gnome)

Offline

#20 2008-01-28 13:01:06

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

Thanks I will follow the guide.

I have 2 questions:

1) Which driver has better quality x11 or gl to use it with MPlayer? Which is best?
2) How to find mplayer.desktop (which has deleted) and to paste it in /usr/share/applications...

Thank you


~k3rn31

Offline

#21 2008-01-28 13:14:01

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

Thanks I will follow the guide.

I have 2 questions:

1) Which driver has better quality x11 or gl to use it with MPlayer? Which is best?

I'm not sure. I would say try both and see with which one your are most satisfied.

k3rn31 wrote:

2) How to find mplayer.desktop (which has deleted) and to paste it in /usr/share/applications...

Thank you

re-installing the mplayer package should put it back in place.

Offline

#22 2008-01-28 13:17:27

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

I made pacman -R mplayer and pacman -S mplayer but no icon appeared sad


~k3rn31

Offline

#23 2008-01-28 13:22:41

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

I made pacman -R mplayer and pacman -S mplayer but no icon appeared sad

try removing ~/.local/share/applications

Offline

#24 2008-01-28 13:24:46

k3rn31
Member
Registered: 2008-01-09
Posts: 145

Re: Problem with video

the whole directory?

It has:
audacious-usercustom.desktop  mimeinfo.cache

Last edited by k3rn31 (2008-01-28 13:25:25)


~k3rn31

Offline

#25 2008-01-28 13:30:35

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with video

k3rn31 wrote:

the whole directory?

It has:
audacious-usercustom.desktop  mimeinfo.cache

try renaming mimeinfo.cache to mimeinfo.cache.backup

if that does not work try the same with ~/.local (so you can put it back if it does not work)

if that also does not work try putting the mplayer.desktop file in ~/.local/share/applications

Offline

Board footer

Powered by FluxBB