MPG Video Format

MPG Video Format

am 15.11.2005 03:52:14 von heisspf

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

--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 04:00:43 von heisspf

On Tue, 15 Nov 2005 10:52:14 +0800
Peter 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.
>
> 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

--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 04:29:59 von chuck gelm net

Peter 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.
>
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 05:23:11 von Ray Olszewski

Peter 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.
>
> 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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 07:12:47 von Stephen Samuel

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.


Peter 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.
>
>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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 09:57:02 von heisspf

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

--
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 15.11.2005 10:36:15 von Carl Lawton



>It depends on what sort of CD you want.
>
>If you want to put it on a data CD (an iso9660=20
>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=3D[something] somename.iso
>
>Where [something] is an entry like "0,0,0", with=20
>the exact value depending where on the SCSI bus=20
>(or the ide-scsi simulation of a SCSI bus) the=20
>CD writer is (find our with "cdrecord=20
>--scanbus"). Depending on your drive and media,=20
>you may have to set other parameters too, like speed=3D[value].
>
>If your CD burner isn't SCSI or using ide-scsi=20
>simulation ... I've read that newer versions of=20
>cdrecord support burning to /dev/hd* devices,=20
>but I've never managed to get it to work here so still use ide-scsi my=
self.

Just for the record (no pun intended) i have just=20
installed fedora core 4 on a machine with an ide dvd-rw.

I tried "cdrecord --scanbus" and it shows the dvd=20
as 0,0,0 so i tried "dev=3D0,0,0" and it failed=20
cause it couldn't access the device.

I tried "dev=3D/dev/dvd" (symlink to /dev/hda) and it worked.

I thought with the scanbus option finding the=20
device the ide-scsi emulation was working but=20
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)=20
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=20
to http://bugzilla.redhat.com/bugzilla
Note: The author of cdrecord should not be=20
bothered with problems in this version.
[carl@fed4 ~]$





Regards
Carl=20


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 16.11.2005 03:30:00 von heisspf

On Tue, 15 Nov 2005 09:36:15 +0000
Carl wrote:


> Just for the record (no pun intended) i have just=20
> installed fedora core 4 on a machine with an ide dvd-rw.
>=20
> I tried "cdrecord --scanbus" and it shows the dvd=20
> as 0,0,0 so i tried "dev=3D0,0,0" and it failed=20
> cause it couldn't access the device.
>=20
> I tried "dev=3D/dev/dvd" (symlink to /dev/hda) and it worked.
>=20
> I thought with the scanbus option finding the=20
> device the ide-scsi emulation was working but=20
> apparently not. However this is what i get from
> a "cdrecord --version" which may or may not explain it.:
>=20
>

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 Schi=
lling

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 ope=
n SCSI
driver. cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=3Dhelp'.

cdrecord -v dev=3D0,0,0 fs=3D64M speed=3D2 driveropts=3Dburnproof grace=
time=3D2
file.iso=20
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependen=
t
defaults. cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg =
Schilling
TOC Type: 1 =3D CD-ROM
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driv=
er.
cdrecord: For possible targets try 'cdrecord -scanbus'

cdrecord -v dev=3D0,0 fs=3D64M speed=3D2 driveropts=3Dburnproof graceti=
me=3D2
file.iso=20
cdrecord: No write mode specified.
cdrecord: Asuming -tao mode.
cdrecord: Future versions of cdrecord may have different drive dependen=
t
defaults. cdrecord: Continuing in 5 seconds...
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg =
Schilling
TOC Type: 1 =3D CD-ROM
scsidev: '0,0'
scsibus: 0 target: 0 lun: 0
cdrecord: No such device. Cannot open '/dev/pg0'. Cannot open SCSI driv=
er.

cdrecord -v dev=3D/dev/dvd fs=3D64M speed=3D2 driveropts=3Dburnproof gr=
acetime=3D2
file.iso
--snip--
Warning: Open by 'devname' is unintentional and not supported.
cdrecord: Read-only file system. Cannot open '/dev/dvd'. Cannot open SC=
SI
driver.

Only when I put dev=3DATAPI: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

--=20
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie"=
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Re: MPG Video Format

am 17.11.2005 00:46:31 von prdcomp

Peter wrote:

>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
>
>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs