HomeBanner

Multimedia

Multimedia

1. Why won't the AudioCD IO slave see my CD when I'm using scsi/scsi emulation ?
2. How can I convert my mpg files to be burned into CD-R ?
3. Why can't I play this Shockwave Flash file?
1.

Why won't the AudioCD IO slave see my CD when I'm using scsi/scsi emulation ?

Anders Johansson

The AudioCD IO slave uses the /dev/sg files to communicate with your SCSI cd reader. Your user needs to have read and write access to the sg device mapped to your cd. You can accomplish this by putting the user who should be allowed to use the cd in the group "disk" (see documentation for how to do this).

2.

How can I convert my mpg files to be burned into CD-R ?

Lew Wolfgang

Just us it like this:

mpg123 -s something.mpg >something.cdr  
    

The file format is not .wav, but in the format that may be burned directly by cdrecord if you do this:

cdrecord -v speed=S dev=X,Y,Z -swab -pad -audio *.cdr
    

Note

assumes X86 architecture. Don't use -swab on SPARC

Substitute the speed for your burner/cdrs and your own X,Y,Z config obtained by runnign cdrecord -scanbus. This will burn all the .cdr files in the directory that you're sitting in.

Keith Winston

This is the script I use, just put the mp3 files in the ~/burn/data directory.

#!/bin/bash

# This is a CD-R script for burning mp3 files directly to CD.
# The mpg123 program converts mp3s to cdr format, and cdrecord burns
# the tracks on the CD.
#

for I in /home/foo/burn/data/*.mp3
do
    mpg123  --cdr - "$I" | cdrecord dev=0,0,0 -audio -pad -v -speed=2
-nofix -
done
cdrecord dev=0,0,0 -fix

####
      
3.

Why can't I play this Shockwave Flash file?

There is some confusion over Macromedia players and Linux. There are two media players that Macromedia makes and to quote Macromedia : http://www.macromedia.com/support/shockwave/ts/documents/playerfaq.htm#4

The difference between the Macromedia Flash and Shockwave Players

  • Flash and Shockwave Players are both free web Players from Macromedia.

    Together, they bring you the best rich media content on the Internet. Each has a distinct purpose. Flash Player delivers fast loading front-end web applications, high-impact web site user interaction, interactive online advertising, and short to medium form animation.

  • Shockwave Player displays destination web content such as interactive multimedia product demos and training, e-merchandising applications, and rich-media multi-user games. Through Xtras, Shockwave Player is also extendable to playback custom-built applications.

The Shockwave player is not available for Linux. Most of the annoying ads are in Flash and should be playable from Linux. You can get the latest player at http://www.macromedia.com/downloads/

Macromedia has confused the issue by not giving Shockwave and Flash unique file extension. It refers to swf files as Shockwave Flash files. So it is not known at a glance which player is needed to play the file.

If you need the Shockwave player then you will have to purchase CodeWeaver's Crossover Office product (assuming you have an Intel CPU) it is available at: http://www.codeweavers.com/

Crossover Office will also allow Intel based boxes to play Apple Qucktime and Microsoft Office viewers in your web browser so it might be worth buying to meet those needs.


Updated: Fri, 30 Jul 2004
Valid CSS!Valid HTML 4.01!