[FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream

Vladimir Vlach vladaman at gmail.com
Thu Apr 5 20:38:46 CEST 2012


Hi,

I am trying to use ffmpeg and segment input file into chunks for
iPhone streaming. Unfortunately every possible command line option
gives me error.

./ffmpeg -v 9 -loglevel 99  -re -i test.flv -an -vcodec libx264 -b:v
128k -vpre ipod320 -f segment -segment_format mpegts -segment_time 10
-segment_list test.m3u8 'test%05d.ts'

reports this:
Output file #0 does not contain any stream

ffmpeg version N-39494-g41a097a Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr  5 2012 01:38:03 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
  configuration: --enable-librtmp --enable-libx264
--libdir='../x264/:/usr/local/lib:../rtmpdump-2.3' --enable-gpl
--enable-pthreads --enable-libvpx --disable-ffplay --disable-ffserver
--disable-shared --enable-debug

This works fine:
./ffmpeg -v 9 -loglevel 99  -re -i test.flv -an  -vcodec libx264 -b:v
128k -vpre ipod320 -f mpegts -y test.ts

I am not sure if there is a bug in segmenter but looks like it's not
working at all.

Thanks,
Vlad


More information about the ffmpeg-user mailing list