Hallo

> To accomplish this I've captured the movie via my bt848-card (composite
> source) into some qt-file of approx. 5GB unsing the following syntax:
>         chrt -v -r 99 -- nice -n -20 \
>         streamer -t 00:50:00 -n pal -r 25 -f jpeg -F mono16 -w 1 -s 768x576 \
>                 -C /dev/sound/dsp1 -R 48000 -o movie.mov
> Recording went smooth (Athlon XP1800), nearly no framedrops exept in the
> beginning and ending where there is no clear signal on the tape.
BTW: You do not need to record at full size, 352x288 is enougth.

The streamer help says that you should use -f mjpeg instead of -f jpeg
!!

> The resulting file gets played quite well both in mplayer and lavplay,
> video and audio are really synced until the very end, beginning and end i've
> cut away by glav.
> 
> The seperated Audio-stream has the same length as the original movie, even
> when transcoded into mp2.
>         lavtrans -o movie.wav -f w movie.eli
>         cat movie.wav | mp2enc -r 48000 -o movie.mp2
lav2wav movie.eli | mpeg2enc -o movie.mp2
does the same. 

> But the seperated Video-stream is much shorter, e.g. instead of 48:46 it's
> only 39:17 of 39:09, depending on syntax i use:
> 39:09:
>         lav2yuv -A 4:3 movie.eli | \
>         yuvscaler -O DVD -M BICUBIC -I ACTIVE_704x528+32+24 -v 1 | \
>         mpeg2enc --video-norm p --quantisation 7 --reduction-4x4 1 \
>                 --reduction-2x2 1 --force-b-b-p --reduce-hf 1 --aspect 2 -f 8 \
>                 -o movie.m2v
> 39:17:
>         ...\
>         mpeg2enc --aspect 2 -f 8 -o movie.m2v
Do you have some weird output from lav2yuv like: 
Not a JPEG file: starts with 0x00 0x00
++ WARN: [lav2yuv] Decoding of Frame 1455 failed

How many frames do you have when you take a look at the editlist file ?

I fear that there are missing frames which are not replicated, or broken
jpeg frame wich are thrown away. 

Maybe you runn you command a second time only with:
lav2yuv movie.eli >/dev/null 
So you see error easier.

> Can somebody explain the dis-sycronisation, expecially the differences
> between the simple and the optimizing version - the number of frames should
> be the same, or?


> This problem I've encountered on mjpegtools' version 1.6.1.90 and 1.6.2-r3
> on Gentoo, using fhe following USE-flags:
>         +3dnow +X +avi +dv +gtk +mmx +quicktime +sdl +sse
> These were my C{XX}FLAGS:
>         CFLAGS='-march=athlon-xp -O2 -pipe'
Would you give lavrec a try with a command looking simlair to that:
lavrec -f q -i p -g 352x288 -q 80 -s -l 70 -R l --software-encoding
movie.mov

You will very likely have to change the -i p to something that matches
you input on the bttv card. Read the lavrec manpage for more
information. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to