[FFmpeg-user] Remux MPEG-TS file fails: Mid-stream changes?

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 3 15:31:05 CET 2015


On Tuesday 01 December 2015 12:37:54 am Peter B. wrote:
> On 11/30/2015 02:50 AM, Carl Eugen Hoyos wrote:
> > On Monday 30 November 2015 12:09:41 am Peter B. wrote:
> >> I've encountered a problem with a file:
> >>
> >> - In some players (e.g. VLC) audio plays fine at the beginning, but is
> >> mute when the actual program starts.
> >
> > It works fine with vlc --codec=ffmpeg
>
> That's an interesting commandline argument.

> Does that change the decoding engine of VLC?

Yes, see vlc --full-help.

> >> - It "seems" that the audio samplerate changes mid-stream between 48kHz
> >> and 44.1kHz.
> >
> > It changes from parametric stereo (he-aacv2) to stereo (he-aac).
> > This seems unrelated to the remuxing issue.
>
> How did you find that out?

I split the file in two (not necessarily equal size, I don't remember) and 
ran ffmpeg -i on both parts.

Carl Eugen


More information about the ffmpeg-user mailing list