help-vcdimager
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[VCDImager] ffmpeg & vcdimager != vcd


From: Martin Rasp
Subject: [VCDImager] ffmpeg & vcdimager != vcd
Date: Tue, 7 May 2002 18:04:47 +0200

Hi.

Maybe it's a problem with ffmpeg, but I'd like to start here. When ripping a 
vcd (vcdrip) I get an avseq01.mpg file. Creating a new vcd image out of the 
ripped file with vcdimager works fine. Watching VCR movies thru /dev/video 
(framegrabber card) works fine, too.

Now, I'd like to grab a video sequence from that video4linux device with the 
goal to create my own VCD. Therefore I'm using the following ffmpeg command:

# ./ffmpeg -f mpeg -vcodec mpeg1video -vd /dev/video -b 1150 -s 352x288 -r 25 
-acodec mp2 -ab 224 -ad /dev/dsp -ac 1 -t 10 -benchmark avseq01.mpg

These options should be correct for VCD 2.0 standard, shouldn't they? While 
grabbing 10 seconds I get the following text output:

Output #0, mpeg, to 'avseq01.mpg':
  Stream #0.0: Video: mpeg1video, 352x288, 25.00 fps, 1150 kb/s
  Stream #0.1: Audio: mp2, 44100 Hz, mono, 224 kb/s
File 'avseq01.mpg' already exists. Overwrite ? [y/N] y
Input #0, video_grab_device, from '/dev/video':
  Stream #0.0: Video: rawvideo, yuv420p, 352x288, 25.00 fps
Input #1, audio_device, from '/dev/dsp':
  Stream #1.0: Audio: pcm_s16le, 44101 Hz, mono, 705 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Press [q] to stop encoding
frame=  250 q= 5 size=    1662kB time=10.0 bitrate=1361.5kbits/s
bench: utime=3.660s

After that I can watch my new avseq01.mpg file with MPlayer. But If I start 
vcdimager I'm getting these messages:

# vcdimager avseq01.mpg
   INFO: scanning mpeg track #0 for scanpoints...
**ERROR: packet length beyond buffer...

vcdimager 0.7.12 outputs this:

++ WARN: initializing libvcd 0.7.12 [linux-gnu/i686]
++ WARN:
++ WARN:  this is the UNSTABLE development branch!
++ WARN:  use only if you know what you are doing
++ WARN:  see http://www.hvrlab.org/~hvr/vcdimager/ for more information
++ WARN:
   INFO: scanning mpeg sequence item #0 for scanpoints...
++ WARN: packet length beyond buffer (pos = 2054 + size = 2042 > buflen = 
2324) -- str
eam may be truncated or packet length > 2324 bytes!
**ERROR: input mpeg stream has been deemed invalid -- aborting

mkvcdfs couldn't create a VCD image file as well:

# mkvcdfs avseq01.mpg
Copying file avseq01.mpg
... Record in MPEG file too long for VCD
... terminating with this file!!!
Not enough MPEG data
Fatal Error --- exiting

What's wrong with that?  Thanks for any hint.

BTW: I'm using the following software:
- Debian GNU/Linux 3.0 w/ kernel 2.4.18-k7
- GNU VCDImager 0.6.2 & 0.7.12
-  ffmpeg         0.4.6-0.1
- vcdtools       0.4-1

Bye, Martin Rasp
-- 
Monopole sind grundsätzlich schädlich: Nur Konkurrenz fördert Innovationen.
Haben Sie bereits ein anderes Betriebssystem als Windows benutzt?
--
http://www.linux-fuer-alle.de
http://www.itse-pruefung.de
http://www.malteser-braunschweig.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]