Advertisement
Guest User

Untitled

a guest
Jun 26th, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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
  2. ffmpeg version git-2013-03-28-dd17843 Copyright (c) 2000-2013 the FFmpeg developers
  3. built on Mar 28 2013 15:00:45 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  4. 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
  5. libavutil 52. 22.101 / 52. 22.101
  6. libavcodec 55. 2.100 / 55. 2.100
  7. libavformat 55. 0.100 / 55. 0.100
  8. libavdevice 55. 0.100 / 55. 0.100
  9. libavfilter 3. 48.105 / 3. 48.105
  10. libswscale 2. 2.100 / 2. 2.100
  11. libswresample 0. 17.102 / 0. 17.102
  12. libpostproc 52. 2.100 / 52. 2.100
  13. [rtsp @ 0x1172a60] Estimating duration from bitrate, this may be inaccurate
  14. Guessed Channel Layout for Input Stream #0.1 : mono
  15. Input #0, rtsp, from 'rtsp://10.2.2.20:81':
  16. Metadata:
  17. title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
  18. Duration: N/A, start: 0.000000, bitrate: 64 kb/s
  19. Stream #0:0: Video: h264 (Constrained Baseline), yuv420p, 640x480, 15 tbr, 90k tbn, 180k tbc
  20. Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
  21. Output #0, segment, to 'segs/stream%05d.ts':
  22. Metadata:
  23. title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
  24. encoder : Lavf55.0.100
  25. Stream #0:0: Video: h264, yuv420p, 640x480, q=2-31, 90k tbn, 90k tbc
  26. Stream #0:1: Audio: mp3, 44100 Hz, mono, s16p
  27. Output #1, flv, to 'tcp://10.2.2.2:6666':
  28. Metadata:
  29. title : h264 stream by H.264/MJPEG RTSP stream(ipcamera)
  30. streamName : test
  31. Stream #1:0: Video: flv1, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 15 tbc
  32. Stream #1:1: Audio: mp3, 8000 Hz, mono, s16p
  33. Stream mapping:
  34. Stream #0:0 -> #0:0 (copy)
  35. Stream #0:1 -> #0:1 (pcm_mulaw -> libmp3lame)
  36. Stream #0:0 -> #1:0 (h264 -> flv)
  37. Stream #0:1 -> #1:1 (pcm_mulaw -> libmp3lame)
  38. 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