On Wed, May 10, 2006 at 01:26:59PM +0200, Arnold M?ller wrote: > Hi all, > > we try to convert a 1080i mpeg (form a SONY HDR-FX1) > to PAL DV. To do so, we did the following steps: > 1. Grab the video with libiec61883 form the camera > 2. convert it with ts2ps from Transport Stream to Program Stream > > This works so far and we have a wonderfull mpeg: > > [EMAIL PROTECTED]:~/transcode> tcprobe -i test.mpg > [tcprobe] MPEG program stream (PS) > [tcprobe] summary for test.mpg, (*) = not default, 0 = not detected > audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*) > PTS=3025.9200, bitrate=384 kbps > detected (2) presentation unit(s) (SCR reset) > [EMAIL PROTECTED]:~/transcode> > > Now we start transcode to convert it; as transcode does not recognize > the input codec, we use -x mplayer (cause mplayer displays the video > fine). We use transcode 1.0.2 (hopefully) compiled with mplayer > support (there ist /usr/lib/transcode/import_mplayer.so) and mplayer > SuSE Linux 10.0 (i686)-Packman-4.0.2 > both taken from http://packman.links2linux.de/. > > According to > http://www.transcoding.org/cgi-bin/transcode?Import_Modules/Import_Mplayer > we first find out the settings of the video: > > [EMAIL PROTECTED]:~/transcode> mplayer -vo dummy test.mpg 2>&1 |grep -E > "VIDEO:|AUDIO:" > VIDEO: MPEG2 1440x1080 (aspect 3) 25.000 fps 25000.0 kbps (3125.0 > kbyte/s) > AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) > [EMAIL PROTECTED]:~/transcode> > > So we start transcode (audio works fine, so we dont do -x > mplayer,mplayer, only the video shall be rendered by mplayer) > to encode the first 100 frames: > > [EMAIL PROTECTED]:~/transcode> transcode -i test.mpg -o testdv.avi -x > mplayer -y dv -N 0x1 -Z 720x576 -c 0-100 -f 25 -g 1440x1080 -q 3 > transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg > libdvdread: Encrypted DVD support unavailable. > libdvdread: Can't open file VIDEO_TS.IFO. > [tcprobe] MPEG program stream (PS) > SCR=406546928 (406575728) unit=1 @ offset 4517.5081 (sec) > att0=7, att1=0 > [transcode] (probe) suggested AV correction -D 5 (200 ms) | AV 239 ms | > 39 ms > (probe.c) V magic=0xf3, A magic=0xf3, V codec=0x1000000, A codec=0x50 > (probe.c) V magic=, A magic=, V codec=MPEG , A codec=MPEG layer-2 > [transcode] auto-probing source test.mpg (ok) > [transcode] V: import format | MPEG (V=mplayer|A=mp3) > 0 frames to 100 frames
is your audio MP3? > [transcode] V: AV demux/sync | (0) sync AV at PTS start - demuxer > disabled > [transcode] V: import frame | disabled this would explain green screen. autoprobing doesn't work that great with -x mplayer. it's probably best to use '-H 0', and then give the video size and frame rate with -g and -f. this should be better in CVS. -- <[EMAIL PROTECTED]>