[FFmpeg-user] multiple instances of segmenter
Joe Konecny
jkonecny at rmtohio.com
Mon Jun 12 16:22:17 EEST 2017
I'm calling ffmpeg from crontab and using the segmenter. Two instances
of ffmpeg are running at once. One of the instances uses the segmenter
properly the other creates one large file. Is there any way I can
make the segmenter work for each instance?
ffmpeg version 3.2.4-1build2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Ubuntu 6.3.0-8ubuntu1) 20170221
configuration: --prefix=/usr --extra-version=1build2
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libopenmpt --enable-libopus --enable-libpulse
--enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
--enable-libzmq --enable-libzvbi --enable-omx --enable-openal
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
--enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264
--enable-shared
0 6 * * * root timeout 5h ffmpeg -i
"http://192.168.1.230/videostream.cgi?user=admin&pwd=blah&resolution=32&rate=0"
-map 0 -c copy -f segment -strftime 1 -segment_time 1200
-reset_timestamps 1 -segment_format mp4
"/opt/dev/00233s/734/hhsd/capture-\%Y-\%m-\%d-\%H-\%M-\%S.mp4"
0 6 * * * root timeout 5h ffmpeg -i
"http://192.168.1.8/videostream.cgi?user=admin&pwd=blah&resolution=32&rate=0"
-map 0 -c copy -f segment -strftime 1 -segment_time 1200
-reset_timestamps 1 -segment_format mp4
"/opt/dev/00233s/734/hhsd/lcapture-\%Y-\%m-\%d-\%H-\%M-\%S.mp4"
More information about the ffmpeg-user
mailing list