PDA

View Full Version : How-to install codecs for xine and mplayer video players



kidsatacrux
02-22-2008, 03:30 AM
I have Knoppix 5.2 and was hoping to play some *.FLV (flash video files) I've downloaded and pulled from youtube & other sources.

The versions of MPLAYER & XINE will play the video but won't play the audio on these files. It was the same with knoppix 5.1.1 I was hoping the 5.2 version I just torrented (completely unannounced on http://www.distrowatch.com defaulted in the German keyboard style

(it took me awhile to discover that "(" key for the U.S. keyboard is '=' key when its rigged for Germans.) knoppix lang=us

would have the codecs pre-installed.

BUT SINCE they DON'T run the audio on these videos. Lucky for me found an interesting video:

How-to install codecs for xine and mplayer video players

http://youtube.com/watch?v=FOeBcWQDOKk&feature=related

It's all about people who have an ubuntu installation. But that's not what I want to do. I want to install the codecs for my knoppix persistent image file.


It reads;

1. goto http://www.mplayerhq.hu and go to download link

http://www.mplayerhq.hu/design7/dload.html

MPlayer v1.0rc2 source ?


2. save essential-LATESTVERSION.tar.bz2

download save essential-20071007.tar.bz2

(Linux x86 20071007 is my system by an educated guess)

3 Install bzip2

actually it seems I can extract with the Ark program. I don't get the point of the video where it shows him downloading the torrent file. He should show himself downloading and extracting
the bzip2 file with ark or something.

http://www.bzip.org/downloads.html

So now I have a folder I named "Winter"

/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/

I'm going to open a shell for

/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/

With the KDE GUI desktop. Rightclick on the folder Actions--->Open Terminal here Shelling it and typing "ls"
reveals these files

knoppix@Knoppix:/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter$ ls

bzip2-1.0.4 essential-20071007.tar.bz2
bzip2-1.0.4.tar.gz

and so I'm ready to install bzip2

knoppix@Knoppix:/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/$ apt-cache show bzip2

And get similiar information text on my shell:

by typing

knoppix@Knoppix:/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/$sudo aptitude install bzip2

Reading package lists... Done
Building dependency tree... Done
Initializing package states... Done
Building tag database... Done
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done

NOW I'm cooking with gas;

All that was easy


4. untar to /usr/local/lib/codecs



knoppix@Knoppix:/UNIONFS/usr/local/lib$ sudo mkdir codecs
knoppix@Knoppix:/UNIONFS/usr/local/lib$ ls
GNUstep codecs knoppix.jpg python2.1 python2.4 xemacs
R eclipse ocaml python2.3 site_ruby yorick


Anyways the video shows how to extract essential-20071007.tar.bz2 with a keyboard interface but I've already done this with the program ark as a graphical interface user:

knoppix@Knoppix:/media/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter$ ls
bzip2-1.0.4 bzip2-1.0.4.tar.gz [b]essential-20071007 essential-20071007.tar.bz2 essential-20071007.tar.bz2.torrent

Moving right along with the video instructions

knoppix@Knoppix:/media/hdd1/home/kubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/es
sential-20071007$ls
AvidQTAVUICodec.qtx clrviddd.dll msscds32.ax vssh264.dll
BeHereiVideo.qtx cook.so nsrt2432.acm vssh264core.dll
CLRVIDDC.DLL drvc.so qpeg32.dll vssh264dec.dll
CtWbJpg.DLL dspr.so.6.0 qtmlClient.dll vsshdsd.dll
DECVW_32.DLL iac25_32.ax rt32dcmp.dll vsslight.dll
LCMW2.dll icmw_32.dll sipr.so.6.0 vsswlt.dll
LCODCCMW2E.dll ir41_32.dll tokf.so.6.0 wma9dmod.dll
QuickTime.qts ir50_32.dll tokr.so.6.0 wmadmod.dll
QuickTimeEssentials.qtx ivvideo.dll tvqdec.dll wmsdmod.dll
QuickTimeInternetExtras.qtx jp2avi.dll vdowave.drv wmspdmod.dll
README lhacm.acm vid_3ivX.xa wmv9dmod.dll
VDODEC32.dll lsvxdec.dll vivog723.acm wmvadvd.dll
ViVD2.dll m3jp2k32.dll voxmsdec.ax wmvdmod.dll
acelpdec.ax mi-sc4.acm vp4vfw.dll wnvwinx.dll
alf2cd.acm msh261.drv vp6vfw.dll wvc1dmod.dll
aslcodec_dshow.dll msms001.vwp vp7vfw.dll xanlib.dll


How do I add files to these folders knoppix@Knoppix:/UNIONFS/usr/local/lib/codecs$? Is it even possible? Do I need to do this/

/hdd1/home/ubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/essential-20071007$ sudo mv *.* /usr/local/lib/codecs
knoppix@Knoppix:/media/hdd1/home/kubuntu1/Desktop/MYDOKUMENTS/SOFTWARE/Winter/essential-20071007$

Let's see if the frickin audio works.

IT DOESN'T.

kidsatacrux
02-24-2008, 12:50 AM
Let's see if the frickin audio works FOR *.FLV F flash viewer files?

IT DOESN'T.

Even when I add these files

http://news.softpedia.com/news/How-to-Install-Multimedia-Codecs-in-Linux-39555.shtml


but I did find this site

http://www.flashcomguru.com/index.cfm/2007/5/30/nellynomore

kidsatacrux
03-06-2008, 10:11 PM
http://www.howtodothings.com/user/schumacher


How To Convert YouTube, Google Video or other FLV Videos to AVI, MOV, 3GP, MP4 or MP3
Convert Directly from a Website to Your PC or Portable Player Without Installing Software
Matheus Hobold Sovernigo's picture
By Matheus Hobold Sovernigo
EMAIL ARTICLE
PRINT ARTICLE
Difficulty: Very Easy
Cost: Free

There are many ways to convert FLV files such as YouTube videos. The easiest one is to follow the steps below.

1. Copy the URL of the site that contains the video you want to convert. This means that you have to go to YouTube, Google Video or another site that links to .flv videos and copy the link showed in the address bar.
2. Open the site that converts FLV videos. Go to the website of the Free Online Video Converter: http://www.flvix.com/.
3. Paste in the URL of the site you copied in step one. In the middle of the online converter site there is a gray box preceded by the word URL. In that box you'll paste the link you copied earlier.
4. Choose the desired format for conversion. Just below that gray box there is a white box preceded by "Desired format". There you choose .avi for Windows, .mov for Mac, .3gp for cell phones, .mp4 for portable video player, or .mp3 for portable audio players. Of course there is more than one option possible for each system, you just need to have the player for the format you want.
5. Click on the "Convert" button and wait. Simply click on the button in the gray box below and wait for the website to convert your video. This should take from seconds to minutes, depending on the video size.
6. Download the converted video to your PC or portable device. When it gets done, a new button will appear on the site. Click on "Download the converted video" and the browser will ask you to save the file. If you want to convert more videos, just click on the gray box "Back" and you'll be redirected to the homepage.

Now you can watch the videos whenever and wherever you want.

lone wolf
03-28-2008, 01:35 PM
A very simple fix is change the extension to .avi. VLC will play it just fine with full audio. I have quite a few clips from google and youtube and this method just works. No conversions.