[FFmpeg-user] pcm_s16le (and flac) in TS fails

Etienne Buira etienne.buira.lists at free.fr
Sat Mar 24 09:52:20 CET 2012


On Fri, Mar 23, 2012 at 08:51:48PM +0200, Andrey Utkin wrote:
> 2012/3/23 Etienne Buira <etienne.buira.lists at free.fr>:
> > Hi all.
> >
> > Tried on many kind of input files with HEAD (and earliers):
> >
> > 1. ffmpeg -i source.something -ss 120 -t 120 -c:a pcm_s16le -c:v libx264 -preset ultrafast -qp 0 pcm_s16le.ts
> > 2. ffmpeg -i pcm_s16le.ts
> > ffmpeg version N-39180-g4c38e8a Copyright (c) 2000-2012 the FFmpeg developers
> >  built on Mar 23 2012 18:16:41 with gcc 4.5.3
> >  configuration: --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libx264
> >  libavutil      51. 44.100 / 51. 44.100
> >  libavcodec     54. 12.100 / 54. 12.100
> >  libavformat    54.  2.100 / 54.  2.100
> >  libavdevice    53.  4.100 / 53.  4.100
> >  libavfilter     2. 65.102 /  2. 65.102
> >  libswscale      2.  1.100 /  2.  1.100
> >  libswresample   0.  7.100 /  0.  7.100
> >  libpostproc    52.  0.100 / 52.  0.100
> > [mpegts @ 0x32f33a0] probed stream 1 failed
> > [mpegts @ 0x32f33a0] Could not find codec parameters (Unknown: none ([6][0][0][0] / 0x0006))
> > Input #0, mpegts, from 'pcm_s16le.ts':
> >  Duration: 00:01:59.99, start: 1.400000, bitrate: 29007 kb/s
> >  Program 1
> >    Metadata:
> >      service_name    : Service01
> >      service_provider: FFmpeg
> >    Stream #0:0[0x100]: Video: h264 (High 4:4:4 Predictive) ([27][0][0][0] / 0x001B), yuv420p, 704x528 [SAR 4:3 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
> >    Stream #0:1[0x101](fra): Unknown: none ([6][0][0][0] / 0x0006)
> > At least one output file must be specified
> >
> > Did I do something wrong in my command line?
> 
> AFAIK pcm_s16le audio codec cannot be contained in mpegts. Check
> allowed codecs for your desired container, or choose container that
> supports lossless audio formats.

OK, thanks, I'll look for another container/codecs tuple to do my
encodes.



More information about the ffmpeg-user mailing list