> dvgrab --format raw - | raw2yuv | yuvplay

okay, this works fine! (which indicates that lav2yuv is incompatible
with dvgrab output in dv1/dv2 mode... as I understand (correct me
if I'm wrong) because dvgrab, through libdv, outputs YUV422 and lav2
expects YUV420. will this be fixed?)

Now, if I try to encode a raw dv stream with

cat foo.raw | raw2yuv -a output.wav -i 0 | yuvscaler -n n -O SVCD |
mpeg2enc -q 10 -a 2 -f 4 -F 3 -S 800 -B 192 -I 1 -o output.m2v

this works okay (I am not sure what to think of the quality,
since I am used to divx...) but...

The resulting mpeg2 file, at least according to mplayer, has an
video bitrate of 2500. Which should not occur, since I specify that
the output is SVCD (-f 4), and the audio bitrate is 192. Now, even
if I specify a lower video bitrate by hand ( -b 1000 for example),
the result it (binary) identical! Is this a bug in mpeg2enc, or am I
missing something?

By the way, raw2yuv allows to specify an output file for the audio,
either wav or mp2. For mp2 however, there are no additional flags
to influence the encoding. Is there any way to specify how to encode
the mp2?

> dvgrab --format raw - |
> ffmpeg -f dv -i - -f mpeg output.mpeg

This result in errors:

Input #0, dv, from 'pipe:':
  Duration: N/A, bitrate: 1536 kb/s
  Stream #0.0: Video: dvvideo, 720x576, 25.00 fps
  Stream #0.1: Audio: dvaudio, 48000 Hz, stereo, 1536 kb/s
Output #0, mpeg, to 'output.mpeg':
  Stream #0.0: Video: mpeg1video, 720x576, 25.00 fps, q=2-31, 200 kb/s
  Stream #0.1: Audio: mp2, 48000 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
error pos=71
error pos=65
error pos=64
error pos=64
[....]

Any idea?

Maarten




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to