Author |
Message |
keniv
Joined: 06 Oct 2009 Posts: 490 Location: Scotland
|
Posted: Thu 27 Dec 2012, 11:50 Post subject:
|
|
Hi postfs1
I've had a look at the link you were good enough to provided and found this.
"2.3.1.2.1.2 S3 cards
S3 Savage3D's should work fine, but for Savage4, use XFree86 version 4.0.3 or greater (in case of image problems, try 16bpp). As for S3 Virge.. there is xv support, but the card itself is very slow, so you better sell it."
The trouble is I don't know if my card is "3D" and don't know how to try 16bpp. Is this something that can be set up by editing an mplayer file?
Thanks for your help.
Ken.
|
Back to top
|
|
 |
keniv
Joined: 06 Oct 2009 Posts: 490 Location: Scotland
|
Posted: Thu 27 Dec 2012, 12:09 Post subject:
|
|
Hi charlie6
Have just tried converting from .mp4 to .avi. However, I find the video is a bit pixelated and is still out of sync with the sound. Oh well it was worth a try.
Thanks,
Ken.
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Fri 28 Dec 2012, 01:43 Post subject:
|
|
Hi keniv,
keniv wrote: | Have just tried converting from .mp4 to .avi. However, I find the video is a bit pixelated and is still out of sync |
you are right !
it only worked for one file ...not on further downloaded ones ...
thanks
charlie
|
Back to top
|
|
 |
scabz

Joined: 30 Apr 2009 Posts: 366 Location: Tallahassee FL US
|
Posted: Fri 28 Dec 2012, 02:36 Post subject:
|
|
all the .mp4 or .m4v , .flv or .avi are just container files the the encoding inside can all be the same, so the type of file doesnt really matter much.
|
Back to top
|
|
 |
keniv
Joined: 06 Oct 2009 Posts: 490 Location: Scotland
|
Posted: Fri 28 Dec 2012, 11:41 Post subject:
|
|
Hi All
The previous post is perhaps an explanation of another thing that made me wonder about these .mp4 files produced by the iPhone4 as I have earlier mp4 files which work OK on mplayer. I should have said that I also tried 666philb's idea in the first post but It did not seem to make any difference.
Regards,
Ken.
|
Back to top
|
|
 |
postfs1
Joined: 27 Mar 2010 Posts: 820
|
Posted: Fri 28 Dec 2012, 14:55 Post subject:
|
|
keniv wrote: | ...
The trouble is I don't know if my card is "3D" and don't know how to try 16bpp. Is this something that can be set up by editing an mplayer file?
... |
Operating System:
QUIRKY LINUX 1.40
Video Card:
S3 Virge
Variant of booting:
from CD-ROM
Options of booting:
puppy pfix=nox,ram
Command for receiving the information about video card:
lspci|grep VGA
Command for preparing the launch of X Window System:
xorgwizard
Steps in XORGWIZARD:
[ Xorg ] ---> [ Probe ] ---> [ 1024x768x16 ] ---> [ OK ]
If X Window System has been activated:
Steps in JWM:
[ Menu ] ---> [ Multimedia ] ---> [ MPlayer media player ]
If MPlayer has been activated:
Steps in MPlayer:
(when mouse's arrow is above the player's box, then one click by right button will give the menu)
[ Menu ] ---> [ Preferences ] --->
Audio = alsa
Video = x11 / xshm
I tested one publicly accessible .MP4 file and MPLayer was good at this experiment.
Quote: |
Information(about video file), which was taken from SMPlayer box:
Video:
Resolution=640 x 480
Aspect ratio=1.33333
Format=H264
Bitrate=512 kbps
Frames per second=29.970
Audio:
Format=MP4A
Bitrate=149 kbps
Rate=44100 Hz
Channels=2
|
|
Back to top
|
|
 |
keniv
Joined: 06 Oct 2009 Posts: 490 Location: Scotland
|
Posted: Sat 29 Dec 2012, 09:18 Post subject:
|
|
Hi postfs1
I made the changes you suggested i.e.
Audio from default to alsa.
Video from xv to x11.
Unfortunately video and audio still out of sync. However, I think if I click on an mp4 file I am using gmplayer rather than mplayer which I am using when running from a terminal. I'm not sure how much difference using the gui makes but I guess it slows things down a bit.
Thanks,
Ken.
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Sat 29 Dec 2012, 15:19 Post subject:
|
|
Hi,
here running under Xorg X11 without extra video/audio card (just the intel on board devices);
the following mplayers command line code runs a/c sync nice on .avi files(*):
Quote: | #!/bin/sh
exec mplayer -vo x11 -framedrop -autosync 30 -nocache "$@" |
(*)files converted from .mp4 to .avi using ffmpeg converter.
notes:
- the above code does not solve the a/v sync on .mp4 files.
- i believe the -framedrop option to be unnecessary.
best regards, charlie
|
Back to top
|
|
 |
postfs1
Joined: 27 Mar 2010 Posts: 820
|
Posted: Sat 29 Dec 2012, 17:07 Post subject:
|
|
http://tattatthrow.blogspot.ru/2009/09/play-h264-on-slow-computer-mplayer.html
---Internet page as source--->
Operating System:
QUIRKY LINUX 1.40
Video Card:
S3 Virge
Variant of booting:
from CD-ROM
If SDL available:
Code: |
mplayer -quiet -vo sdl -ao sdl:alsa -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all /folder/Video.mp4
|
http://web.njit.edu/all_topics/Prog_Lang_Docs/html/mplayer/video.html#sdl
If XV available:
Code: |
mplayer -quiet -vo xv -ao alsa -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all /folder/Video.mp4
|
If XV is not available:
Quote: |
Code: |
mplayer -quiet -vo x11 -ao alsa -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all /folder/Video.mp4
|
************************************************
**** Your system is too SLOW to play this! ****
************************************************
Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
- Try -ao sdl or use the OSS emulation of ALSA.
- Experiment with different values for -autosync, 30 is a good start.
- Slow video output
- Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
- Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
- Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
- Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
- Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
Exiting... (End of file)
|
Code: |
mplayer -quiet -vo x11 -ao alsa -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all -cache 8192 /folder/Video.mp4
|
 
If MAN PAGE for MPLAYER is available:
man mplayer|grep --before-context=68 --after-context=50 lowres
man mplayer|grep --before-context=2 --after-context=1 vfm
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Sun 30 Dec 2012, 06:17 Post subject:
|
|
Hi,
@postfs1 ==> thanks for your posts !
i also get this working playing a mp4 file with good audio/video sync:
Quote: | #!/bin/sh
exec mplayer -quiet -vo x11 -ao alsa -vf crop=1024:500:100:140,scale=640:352,harddup "$@" |
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Mon 31 Dec 2012, 08:48 Post subject:
|
|
Hi postfs1,
your previous post...
Code: | mplayer -quiet -vo x11 -ao alsa -vfm ffmpeg -lavdopts lowres=0:fast:skiploopfilter=all -cache 8192 /folder/Video.mp4 |
Running that code again returned a audio/video out of sync of about 1sec (video too slow), together with a full screen display. As the dispay is full scren, I believe the video cpu needs to be too high.
Running here a PC with lean video/audio resources, without extra sound/video card, I tried to reduce the display size in order to reduce the video CPU needs.
I then found the code given in my above post: the display is not full size nor complete screen, but enough for the current needs).
Cheers,
Charlie
|
Back to top
|
|
 |
strzygaa
Joined: 26 Mar 2014 Posts: 1
|
Posted: Sat 29 Mar 2014, 22:15 Post subject:
|
|
thanks, it's helped me alot!!
|
Back to top
|
|
 |
|