[FFmpeg-user] Empty file when capturing stream from Wowza
Grant Curtis
codercurtis at gmail.com
Thu Jul 7 00:41:18 CEST 2016
I'm streaming from FMLE to Wowza, and then capturing the stream with ffmpeg.
I'm able to watch the stream if I open up VLC player, however running the
below command results in an empty file.
ffmpeg.exe -report -ss 0 -i
rtmp://localhost:1935/scheduler/cumin/cumin_1000 -y -b:v 1000k -r 29.97
-threads 4 -hls_time 8 -hls_list_size 0 -bsf:v h264_mp4toannexb -c:v copy
-c:a copy cumin_1000.m3u8
ffmpeg started on 2016-07-06 at 16:32:36
Report written to "ffmpeg-20160706-163236.log"
ffmpeg version N-80801-gc0cb53c Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth
--enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid
--enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 27.100 / 55. 27.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 40.101 / 57. 40.101
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 46.102 / 6. 46.102
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Metadata:
author dsf
presetname Custom
creationdate Wed Jul 06 16:32:28 2016
videodevice BisonCam, NB Pro
framerate 29.97
width 640.00
height 480.00
videocodecid avc1
videodatarate 1000.00
avclevel 31.00
avcprofile 66.00
videokeyframe_frequency4.00
audiodevice Microphone (3- C-Media USB Headphone Set )
audiosamplerate 22050.00
audiochannels 1.00
audioinputvolume 75.00
audiocodecid .mp3
audiodatarate 48.00
[flv @ 0000000000737e20] video stream discovered after head already parsed
[flv @ 0000000000737e20] audio stream discovered after head already parsed
Input #0, flv, from 'rtmp://localhost:1935/scheduler/cumin/cumin_1000':
Metadata:
author : dsf
copyright :
description :
keywords :
rating :
title :
presetname : Custom
creationdate : Wed Jul 06 16:32:28 2016
:
videodevice : BisonCam, NB Pro
avclevel : 31
avcprofile : 66
videokeyframe_frequency: 4
audiodevice : Microphone (3- C-Media USB Headphone Set )
audiochannels : 1
audioinputvolume: 75
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p(tv), 640x480 [SAR 1:1 DAR
4:3], 30.30 fps, 30 tbr, 1k tbn, 60 tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, s16p, 48 kb/s
[hls @ 0000000002f24820] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Last message repeated 1 times
Output #0, hls, to 'cumin_1000.m3u8':
Metadata:
author : dsf
copyright :
description :
keywords :
rating :
title :
presetname : Custom
creationdate : Wed Jul 06 16:32:28 2016
:
videodevice : BisonCam, NB Pro
avclevel : 31
avcprofile : 66
videokeyframe_frequency: 4
audiodevice : Microphone (3- C-Media USB Headphone Set )
audiochannels : 1
audioinputvolume: 75
encoder : Lavf57.40.101
Stream #0:0: Video: h264, yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3],
q=2-31, 1000 kb/s, 30.30 fps, 30 tbr, 90k tbn, 29.97 tbc
Stream #0:1: Audio: mp3, 22050 Hz, mono, 48 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 Lsize=N/A time=00:00:00.00 bitrate=N/A speed=
0x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
What am I missing?
More information about the ffmpeg-user
mailing list