Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -i udp://@:4000 -threads 0 -i http://static1.squarespace.com/static/53d8f957e4b095510e2cd695/54b51bbfe4b05235bedbde48/54b51bc1e4b05235bedbde4b/1421155265138/Logo_PNG_for_Watermark.png \
- -map 0:0 -map 0:1 -map 1:0 \
- -filter_complex "[1:v]scale=32:31[wat];[0:v][wat]overlay=main_w-overlay_w-25:25" \
- -b:v 200k -bt 200k -r 25 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p -c:a libfdk_aac -b:a 64k -ar 22050 -s 320x240 \
- -x264opts open_gop=0:keyint=25:min-keyint=25:qpmin=10:qpmax=51:bframes=0 \
- -f flv "rtmp://<address>" \
- -filter_complex "[1:v]scale=64:62[wat];[0:v][wat]overlay=main_w-overlay_w-25:25" \
- -b:v 250k -bt 250k -r 25 -c:v libx264 -profile:v baseline -level 3.0 -pix_fmt yuv420p -c:a libfdk_aac -b:a 64k -ar 22050 -s 640x480 \
- -x264opts open_gop=0:keyint=25:min-keyint=25:qpmin=10:qpmax=51:bframes=0 \
- -f flv "rtmp://<address>"
- ffmpeg output:
- ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
- built on Dec 16 2014 16:18:24 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --extra-libs=-ldl --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfdk-aac --disable-ffplay --disable-ffserver --enable-gpl --enable-version3 --enable-nonfree
- libavutil 54. 7.100 / 54. 7.100
- libavcodec 56. 1.100 / 56. 1.100
- libavformat 56. 4.101 / 56. 4.101
- libavdevice 56. 0.100 / 56. 0.100
- libavfilter 5. 1.100 / 5. 1.100
- libswscale 3. 0.100 / 3. 0.100
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 0.100 / 53. 0.100
- [NULL @ 0x3c2b320] non-existing PPS 0 referenced
- [h264 @ 0x3c2b320] non-existing PPS 0 referenced
- [h264 @ 0x3c2b320] decode_slice_header error
- [h264 @ 0x3c2b320] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c2b320] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c2b320] decode_slice_header error
- [h264 @ 0x3c2b320] no frame!
- [h264 @ 0x3c37b60] non-existing PPS 0 referenced
- Last message repeated 1 times
- [h264 @ 0x3c37b60] decode_slice_header error
- [h264 @ 0x3c37b60] no frame!
- [h264 @ 0x3c37b60] mmco: unref short failure
- Last message repeated 1 times
- [h264 @ 0x3c37b60] number of reference frames (0+4) exceeds max (3; probably corrupt input), discarding one
- [h264 @ 0x3c37b60] Reference 2 >= 2
- [h264 @ 0x3c37b60] error while decoding MB 2 5, bytestream 2400
- [mpegts @ 0x3c125a0] PES packet size mismatch
- Last message repeated 1 times
- [mpegts @ 0x3c125a0] Could not find codec parameters for stream 2 (Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p): unspecified frame size
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- Input #0, mpegts, from 'udp://@:4000':
- Duration: N/A, start: 69332.973111, bitrate: 224 kb/s
- Program 1
- Metadata:
- service_name : Service Name
- service_provider: Service Provider
- Stream #0:0[0x200]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 544x576 [SAR 16:11 DAR 136:99], 25 fps, 50 tbr, 90k tbn, 50 tbc
- Stream #0:1[0x28b]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 96 kb/s
- Stream #0:2[0x28c]: Audio: mp3 ([4][0][0][0] / 0x0004), 0 channels, s16p
- Program 2
- Metadata:
- service_name : Service Name
- service_provider: Service Provider
- Stream #0:3[0x20]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt470bg), 544x576 [SAR 16:11 DAR 136:99], 25 fps, 50 tbr, 90k tbn, 50 tbc
- Stream #0:4[0x21]: Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 128 kb/s
- Input #1, png_pipe, from 'http://static1.squarespace.com/static/53d8f957e4b095510e2cd695/54b51bbfe4b05235bedbde48/54b51bc1e4b05235bedbde4b/1421155265138/Logo_PNG_for_Watermark.png':
- Duration: N/A, bitrate: N/A
- Stream #1:0: Video: png, rgba, 297x288 [SAR 11811:11811 DAR 33:32], 25 tbr, 25 tbn, 25 tbc
- [libx264 @ 0x406a580] using SAR=34/33
- [libx264 @ 0x406a580] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
- [libx264 @ 0x406a580] profile Constrained Baseline, level 3.0
- [libx264 @ 0x406a580] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=abr mbtree=1 bitrate=200 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [libx264 @ 0x3e25660] using SAR=34/33
- [libx264 @ 0x3e25660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
- [libx264 @ 0x3e25660] profile Constrained Baseline, level 3.0
- [libx264 @ 0x3e25660] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=abr mbtree=1 bitrate=200 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [libx264 @ 0x3e90760] using SAR=34/33
- [libx264 @ 0x3e90760] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
- [libx264 @ 0x3e90760] profile Constrained Baseline, level 3.0
- [libx264 @ 0x3e90760] 264 - core 142 r2455 021c0dc - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=18 lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=25 keyint_min=13 scenecut=40 intra_refresh=0 rc_lookahead=25 rc=abr mbtree=1 bitrate=250 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40 aq=1:1.00
- [flv @ 0x402b2c0] at most one video stream is supported in flv
- Output #0, flv, to 'rtmp://<address>':
- Metadata:
- encoder : Lavf56.4.101
- Stream #0:0: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x240 [SAR 34:33 DAR 136:99], q=-1--1, 200 kb/s, 25 fps, 1k tbn, 25 tbc
- Metadata:
- encoder : Lavc56.1.100 libx264
- Stream #0:1: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p, 320x240 [SAR 34:33 DAR 136:99], q=-1--1, 200 kb/s, 25 fps, 25 tbn, 25 tbc
- Metadata:
- encoder : Lavc56.1.100 libx264
- Stream #0:2: Audio: aac (libfdk_aac) ([10][0][0][0] / 0x000A), 22050 Hz, stereo, s16, 64 kb/s
- Metadata:
- encoder : Lavc56.1.100 libfdk_aac
- Output #1, flv, to 'rtmp://<address>':
- Stream #1:0: Video: h264 (libx264), yuv420p, 640x480 [SAR 34:33 DAR 136:99], q=-1--1, 250 kb/s, 25 fps, 25 tbn, 25 tbc
- Metadata:
- encoder : Lavc56.1.100 libx264
- Stream #1:1: Audio: aac (libfdk_aac), 22050 Hz, stereo, s16, 64 kb/s
- Metadata:
- encoder : Lavc56.1.100 libfdk_aac
- Stream mapping:
- Stream #0:0 (h264) -> overlay:main (graph 0)
- Stream #0:0 (h264) -> overlay:main (graph 1)
- Stream #1:0 (png) -> scale (graph 0)
- Stream #1:0 (png) -> scale (graph 1)
- overlay (graph 0) -> Stream #0:0 (libx264)
- overlay (graph 1) -> Stream #0:1 (libx264)
- Stream #0:1 -> #0:2 (mp2 (native) -> aac (libfdk_aac))
- Stream #0:0 -> #1:0 (h264 (native) -> h264 (libx264))
- Stream #0:1 -> #1:1 (mp2 (native) -> aac (libfdk_aac))
- Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement