[FFmpeg-user] Srt decoding failed

Clément Bœsch ubitux at gmail.com
Sun Nov 4 23:17:58 CET 2012


On Sun, Nov 04, 2012 at 11:09:20PM +0100, Clément Bœsch wrote:
> On Fri, Nov 02, 2012 at 10:25:23PM -0300, Dielson Sales wrote:
> > I'm trying to convert a simple srt file to ass, but I'm getting a strange
> > error.
> > 
> > What I'm trying is just
> > ffmpeg -i Inception.srt Inception.ass
> > 
> > But I get the following error:
> > 
> > ffmpeg version N-35873-g7669144 Copyright (c) 2000-2012 the FFmpeg
> > developers
> >   built on Nov  1 2012 16:37:47 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
> >   configuration: --enable-gpl --enable-libfaac --enable-libfdk-aac
> > --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
> > --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx
> > --enable-x11grab --enable-libx264 --enable-nonfree --enable-version3
> > --enable-libass
> >   libavutil      52.  1.100 / 52.  1.100
> >   libavcodec     54. 70.100 / 54. 70.100
> >   libavformat    54. 35.100 / 54. 35.100
> >   libavdevice    54.  3.100 / 54.  3.100
> >   libavfilter     3. 21.106 /  3. 21.106
> >   libswscale      2.  1.102 /  2.  1.102
> >   libswresample   0. 16.100 /  0. 16.100
> >   libpostproc    52.  1.100 / 52.  1.100
> > [loas @ 0x96eb540] Format loas detected only with low score of 1,
> > misdetection possible!
> > [loas @ 0x96eb540] decoding for stream 0 failed
> > [loas @ 0x96eb540] Could not find codec parameters for stream 0 (Audio:
> > aac_latm, 0 channels, s16): unspecified sample rate
> > Consider increasing the value for the 'analyzeduration' and 'probesize'
> > options
> > [loas @ 0x96eb540] Estimating duration from bitrate, this may be inaccurate
> > Inception.srt: could not find codec parameters
> > 
> > 
> > Am I doing anything wrong? It works well for all other srt files. I sending
> > the srt file I'm using.
> 
> The probe function seems to have a problem. Until it's fixed (I'm working
> on it ATM), you can try ffmpeg -f srt -i Inception.srt Inception.ass.
> 

Your file is invalid: it starts at event 0 instead of 1. I sent a patch to
handle these files, but keep in mind your input is not correct.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121104/519692cd/attachment.asc>


More information about the ffmpeg-user mailing list