Re: Need a little assistance with transcoding a file - audio issue

Georg Martius <[email protected]> Thu, 5 Nov 2009 22:03:38 +0100
Newsgroups gmane.comp.video.transcode.user
Message-ID <[email protected]>
Hi Mishehu,

I had also difficulties with a video from another camera (Lumix), but maybe my 
solution works as well for you, see [1].

Regards,
	Georg

[1] http://georg.hronopik.de/dokuwiki/doku.php?id=computing:lumixvideos


On Thursday 05 November 2009, I put the Who? in Mishehu wrote:
> Hi folks.
>
> I'm having a little difficulty trying to figure out how to handle the
> audio in some video files I recorded with my Fuji E900 digital camera.
> Using transcode 1.1.5 on x86_64.
>
> tcprobe reports this about the input file:
>
> [tcprobe] RIFF data, AVI video
> [tcprobe] summary for ./DSCF3047.AVI, (*) = not default, 0 = not detected
> import frame size: -g 640x480 [720x576] (*)
>      aspect ratio: 4:3 (*)
>        frame rate: -f 30.000 [25.000] frc=5 (*)
>       audio track: -a 0 [0] -e 16000,8,1 [48000,16,2] -n 0x1 [0x2000] (*)
>                    bitrate=128 kbps
>            length: 1530 frames, frame_time=33 msec, duration=0:00:50.999
>
>
> I attempt to transcode it to an xvid4 file, with the audio simply copied:
>
> transcode --accel sse2 -i DSCF3047.AVI -y xvid4,tcaud -N 0x1 -o
> /dev/null --threads 2 -R 1
> transcode --accel sse2 -i DSCF3047.AVI -y xvid4,tcaud -N 0x1 -o
> ./newfile.avi --threads 2 -R 2
>
> It transcodes and everything seems fine and dandy, but the audio in the
> resulting is out of sync.  It ends halfway through the video playback.
> tcprobe on the resulting file shows:
>
> [tcprobe] RIFF data, AVI video
> [tcprobe] summary for ./newfile.avi (*) = not default, 0 = not detected
> import frame size: -g 640x480 [720x576] (*)
>      aspect ratio: 4:3 (*)
>        frame rate: -f 30.000 [25.000] frc=5 (*)
>       audio track: -a 0 [0] -e 16000,8,1 [48000,16,2] -n 0x1 [0x2000] (*)
>                    bitrate=256 kbps
>            length: 1530 frames, frame_time=33 msec, duration=0:00:51.000
>
> The audio bitrate shows as 256 kbps instead of 128 kbps for the original
> file.  If I re-attempt to transcode with -b 128 as an added parameter, I
> *still* end up with the resulting file coming up as 256 kbps. audio.  Am
> I doing something wrong here?
>
> Thanks folks.
>
> -Mishehu


-- 
---- Georg Martius,  Tel: +49 177 6413311  -----
--------- http://georg.hronopik.de -------------
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkrzPaoACgkQ7Y/IAAz6KBPpywCeJehiiAV8clY0rwiDmUBAxHAg
Cw0An3pta1L2yL8OOKoa2k7kTq+QroHj
=x+fL
-----END PGP SIGNATURE-----