[FFmpeg-user] AAC packet too short

Maxence Dolle contact at maxdolle.fr
Sat Mar 18 20:21:14 EET 2017

Le 18/03/2017 à 16:49, Carl Eugen Hoyos a écrit :
> 2017-03-18 14:15 GMT+01:00 Maxence Dolle <contact at maxdolle.fr>:
>> I'm struggling a lot with a rtsp input stream that I try to save as mpegts
>> without reencoding. Using the exact same command, it sometimes run well, but
>> often crashes right from the start.
> Crashes are always (very) important, please explain how we can reproduce!

The rtsp input stream is a service that you have to pay for, so you 
won't be able to get data from the url.
The output file when the command works seems to be perfectly fine.
So the only way would be to intercept the UDP packets and save them 
somehow, right?

> For other issues, please test current FFmpeg git head, if the message on
> https://www.johnvansickle.com/ffmpeg/ is not clear, please tell the
> maintainer there!
The same goes on current git head:
ffmpeg version N-84017-g824d406 Copyright (c) 2000-2017 the FFmpeg 

The file that contains the message "AAC packet too short" is in 
libavformat/mpegtsenc.c and is maintained by Baptiste Coudurier.

More information about the ffmpeg-user mailing list