Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\>ffmpeg -rtsp_transport tcp -allowed_media_types video -i "rtsp://admin:admin@192.168.0.65:554/0" -c copy -f h264 - | ffmpeg -f h264 -r 30 -i - -c copy "rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxx"
- ffmpeg version N-88042-g72c3d9ae45 Copyright (c) 2000-2017 the FFmpeg developers
- built with gcc 7.2.0 (GCC)ffmpeg version N-88042-g72c3d9ae45
- Copyright (c) 2000-2017 the FFmpeg developers configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
- libavutil 56. 0.100 / 56. 0.100
- built with gcc 7.2.0 (GCC) libavcodec 58. 0.100 / 58. 0.100
- libavformat 58. 0.100 / 58. 0.100 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
- libavdevice 58. 0.100 / 58. 0.100 libavutil 56. 0.100 / 56. 0.100
- libavfilter 7. 0.100 / 7. 0.100 libavcodec 58. 0.100 / 58. 0.100
- libswscale 5. 0.100 / 5. 0.100 libavformat 58. 0.100 / 58. 0.100
- libswresample 3. 0.100 / 3. 0.100 libavdevice 58. 0.100 / 58. 0.100
- libpostproc 55. 0.100 / 55. 0.100 libavfilter 7. 0.100 / 7. 0.100
- libswscale 5. 0.100 / 5. 0.100
- libswresample 3. 0.100 / 3. 0.100
- libpostproc 55. 0.100 / 55. 0.100
- Input #0, rtsp, from 'rtsp://admin:admin@192.168.0.65:554/0':
- Metadata:
- title : h264.mp4
- Duration: N/A, start: 0.033333, bitrate: N/A
- Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 3840x2160, 90k tbr, 90k tbn, 180k tbc
- Output #0, h264, to 'pipe:':
- Metadata:
- title : h264.mp4
- encoder : Lavf58.0.100
- Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 3840x2160, q=2-31, 90k tbr, 90k tbn, 90k tbc
- Stream mapping:
- Stream #0:0 -> #0:0 (copy)
- Press [q] to stop, [?] for help
- [h264 @ 0000028586ce6880] Stream #0: not enough frames to estimate rate; consider increasing probesize
- Input #0, h264, from 'pipe:':
- Duration: N/A, bitrate: N/A
- Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 3840x2160, 30 fps, 30 tbr, 1200k tbn, 60 tbc
- [NULL @ 000002858831a180] Unable to find a suitable output format for 'rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxx'
- rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxxxx: Invalid argument
- av_interleaved_write_frame(): Broken pipe
- Error writing trailer of pipe:: Broken pipe
- frame= 97 fps= 42 q=-1.0 Lsize= 4937kB time=00:00:03.16 bitrate=12762.2kbits/s speed=1.38x
- video:4945kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
- Conversion failed!
- C:\>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement