LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (http://www.linuxquestions.org/questions/general-10/)
-   -   Video playback and RAM (http://www.linuxquestions.org/questions/general-10/video-playback-and-ram-4175455477/)

jamesblue 03-25-2013 04:59 AM

Video playback and RAM
 
Does RAM have any impact on playing video?

On a computer with a poor CPU, can anything be done with the system's RAM to compensate?

Or can anything be done, at all, to make video play more smoothly?

whizje 03-25-2013 05:02 AM

You could get a video card with hardware support for video.

jamesblue 03-25-2013 05:53 AM

Quote:

Originally Posted by whizje (Post 4918223)
You could get a video card with hardware support for video.

I forgot to mention that the machine is infact a notebook computer, and doesnt appear to have any expansion slots that would take a video card.

H_TeXMeX_H 03-25-2013 05:54 AM

As whizje suggests, the biggest impact on video playing ability is the GPU ... and often the most expensive. Next would be the CPU, and finally the RAM. However, unless you can see that you are running out of RAM, it will not have a major effect on your video playing ability.

whizje 03-25-2013 08:04 AM

If you have 2 memory slots and only one is occupied performance might improve if you place a identical sized memory module in the second slot. if the processor and main board support interleaving. Some applications benefit a lot others minimal. You could search if your laptop supports memory interleaving.

snowpine 03-25-2013 08:12 AM

What's your CPU? RAM? GPU? Operating system? Format of the video?

The more details you give us, the better answer we can give you. :)

jamesblue 03-25-2013 05:07 PM

Its an Asus Eeepc 901 (http://www.eee-901.co.uk/eee901-specs.htm)

Its fairly basic, it has a 1.6GHz atom, 1GB DDR2 Ram, integrated Intel GMA 950 graphics. I'll be installing Slackware on there (I havent got it with me at the moment).

As for which types of video it doesnt play, pretty much any of the most recent encodes :) I was just wondering if I could squeeze a little bit more out of it.

Emerson 03-25-2013 05:36 PM

Intel has VA API. http://en.wikipedia.org/wiki/Video_Acceleration_API

snowpine 03-25-2013 05:38 PM

I have an Asus EEE 900ha, similar hardware specs. In my experience, it can play up to 480p from the local hard drive reasonably well (some minor tearing). Forget about 720p or streaming flash. YMMV.

(edit) I should add that I often use a 1600x900 external monitor for video-watching.

jefro 03-25-2013 08:47 PM

The main issue with the Atom class is how video really works. On some of those you can by a hardware decoder if it has a pci-e slot but that would be it. Intel was in a spat with video supplier and they borked the Atom so that it can't do much. It is the way the video connects to the processor. It can't handle decoding video in gpu. It has to use cpu and cpu has to wait for gpu to do it's tasks. Just a bad design because of licensing.

Intel may have fixed the latest chip but they don't seem to want to market it to home users. They want some big set top box company to use it. Won't happen at their prices.

teckk 03-27-2013 08:29 PM

Quote:

Or can anything be done, at all, to make video play more smoothly?
If your media player allows, you can play the video with frame dropping or low resolution.

Examples:
For mpeg 2 and 4
Code:

mplayer -lavdopts lowres=1 -vfm ffmpeg video.mp4
For H264
Code:

mplayer -lavdopts skiploopfilter=all video.mp4
For .flv files
Code:

mplayer ffmpeg://video.flv
Also look at -framedrop, -hardframedrop

H_TeXMeX_H 03-28-2013 03:39 AM

Try this for x264 and other codecs that support threading:

Code:

mplayer -vo xv -af volnorm=1 -subfont-autoscale 1 -lavdopts threads=2 -idx video.mkv


All times are GMT -5. The time now is 05:32 AM.