public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: Peter <heisspf@skyinet.net>
Cc: linux-newbie@vger.kernel.org
Subject: Re: MPG Video Format
Date: Mon, 14 Nov 2005 22:29:59 -0500	[thread overview]
Message-ID: <43795637.90904@gelm.net> (raw)
In-Reply-To: <20051115105214.25290e02@Peter.meridiantelekoms.com>

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

  parent reply	other threads:[~2005-11-15  3:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-15  2:52 MPG Video Format Peter
2005-11-15  3:00 ` Peter
2005-11-15  3:29 ` chuck gelm [this message]
2005-11-15  8:57   ` Peter
2005-11-16 23:46     ` Paulo R. Dallan
2005-11-15  4:23 ` Ray Olszewski
2005-11-15  9:36   ` Carl
2005-11-16  2:30     ` Peter
2005-11-15  6:12 ` Stephen Samuel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43795637.90904@gelm.net \
    --to=chuck@gelm.net \
    --cc=heisspf@skyinet.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox