LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 01-15-2010, 11:44 AM   #1
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Rep: Reputation: 40
video card and video file conversation


hello,
i bought PNY VCG8600GXXB (GeForce 860 GX) )video card to speed up the video conversion on my CENTOS 5.4 running on sempron processor.


What software can i use to do video conversion of different video formats?


thank you.
Andrew
 
Old 01-16-2010, 05:43 AM   #2
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Rep: Reputation: 25
Quote:
Originally Posted by DBabo View Post
hello,
i bought PNY VCG8600GXXB (GeForce 860 GX) )video card to speed up the video conversion on my CENTOS 5.4 running on sempron processor.


What software can i use to do video conversion of different video formats?


thank you.
Andrew

Unless i am mistaking, the video card has nothing to do with video conversion, that process depends on the CPU (processor) not the GPU (videocard).
The videocard will make a difference with watching video but not converting them.
Faster cpu, more rams, these thing will help.

Last edited by Davno; 01-16-2010 at 05:49 AM.
 
Old 01-16-2010, 07:18 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Quote:
Originally Posted by Davno View Post
Unless i am mistaking, the video card has nothing to do with video conversion, that process depends on the CPU (processor) not the GPU (videocard).
The videocard will make a difference with watching video but not converting them.
Faster cpu, more rams, these thing will help.
Exactly, no video card I know of can help with video conversion (although it's not a bad idea). Using vdpau, however, it will take lots of strain off the CPU when WATCHING a video using mplayer.
 
Old 01-16-2010, 07:25 AM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
The video card only processes stuff that is drawn on the screen, so it has nothing to do with converting video formats.

When you convert video formats, the CPU decompresses the original format, and then compresses it with the new format.
So that's like thinking that a better video card will make gzip run faster.
 
Old 01-16-2010, 04:15 PM   #5
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
well, after reading a bit around, now i understand now that i had a misconception of the current state of affairs.
It appears that CPU (to my amusement) is the main source of power for the video related calculations.
Why am i amused? Well, it's easy to see that the GPU is specialized HW designated and optimized just for that specific task - work with video. Plus the performance of the GPUs far exceed the perf of CPUs (in the floating point operations). And there is no doubt that this trend is going to continue.
It appears logical to design the (conversion) program that would first try to use specialized HW (API) for the task and, only in the absence of latter, use common API calls for the task.
Otherwise the purchase of the card seemed to be a nearly total waste of money to me .. (i don't play games).

Another reason why i was so mistaken is a successful existence of several application for example - folding @home (http://folding.stanford.edu/English/FAQ-highperformance) :
Quote:
....However, after much work, we have been able to write a highly optimized molecular dynamics code for GPU's, achieving a 20x to 40x speed increase over comparable CPU code for certain types of calculations in FAH. This means that we will be able to make an enormous advance over what we could do only just a few years ago.
an interesting project : http://xbmc.org/wiki/?title=GSoC_-_G...Video_Decoding
http://xbmc.org/wiki/?title=Hardware...Video_Decoding
Quote:
.... Project Title

GPU Hardware Accelerated Video Decoding of MPEG-4 encoded video
Benefits

1. This project will improve the end-user experience tremendously. XBMC is a prime choice for many users who have an HTPC. These Machines traditionally don't have excessive amounts of processing power. Any computations that could be offloaded to unused hardware would be ideal.
2. Exploring new territory: Much talk has been given to the use of GPUs for general purpose computation. An actual implementation of a video decoder in a non-GPU specific manner would be quite the achievement!

Last edited by DBabo; 01-16-2010 at 04:18 PM.
 
Old 01-17-2010, 12:57 AM   #6
almatic
Member
 
Registered: Mar 2007
Distribution: Debian
Posts: 547

Rep: Reputation: 67
Maybe you had CUDA in mind ?
Well, it's there for linux and it should be possible to rewrite ffmpeg accordingly. So, if you have the time, knowledge and so on ...
 
Old 01-17-2010, 01:14 AM   #7
Davno
Member
 
Registered: Mar 2004
Location: Montreal, Canada
Distribution: Linux MX 23 KDE "Libretto"
Posts: 213

Rep: Reputation: 25
Code:
Otherwise the purchase of the card seemed to be a nearly total waste of money to me .. (i don't play games).
Not really, because even if you don't play games, your card (a basic entry card in today's standard) will be put at use with today's desktop eye candy, like Compiz.
But you would make a point if you had bought the latest $499.00 Radeon HD 5870, total waste of money on a linux box.

Last edited by Davno; 01-17-2010 at 01:19 AM.
 
Old 01-17-2010, 07:29 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by DBabo View Post
Well, it's easy to see that the GPU is specialized HW designated and optimized just for that specific task - work with video.
No, it's designed to render instructions sent to it as 3D or 2D images. (i.e. Draw Rectangle at point x, y; with the dimensions w, h, of color c)

Video formats don't really have anything to do with this, just think of them like gzip or bzip2, just optimized for video data.

Same goes for audio formats.

So when converting video formats, the computer is actually unaware that the data is video -- it's just a string of bytes. Conversion just implements the decompression algorithm of the original format, and then the compression algorithm of the new format.

Last edited by MTK358; 01-17-2010 at 07:33 AM.
 
Old 01-17-2010, 08:07 AM   #9
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Well, you could say that GPUs are specific processors, they are specifically designed to process graphics (why they are called GPUs), while CPUs are general processors, they are quite versatile and can process a large number of different things. However, compared to GPUs, ONLY IN THE FIELD OF GRAPHICS PROCESSING, CPUs are less efficient, and it makes sense why, because they are not specifically designed to process graphics, their main strength instead lies in their versatility.

Now, I know that nvidia has made cheap supercomputers using their cards recently and supposedly this shows how GPUs are better than CPUs ... and of course this is BS propaganda done by nvidia so that you can buy their products. The reason why they can do this is because graphics cards, due to their small size and type of interface, can easily be attached to a special motherboard and thus can be made into a supercomputer (not really, because it isn't like a regular computer and cannot be readily used as such, it is designed for a specific purpose). CPUs are somewhat harder to do this with because of the interface with the mobo (larger and harder to scale up), so you would need a different kind of setup and will end up with a much larger supercomputer (albeit a real supercomputer, and much more versatile).

So, in conclusion, if you want faster video conversion get a powerful new CPU instead. If you get multi-core make sure to use a program that can make use of this (mencoder can, ffmpeg cannot really do this efficiently, not from my tests).

Last edited by H_TeXMeX_H; 01-17-2010 at 08:11 AM.
 
Old 01-18-2010, 09:39 AM   #10
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by Davno View Post
Code:
Otherwise the purchase of the card seemed to be a nearly total waste of money to me .. (i don't play games).
Not really, because even if you don't play games, your card (a basic entry card in today's standard) will be put at use with today's desktop eye candy, like Compiz.
But you would make a point if you had bought the latest $499.00 Radeon HD 5870, total waste of money on a linux box.
yeap, that's why i said "nearly". It's $15 so i might just leave it.
 
Old 01-25-2010, 01:52 PM   #11
no2498
Member
 
Registered: Jan 2010
Posts: 120

Rep: Reputation: 23
get program ( lives ) and tragtor )
they both crash a few times
lives takes longer than tragtor
after you find what tragator will load it flys
 
0 members found this post helpful.
Old 02-01-2010, 02:08 PM   #12
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
regardless of cpu/ gpu i would suggest
xvidenc/ h264enc
both depend on mencoder
 
Old 07-18-2010, 08:35 PM   #13
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by no2498 View Post
get program ( lives ) and tragtor )
they both crash a few times
lives takes longer than tragtor
after you find what tragator will load it flys
no idea what either of the 2 programs you mantioned are and where can i locate them.. Maybe you meant "traKtor"?
 
Old 07-18-2010, 08:38 PM   #14
DBabo
Member
 
Registered: Feb 2003
Distribution: Fedora {latest}
Posts: 568

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by MTK358 View Post
No, it's designed to render instructions sent to it as 3D or 2D images. (i.e. Draw Rectangle at point x, y; with the dimensions w, h, of color c)

Video formats don't really have anything to do with this, just think of them like gzip or bzip2, just optimized for video data.

Same goes for audio formats.

So when converting video formats, the computer is actually unaware that the data is video -- it's just a string of bytes. Conversion just implements the decompression algorithm of the original format, and then the compression algorithm of the new format.
MTK,
i see your point. Well, it's a valid one . I just wish that in 21 century there were an altrernative to CPU.

Thank you all - it was educational for me.
 
Old 07-19-2010, 01:27 AM   #15
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,226

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
Originally Posted by DBabo View Post
What software can i use to do video conversion of different video formats?
ffmpeg, mencoder and transcode.
 
  


Reply



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
Cannot have a video conversation on my netbook peterdarlison Linux - Laptop and Netbook 1 07-07-2009 05:27 AM
Capturing video with one video card works but it get failed with another sanjeevsk Linux - Software 0 08-06-2007 04:28 AM
Capture composite video through Video-S of my DVB-T card FSiegl Linux - Software 0 05-24-2007 08:07 AM
KDE wont (Winxp/Suse )after I had go back to on board video due video card went bad rycedap General 1 02-16-2007 02:56 AM
Dual Head Video Card and onboard Video basketkase999 Linux - Hardware 1 08-23-2005 01:54 PM

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

All times are GMT -5. The time now is 08:12 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