felx / ffmbc

Automatically exported from code.google.com/p/ffmbc
0 stars 0 forks source link

When specifying multiple outputs with different audio sampling rates, only the first output gets a properly resampled audio #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When specifying multiple outputs with different audio sampling rates, only the 
first output gets a properly resampled audio

Given the video file from

  http://video.blendertestbuilds.de/download.blender.org/peach/trailer_iphone.m4v

this command produces a properly downsampled audio stream:

  ffmbc -i trailer_iphone.m4v -ar 22050 working.mp4

When trying to produce outputs with different sampling rates in one
go, only the first output will be properly resampled:

  ffmbc -i trailer_iphone.m4v -ar 48000 dummy.mp4 -ar 22050 broken.mp4

The output contains a lot of warnings:

  discarding 1024 audio samples in stream #0.0

The broken.mp4's audio is too low pitched when played back. When doing
it the other way around

  ffmbc -i trailer_iphone.m4v -ar 22050 dummy.mp4 -ar 48000 broken2.mp4 

I get warnings like

  adding 4820 audio samples in stream #0.0

The audio of broken2.mp4 will be high pitched and choppy. Choosing
libmp3lame as the audio codec leads to similar results. The same
problem occurs with WMV input, e.g.

  http://cdn1.eveonline.com/video/2/EXODUS_Trailer_v1a.wmv 

but NOT with ogg theora/vorbis, e.g.

  http://download.blender.org/peach/trailer/trailer_400p.ogg

I'm using FFmbc 0.6rc6 on Ubuntu 10.04 and MPlayer 1.0rc4-4.4.3 for playback. 

Original issue reported on code.google.com by anselm.h...@gmail.com on 1 Jun 2011 at 12:33

GoogleCodeExporter commented 8 years ago
Should be fixed in rc7

Original comment by baptiste...@gmail.com on 7 Jun 2011 at 3:32

GoogleCodeExporter commented 8 years ago

Original comment by baptiste...@gmail.com on 15 Jun 2011 at 3:06