MPG Video Format
Hi,
I downloaded a video clip of 270 MB in mpg format. I would like to burn it onto a CD, however, I get the error message with k3b:
"unable to handle the file due to unsupported format"
The program graveman tries to write and stops just saying: failed.
Changing the file.mpg to file.mpeg made no difference.
The video clip plays nicely with Totem.
Is there a way to burn it onto a CD?
Thanks & regards
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 9 lines · On Tue, 15 Nov 2005 10:52:14 +0800 Peter <[email protected]> wrote:
Hi,
I downloaded a video clip of 270 MB in mpg format. I would like to burn it onto a CD, however, I get the error message with k3b:
"unable to handle the file due to unsupported format"
The program graveman tries to write and stops just saying: failed.
Quoted 8 lines
Changing the file.mpg to file.mpeg made no difference.
The video clip plays nicely with Totem.
Is there a way to burn it onto a CD?
Thanks & regards
Sorry missed to add this output:
.
.
.
......
k3b: (K3bMad::findNextHeader) error: forbidden bitrate value
k3b: (K3bMad::findNextHeader) error: forbidden bitrate value
k3b: (K3bMad::findNextHeader) error: forbidden bitrate value
k3b: (K3bMad::findNextHeader) error: forbidden bitrate value
k3b: (K3bMad::findNextHeader) error: reserved sample frequency value
k3b: (K3bMad) found first header at 6997
k3b: (K3bMad::findNextHeader) error: forbidden bitrate value
k3b: (K3bMadDecoder) unsupported format: /mnt/kpx/file.mpg
k3b: (K3bMad) cleanup at offset: Input file at: 47957 Input file size:
283553564 stream pos: 9313
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 9 lines · Peter
Hi,
I downloaded a video clip of 270 MB in mpg format. I would like to burn it onto a CD, however, I get the error message with k3b:
"unable to handle the file due to unsupported format"
The program graveman tries to write and stops just saying: failed.
Quoted 8 lines
Changing the file.mpg to file.mpeg made no difference.
The video clip plays nicely with Totem.
Is there a way to burn it onto a CD?
Thanks & regards
Hi, Peter:
I don't know k3b. I know mkisofs and cdrecord.
If
Size of folder that contains file.mpg <= size of CD-R media. You have a scsi cdrom or scsi emulation.
Your CD-ROM/RW drive is device 0,0
mkisofs -o file.iso /path/to/directory/file.mpg cdrecord -R dev=0,0 file.iso
-or-
mkisofs -R /path/to/file.mpg
#!/bin/bash
#
# /usr/local/bin/burncd.sh #
eject
cat /usr/local/bin/burncd.sh
echo ""
echo " First argument is <$1>."
echo "Second argument is <$2>."
echo ""
if [ -n $1 ] ; then
if [ -n $2 ] ; then
time cdrecord -v dev=0,0,0 fs=64M speed=$2 driveropts=burnproof
gracetime=2 $1
else
echo "Second argument is burn speed [1 - 52] and must not be null."
fi
else
echo ""
echo "First argument is filename.ext and must not be null." echo ""
fi
eject
mount /mnt/cdrom
ls -l /mnt/cdrom
umount /mnt/cdrom
echo $1
badblocks -vc 256 /dev/cdrom
eject
HTH, Chuck
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Thanks Chuck et all!
OK, I made mkisofs -o file.iso /path/to/directory/file.mpg and got an iso file. Then I used graveman to write the file to the CD. Well it succeeded to write the iso file to the CD, however, that is not what I need.
I would like to copy the file.mpg to the CD in order that it can be played from that or copied back to a HD and played from there. The reason is, I want to give it to friends which have no broadband connection and cannot consequently download such a large file.
Then I did cdrecord -v dev=ATAPI:0,1,0 fs=64M speed=2 driveropts=burnproof gracetime=2 file.mpg and all proceeded nicely apparently, however, now I cannot read or mount the CD anymore:
dmesg tells: Unable to identify CD-ROM format.
The dev=ATAPI:0,1,0 I got from the program xcdroast.
My CDRom drive is [ATAPI:0,1,0] ASUS CRW-5232AS
What will be the next step?
Just did it using xcdroast in Write Mode: RAW writing (raw96r) gave me what I wanted, a playable CD with file.mpg from that file.iso
Regards
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 19 lines · Peter
Thanks Chuck et all!
OK, I made mkisofs -o file.iso /path/to/directory/file.mpg and got an iso file. Then I used graveman to write the file to the CD. Well it succeeded to write the iso file to the CD, however, that is not what I need.
I would like to copy the file.mpg to the CD in order that it can be played from that or copied back to a HD and played from there. The reason is, I want to give it to friends which have no broadband connection and cannot consequently download such a large file.
Then I did cdrecord -v dev=ATAPI:0,1,0 fs=64M speed=2 driveropts=burnproof gracetime=2 file.mpg and all proceeded nicely apparently, however, now I cannot read or mount the CD anymore:
dmesg tells: Unable to identify CD-ROM format.
The dev=ATAPI:0,1,0 I got from the program xcdroast.
Quoted 10 lines
My CDRom drive is [ATAPI:0,1,0] ASUS CRW-5232AS
What will be the next step?
Just did it using xcdroast in Write Mode: RAW writing (raw96r) gave me what I wanted, a playable CD with file.mpg from that file.iso
Regards
Well, the way you invoked cdrecord, it probably undertood file.mpg was an iso image! As others have already explained to you, if you do want a VCD/Video CD, you need to use other tools. Which , I have no clue at the moment (someone talked about vcdimager and vcdtools), but google is your friend.
Good luck!
Paulo
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 9 lines · Peter
Hi,
I downloaded a video clip of 270 MB in mpg format. I would like to burn it onto a CD, however, I get the error message with k3b:
"unable to handle the file due to unsupported format"
The program graveman tries to write and stops just saying: failed.
Quoted 8 lines
Changing the file.mpg to file.mpeg made no difference.
The video clip plays nicely with Totem.
Is there a way to burn it onto a CD?
Thanks & regards
It depends on what sort of CD you want.
If you want to put it on a data CD (an iso9660 filesystem, that is), then one way is to follow this two-step process:
1. mkisofs -J -o somename.iso -r file.mpg
2. cdrecord cdrecord dev=[something] somename.iso
Where [something] is an entry like "0,0,0", with the exact value depending where on the SCSI bus (or the ide-scsi simulation of a SCSI bus) the CD writer is (find our with "cdrecord --scanbus"). Depending on your drive and media, you may have to set other parameters too, like speed=[value].
If your CD burner isn't SCSI or using ide-scsi simulation ... I've read that newer versions of cdrecord support burning to /dev/hd* devices, but I've never managed to get it to work here so still use ide-scsi myself.
If you want to make a video CD that a DVD player can play back ... those are usually called VCDs or VideoCDs. They use a distinct filesystem, not iso9660, and require some fiddling with the video itself. I've never made one myself, but there is Linux software that's supposed to do it. Look into the packages vcdimager and vcdtools. (As you should be sued to with me, these are Debian package names, so you may find the Slack packages or the underlying developer packages have slightly different names.) mencoder may also be of help with the transcoding part.
If you are trying to do something other than one or the other of these things ... then you'll have to be more specific in your question. I'm not familiar with k3b (or Totem) ... other than seeing that both are available as Debian packages, and seeing in the description of k3b that (a) it is a front-end to cdrecord and cdrdao and (b) it supports both iso9660 and VCD burns (among other things, including "eMovix CDs", a format I am unacquainted with).
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
<snip>
Quoted 4 lines
It depends on what sort of CD you want.
If you want to put it on a data CD (an iso9660 filesystem, that is), then one way is to follow this two-step process:
Quoted 8 lines
1. mkisofs -J -o somename.iso -r file.mpg
2. cdrecord cdrecord dev=[something] somename.isoWhere [something] is an entry like "0,0,0", with the exact value depending where on the SCSI bus (or the ide-scsi simulation of a SCSI bus) the CD writer is (find our with "cdrecord --scanbus"). Depending on your drive and media,
you may have to set other parameters too, like speed=[value].If your CD burner isn't SCSI or using ide-scsi simulation ... I've read that newer versions of cdrecord support burning to
/dev/hd*devices, but I've never managed to get it to work here so still use ide-scsi myself.
Just for the record (no pun intended) i have just installed fedora core 4 on a machine with an ide dvd-rw.
I tried "cdrecord --scanbus" and it shows the dvd as 0,0,0 so i tried "dev=0,0,0" and it failed cause it couldn't access the device.
I tried "dev=/dev/dvd" (symlink to /dev/hda) and it worked.
I thought with the scanbus option finding the device the ide-scsi emulation was working but apparently not. However this is what i get from a "cdrecord --version" which may or may not explain it.:
[carl@fed4 ~]$ cdrecord --version
Cdrecord-Clone 2.01-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be bothered with problems in this version. [carl@fed4 ~]$
<snip>
Regards
Carl
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
Quoted 7 lines · On Tue, 15 Nov 2005 09:36:15 +0000 Carl <[email protected]> wrote:
Just for the record (no pun intended) i have just installed fedora core 4 on a machine with an ide dvd-rw.
I tried "cdrecord --scanbus" and it shows the dvd as 0,0,0 so i tried "dev=0,0,0" and it failed cause it couldn't access the device.
Quoted 8 lines
I tried "dev=/dev/dvd" (symlink to
/dev/hda) and it worked.I thought with the scanbus option finding the device the ide-scsi emulation was working but apparently not. However this is what i get from a "cdrecord --version" which may or may not explain it.:
I get the same errors in slackware 10.2.
cdrecord --version
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord --scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
cdrecord -v dev=0,0,0 fs=64M speed=2 driveropts=burnproof gracetime=2 file.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults. cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling TOC Type: 1 = CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'
cdrecord -v dev=0,0 fs=64M speed=2 driveropts=burnproof gracetime=2 file.iso
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependent defaults. cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling TOC Type: 1 = CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driver.
cdrecord -v dev=/dev/dvd fs=64M speed=2 driveropts=burnproof gracetime=2 file.iso
--snip--
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: Read-only file system. Cannot open '/dev/dvd'. Cannot open SCSI driver.
Only when I put dev=ATAPI:0,1,0 did the writing process start with no errors, however, then I could not access the CD any more.
Resorting to xcdroast then did the trick after iso file was made. I can play the CD on my VCD player connected to the TV. Quod errat demonstrantum.
Regards
Signature · 6 lines
Peter - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Are you trying to just burn the file to a CD to move it to another machine (or just have an offline copy)? or are you trying to creat a Video CD that can be played on a dvd player?
If the former, then you should be creating a *DATA* cd project,
not a video CD project. If the latter, then you need to have your
mpg file in a format appropriate to creating a VCD, and I have no idea how to do that -- I'm just barely managing to burn DVD videos.
Quoted 9 lines · Peter
Hi,
I downloaded a video clip of 270 MB in mpg format. I would like to burn it onto a CD, however, I get the error message with k3b:
"unable to handle the file due to unsupported format"
The program graveman tries to write and stops just saying: failed.
Quoted 10 lines
Changing the file.mpg to file.mpeg made no difference.
The video clip plays nicely with Totem.
Is there a way to burn it onto a CD?
Thanks & regards
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs