Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@nwss-i3-01:/etc/crtmpserver/applications# ffmpeg -i "rtsp://10.2.2.20:81" -rtsp_transport tcp -c:v copy -c:a libmp3lame -ar 44100 -map 0 -f segment -segment_list /var/www/httplive/stream.m3u8 -segment_time 2 -segment_wrap 5 -segment_format mpegts segs/stream%05d.ts -f flv -map 0 -metadata streamName=test tcp://10.2.2.2:6666
- ffmpeg version git-2013-03-28-dd17843 Copyright (c) 2000-2013 the FFmpeg developers
- built on Mar 28 2013 15:00:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
- configuration: --enable-shared --enable-gpl --enable-nonfree --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-pthreads --enable-encoder=mpeg4 --enable-encoder=aac --enable-encoder=ac3
- 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
- [rtsp @ 0x1172a60] Estimating duration from bitrate, this may be inaccurate
- Guessed Channel Layout for Input Stream #0.1 : mono
- Input #0, rtsp, from 'rtsp://10.2.2.20:81':
- Metadata:
- title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
- Duration: N/A, start: 0.000000, bitrate: 64 kb/s
- Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 15 tbr, 90k tbn, 180k tbc
- Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
- Output #0, segment, to 'segs/stream%05d.ts':
- Metadata:
- title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
- encoder : Lavf55.0.100
- Stream #0:0: Video: h264, yuv420p, 640x480, q=2-31, 90k tbn, 90k tbc
- Stream #0:1: Audio: mp3, 44100 Hz, mono, s16p
- Output #1, flv, to 'tcp://10.2.2.2:6666':
- Metadata:
- title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
- streamName : test
- Stream #1:0: Video: flv1, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 15 tbc
- Stream #1:1: Audio: mp3, 8000 Hz, mono, s16p
- Stream mapping:
- Stream #0:0 -> #0:0 (copy)
- Stream #0:1 -> #0:1 (pcm_mulaw -> libmp3lame)
- Stream #0:0 -> #1:0 (h264 -> flv)
- Stream #0:1 -> #1:1 (pcm_mulaw -> libmp3lame)
- Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement