Re: Need a little assistance with transcoding a file - audio issue
I put the Who? in Mishehu <[email protected]> Thu, 05 Nov 2009 16:02:02 -0600
| Newsgroups | gmane.comp.video.transcode.user |
|---|---|
| Organization | Cartis Solutions, Inc. |
| Message-ID | <[email protected]> |
Thanks, that strategy did work. I just wish it wasn't necessary to do those extra steps. In theory transcode should be able to do it all without the external extraction and resampling. I wonder if anybody else here knows if there's a proper way to get this accomplished with just using 2 calls to transcode - one for -R 1, and one for -R 2. -Mishehu Georg Martius wrote: > 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 >> > > >