Groups > eComStation > eComStation applications > Re: Distorted sound from ffmpeg?




Distorted sound from ffmpeg?

Distorted sound from ffmpeg?
Thu, 13 Mar 2008 16:57:06 -070
I cut up and combine *.VOBs, *.WMV and *.AVI's as follows:
	After figuring out the cut list
	use ffmpeg in a command line such as
< ffmpeg.exe -ss 37.5 -t 2533 -i S:\VIDEO_TS\VTS_01_1.vob -sameq 
-aspect4:3 H:\tmp\VTS_01_1A.mpg >
	combine the pieces by copying e.g.
copy /b VTS_01_1A.mpg+VTS_01_2A.mpg result.mpg
	this typically has problems including timing errors so
ffmpeg.exe -i result.mpg -sameq resulZ.mpg
	The final result, resultZ, plays well, has good video but some 
distortion in the sound.

What am I doing wrong?  Is there a better way to do this or do I just 
need a change in the parameters?

Ted
Post Reply
Re: Distorted sound from ffmpeg?
Sat, 15 Mar 2008 02:34:16 -050
On Thu, 13 Mar 2008 16:57:06 -0700, Ted Edwards
<Ted_Espamless@telus.net> wrote:

>I cut up and combine *.VOBs, *.WMV and *.AVI's as follows:
>	After figuring out the cut list
>	use ffmpeg in a command line such as
>< ffmpeg.exe -ss 37.5 -t 2533 -i S:\VIDEO_TS\VTS_01_1.vob -sameq 
>-aspect4:3 H:\tmp\VTS_01_1A.mpg >
>	combine the pieces by copying e.g.
>copy /b VTS_01_1A.mpg+VTS_01_2A.mpg result.mpg
>	this typically has problems including timing errors so
>ffmpeg.exe -i result.mpg -sameq resulZ.mpg
>	The final result, resultZ, plays well, has good video but some 
>distortion in the sound.
>
>What am I doing wrong?  Is there a better way to do this or do I just 
>need a change in the parameters?
>
>Ted
The audio encoding defaults to 64kbit/s, mono, and 44kHz sample rate
(-sameq affects video only).  Try specifying higher audio bitrate and
Post Reply
Re: Distorted sound from ffmpeg?
Sat, 15 Mar 2008 19:48:47 -070
yankeebean wrote:
>> I cut up and combine *.VOBs, *.WMV and *.AVI's as follows:
>> ...
> The audio encoding defaults to 64kbit/s, mono, and 44kHz sample rate
> (-sameq affects video only).  Try specifying higher audio bitrate and
> stereo.

Many, many thanks.  That solved the problem.

Post Reply
about | contact