Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffserver.conf:
- Port 8090
- BindAddress 0.0.0.0
- MaxHTTPConnections 200
- MaxClients 100
- MaxBandwidth 100000
- CustomLog -
- <Feed feed_h264.ffm>
- ACL allow 127.0.0.1
- </Feed>
- <Feed feed_vp8.ffm>
- ACL allow 127.0.0.1
- </Feed>
- <Stream video.ts>
- Format mpegts
- Feed feed_h264.ffm
- VideoCodec libx264
- VideoBitRate 10000K
- VideoFrameRate 30
- VideoSize 1920x1088
- VideoBufferSize 40
- VideoFrameRate 30
- VideoQMin 3
- VideoQMax 31
- VideoHighQuality
- VideoGopSize 15
- AVOptionVideo flags +global_header
- AudioCodec aac
- AudioBitRate 16
- AudioChannels 2
- AudioSampleRate 16000
- AVOptionAudio flags +global_header
- </Stream>
- <Stream video.webm>
- Format webm
- Feed feed_vp8.ffm
- VideoCodec libvpx
- VideoSize 1280x720
- VideoFrameRate 20
- AVOptionVideo qmin 10
- AVOptionVideo qmax 42
- AVOptionVideo quality good
- AVOptionVideo flags +global_header
- AudioCodec vorbis
- AudioBitRate 64
- AudioChannels 1
- AVOptionAudio flags +global_header
- </Stream>
- # Server status
- <Stream stat.html>
- Format status
- # Only allow local people to get the status
- ACL allow localhost
- ACL allow 192.168.0.0 192.168.255.255
- FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
- </Stream>
- --
- Command line and output:
- ~/ffmpeg$ ffmpeg -i rtsp://192.168.21.19/live.sdp -threads 0 http://localhost:8090/feed_vp8.ffm
- ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
- built on Jul 25 2014 00:29:01 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
- configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
- libavutil 52. 92.101 / 52. 92.101
- libavcodec 55. 69.100 / 55. 69.100
- libavformat 55. 49.100 / 55. 49.100
- libavdevice 55. 13.102 / 55. 13.102
- libavfilter 4. 11.102 / 4. 11.102
- libswscale 2. 6.100 / 2. 6.100
- libswresample 0. 19.100 / 0. 19.100
- libpostproc 52. 3.100 / 52. 3.100
- Input #0, rtsp, from 'rtsp://192.168.21.19/live.sdp':
- Metadata:
- title : RTSP server
- Duration: N/A, start: 0.000000, bitrate: N/A
- Stream #0:0: Video: h264 (High), yuv420p, 1920x1080, 29.97 tbr, 90k tbn, 180k tbc
- Stream #0:1: Audio: aac, 16000 Hz, stereo, fltp
- Stream #0:2: Data: none
- [tcp @ 0x37b1e80] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
- [tcp @ 0x3972fe0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
- [libvpx @ 0x39b34a0] v1.3.0
- [libvpx @ 0x39b34a0] Failed to set VP8E_SET_ARNR_TYPE codec control: Invalid parameter
- [libvpx @ 0x39b34a0] Additional information: arnr_type out of range [1..3]
- Output #0, ffm, to 'http://localhost:8090/feed_vp8.ffm':
- Metadata:
- title : RTSP server
- creation_time : now
- encoder : Lavf55.49.100
- Stream #0:0: Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 64 kb/s
- Metadata:
- encoder : Lavc55.69.100 libvorbis
- Stream #0:1: Video: vp8 (libvpx), yuv420p, 1280x720, q=10-42, 128 kb/s, 29.97 fps, 1000k tbn, 29.97 tbc
- Metadata:
- encoder : Lavc55.69.100 libvpx
- Stream mapping:
- Stream #0:1 -> #0:0 (aac (native) -> vorbis (libvorbis))
- Stream #0:0 -> #0:1 (h264 (native) -> vp8 (libvpx))
- Press [q] to stop, [?] for help
- [libvorbis @ 0x39b2960] Queue input is backward in time
- [ffm @ 0x3823aa0] Non-monotonous DTS in output stream 0:0; previous: 46440, current: -136; changing to 46441. This may result in incorrect timestamps in the output file.
- [ffm @ 0x3823aa0] Non-monotonous DTS in output stream 0:0; previous: 46441, current: 23084; changing to 46442. This may result in incorrect timestamps in the output file.
- [ffm @ 0x3823aa0] Non-monotonous DTS in output stream 0:0; previous: 46442, current: 46304; changing to 46443. This may result in incorrect timestamps in the output file.
- [NULL @ 0x37bd780] RTP: missed 1315 packetsime=00:00:00.90 bitrate= 649.7kbits/s
- [h264 @ 0x4ce8b00] error while decoding MB 12 5, bytestream -32
- [h264 @ 0x4ce8b00] concealing 7597 DC, 7597 AC, 7597 MV errors in I frame
- [NULL @ 0x37bd780] RTP: missed 56 packets
- [h264 @ 0x4d7ca60] error while decoding MB 118 66, bytestream -12
- [h264 @ 0x4d7ca60] Cannot use next picture in error concealment
- [h264 @ 0x4d7ca60] concealing 171 DC, 171 AC, 171 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 28 packets
- [NULL @ 0x37bd780] RTP: missed 61 packets
- [h264 @ 0x4ea4920] Cannot use next picture in error concealment
- [h264 @ 0x4ea4920] concealing 3532 DC, 3532 AC, 3532 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 39 packets
- [h264 @ 0x4f38880] Cannot use next picture in error concealment
- [h264 @ 0x4f38880] concealing 1537 DC, 1537 AC, 1537 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 52 packets
- [h264 @ 0x4fcc7e0] error while decoding MB 106 10, bytestream -10
- [h264 @ 0x4fcc7e0] Cannot use next picture in error concealment
- [h264 @ 0x4fcc7e0] concealing 6903 DC, 6903 AC, 6903 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 39 packets time=00:00:00.90 bitrate= 685.8kbits/s
- [h264 @ 0x5060740] error while decoding MB 94 36, bytestream -7
- [h264 @ 0x5060740] Cannot use next picture in error concealment
- [h264 @ 0x5060740] concealing 3795 DC, 3795 AC, 3795 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 90 packets
- [h264 @ 0x50f46a0] error while decoding MB 10 34, bytestream -22
- [h264 @ 0x50f46a0] concealing 4119 DC, 4119 AC, 4119 MV errors in I frame
- [NULL @ 0x37bd780] RTP: missed 47 packets
- [h264 @ 0x5188600] error while decoding MB 30 30, bytestream -12
- [h264 @ 0x5188600] Cannot use next picture in error concealment
- [h264 @ 0x5188600] concealing 4579 DC, 4579 AC, 4579 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 64 packets
- [h264 @ 0x4ae7ca0] error while decoding MB 39 33, bytestream -6
- [h264 @ 0x4ae7ca0] Cannot use next picture in error concealment
- [h264 @ 0x4ae7ca0] concealing 4210 DC, 4210 AC, 4210 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 47 packets
- [NULL @ 0x37bd780] RTP: missed 67 packets
- [NULL @ 0x37bd780] RTP: missed 63 packets
- [h264 @ 0x4bc0c40] Cannot use next picture in error concealment
- [h264 @ 0x4bc0c40] concealing 4012 DC, 4012 AC, 4012 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 35 packets time=00:00:01.00 bitrate= 883.9kbits/s
- [h264 @ 0x4c54ba0] error while decoding MB 34 48, bytestream -8
- [h264 @ 0x4c54ba0] Cannot use next picture in error concealment
- [h264 @ 0x4c54ba0] concealing 2415 DC, 2415 AC, 2415 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 31 packets
- [NULL @ 0x37bd780] RTP: missed 55 packets time=00:00:02.50 bitrate= 353.5kbits/s dup=43 drop=0
- [h264 @ 0x4e109c0] error while decoding MB 43 48, bytestream -10
- [h264 @ 0x4e109c0] Cannot use next picture in error concealment
- [h264 @ 0x4e109c0] concealing 2406 DC, 2406 AC, 2406 MV errors in P frame
- [h264 @ 0x4d7ca60] error while decoding MB 51 57, bytestream -8
- [h264 @ 0x4d7ca60] Cannot use next picture in error concealment
- [h264 @ 0x4d7ca60] concealing 1318 DC, 1318 AC, 1318 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 1784 packets
- [h264 @ 0x4ea4920] error while decoding MB 30 46, bytestream -12
- [h264 @ 0x4ea4920] Cannot use next picture in error concealment
- [h264 @ 0x4ea4920] concealing 2659 DC, 2659 AC, 2659 MV errors in P frame
- [NULL @ 0x37be4c0] RTP: missed 21 packets
- [NULL @ 0x37bd780] RTP: missed 921 packetstime=00:00:06.22 bitrate= 231.7kbits/s dup=59 drop=0
- [h264 @ 0x4ae7ca0] Cannot use next picture in error concealment
- [h264 @ 0x4ae7ca0] concealing 3913 DC, 3913 AC, 3913 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 125 packets
- [h264 @ 0x4b2cce0] error while decoding MB 96 26, bytestream -14
- [h264 @ 0x4b2cce0] Cannot use next picture in error concealment
- [h264 @ 0x4b2cce0] concealing 4993 DC, 4993 AC, 4993 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 90 packets time=00:00:06.22 bitrate= 242.2kbits/s dup=62 drop=0
- [NULL @ 0x37bd780] RTP: missed 217 packets
- [h264 @ 0x4ce8b00] Cannot use next picture in error concealment
- [h264 @ 0x4ce8b00] concealing 6271 DC, 6271 AC, 6271 MV errors in P frame
- [h264 @ 0x4bc0c40] error while decoding MB 42 46, bytestream -6
- [h264 @ 0x4bc0c40] Cannot use next picture in error concealment
- [h264 @ 0x4bc0c40] concealing 2647 DC, 2647 AC, 2647 MV errors in P frame
- [NULL @ 0x37bd780] RTP: missed 60 packets
- [h264 @ 0x4d7ca60] error while decoding MB 92 44, bytestream -6
- [h264 @ 0x4d7ca60] Cannot use next picture in error concealment
- [h264 @ 0x4d7ca60] concealing 2837 DC, 2837 AC, 2837 MV errors in P frame
- frame= 178 fps= 14 q=0.0 Lsize= 264kB time=00:00:08.23 bitrate= 262.6kbits/s dup=139 drop=0
- video:213kB audio:38kB subtitle:0kB other streams:0kB global headers:4kB muxing overhead: 5.116710%
- Received signal 2: terminating.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement