[FFmpeg-user] Segment format is not working - Output file #0 does not contain any stream
Vladimir Vlach
vladaman at gmail.com
Fri Apr 6 20:11:44 CEST 2012
I figured this out. I was missing -map 0 argument (not sure what for).
This is working example:
./ffmpeg -v 9 -loglevel 99 -re -i sourcefile.avi -an \
-c:v libx264 -b:v 128k -vpre ipod320 \
-flags -global_header -map 0 -f segment -segment_time 4 \
-segment_list test.m3u8 -segment_format mpegts stream%05d.ts
Vlad
On Thu, Apr 5, 2012 at 11:38 AM, Vladimir Vlach <vladaman at gmail.com> wrote:
>
> 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