Hi Started taking some movie with my digital camera - not the best but. my problem is i want to transcode them to xvid, which I seem to be able to do, but I am unable to copy the sound over with it.
tcprobe -i r0013126.avi [tcprobe] RIFF data, AVI video [avilib] V: 30.000 fps, codec=MJPG, frames=960, width=320, height=240 [avilib] A: 8000 Hz, format=0x07, bits=8, channels=1, bitrate=64 kbps, [avilib] 32 chunks, 256000 bytes, VBR [tcprobe] summary for r0013126.avi, (*) = not default, 0 = not detected import frame size: -g 320x240 [720x576] (*) frame rate: -f 30.000 [25.000] frc=0 (*) audio track: -a 0 [0] -e 8000,8,1 [48000,16,2] -n 0x7 [0x2000] (*) bitrate=64 kbps length: 960 frames, frame_time=33 msec, duration=0:00:31.999 the file r0013126.avi is only 19M my scripts looks like #!/bin/bash # # from mail archives for transcode INPF="$1" OUTF="$1.divx" transcode -i "$INPF" -M 2 -a 0 -e 8000,8,1 -n 0x7 -R 1 -f 25 -x ffmpeg -y xvid4,lame -o "$OUTF" transcode -i "$INPF" -M 2 -a 0 -e 8000,8,1 -n 0x7 -R 2 -f 25 -x ffmpeg -y xvid4,lame -o "$OUTF" this is what happens when I do it as 1 pass transcode -i r0013126.avi -M 2 -a 0 -f 25 -x ffmpeg -y xvid4,lame -o r0013126.avi.divx transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg [transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms [transcode] auto-probing source r0013126.avi (ok) [transcode] V: import format | MJPG RIFF data, AVI (V=ffmpeg|A=null) [transcode] V: AV demux/sync | (2) initial MPEG sequence / enforce frame rate [transcode] V: import frame | 320x240 1.33:1 [transcode] V: bits/pixel | 0.938 [transcode] V: decoding fps,frc | 25.000,0 [transcode] V: Y'CbCr | YV12/I420 [transcode] A: import format | 0x7 unknown [8000, 8,1] 64 kbps [transcode] A: export format | 0x55 MPEG layer-3 [8000, 8,1] 128 kbps [transcode] V: encoding fps,frc | 25.000,3 [transcode] A: bytes per frame | 320 (320.000000) [transcode] A: adjustment | [EMAIL PROTECTED] [transcode] V: IA32/AMD64 accel | sse3 (sse3 sse2 sse 3dnowext 3dnow mmxext mmx asm C) [transcode] V: video buffer | 10 @ 320x240 [import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null [import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG [export_lame.so] v0.0.3 (2003-03-06) (audio) MPEG 1/2 [export_xvid4.so] v0.0.5 (2003-12-05) (video) XviD 1.0.x series (aka API 4.0) | (audio) MPEG/AC3/PCM [transcode] input is mjpeg, reducing range from YUVJ420P to YUV420P [filter.c] Filter "levels=output=16-240:pre=1" with args (levels=output=16-240:pre=1) [filter.c] Filter "levels=output=16-240:pre=1" not loaded. Loading ... [filter.c] Loading (levels=output=16-240:pre=1) .. [filter_levels.so]: v1.0.0 (2004-06-09) Luminosity level scaler #0 [filter_levels.so]: scaling 0-255 gamma 1.000000 to 16-240 [filter_levels.so]: pre-processing filter [export_xvid4.so] Neither './xvid4.cfg' nor '~/.transcode/xvid4.cfg' [export_xvid4.so] found. Default settings will be used instead. [export_lame.so] cmd=lame -x --cbr -b 128 -s 8.000 -m m - "r0013126.avi.divx.mp3" 2>/dev/null [encoder.c] Delaying audio (0) encoding frames [000000-000959], 50.25 fps, EMT: 0:00:38, ( 0| 0| 0) clean up | frame threads | unload modules | cancel signal | internal threads | done [transcode] encoded 960 frames (0 dropped, 0 cloned), clip length 38.40 s I end up with 2 files .divx and a .divx.mp3. The video part is fine, but there is nothing in the .mp3 file. My other question is when I get the mp3 working how do I put i back into the one file. Thanks Alex Samad
signature.asc
Description: Digital signature