[FFmpeg-user] Tee Muxer
Yugant Khanna
yugant at gmail.com
Mon Apr 1 09:00:27 CEST 2013
Hi , I am trying to capture the video in Segments and also want to stream
the captured Video .So i tried using tee functionality for the same . I am
getting an error "Could not write header for output file #0 (incorrect
codec parameters ?): Invalid argument"
ffmpeg -f dshow -r 25 -i video="Decklink Video Capture":audio=
"Decklink Audio Capture" -vcodec dvvideo -pix_fmt yuv411p -vb 2M -acodec
pcm_s24le -f segment -segment_time 10 -segment_list test.m3u8
-segment_format dvsd -f tee -map 0:0 -map 0:1 "D#%05d.mxf|[f=dvsd]rtp://
127.0.0.1:1234/"
ffmpeg version N-51433-g551f683 Copyright (c) 2000-2013 the FFmpeg
developers
built on Mar 28 2013 21:52:57 with gcc 4.8.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enab
le-libass --enable-libbluray --enable-libcaca --enable-libfreetype
--enable-libg
sm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb
--enable-libo
pencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-li
bschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-lib
twolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enabl
e-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 22.101 / 52. 22.101
libavcodec 55. 2.100 / 55. 2.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 48.105 / 3. 48.105
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[dshow @ 0209c800] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, dshow, from 'video=Decklink Video Capture:audio=Decklink Audio
Capture
':
Duration: N/A, start: 10478.151000, bitrate: 1536 kb/s
Stream #0:0: Video: rawvideo (UYVY / 0x59565955), uyvy422, 720x576, 25
tbr,
10000k tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[NULL @ 02e70020] Requested output format 'dvsd' is not a suitable output
format
Output #0, tee, to 'D#%05d.mxf|[f=dvsd]rtp://127.0.0.1:1234/':
Metadata:
encoder : Lavf55.0.100
Stream #0:0: Video: dvvideo, yuv411p, 720x576, q=2-31, 2000 kb/s, 90k
tbn, 2
5 tbc
Stream #0:1: Audio: pcm_s24le, 48000 Hz, stereo, s32, 2304 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo -> dvvideo)
Stream #0:1 -> #0:1 (pcm_s16le -> pcm_s24le)
Could not write header for output file #0 (incorrect codec parameters ?):
Invali
d argument
More information about the ffmpeg-user
mailing list