Advertisement
Guest User

Untitled

a guest
Oct 30th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. $ ffserver -d -f /etc/ffserver.conf & ffmpeg -v verbose -r 30 -s 320x240 -f video4linux2 -i /dev/video0 http://localhost:8080/webcam.ffm
  2. [2] 2232
  3. ffserver version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  4. ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  5. built on Oct 3 2012 09:24:54 with gcc 4.6 (Debian 4.6.3-8+rpi1)
  6. configuration:
  7. libavutil 51. 73.101 / 51. 73.101
  8. libavcodec 54. 59.100 / 54. 59.100
  9. libavformat 54. 29.104 / 54. 29.104
  10. libavdevice 54. 2.101 / 54. 2.101
  11. built on Oct 3 2012 09:24:54 with gcc 4.6 (Debian 4.6.3-8+rpi1)
  12. configuration:
  13. libavutil 51. 73.101 / 51. 73.101
  14. libavcodec 54. 59.100 / 54. 59.100
  15. libavfilter 3. 17.100 / 3. 17.100
  16. libswscale 2. 1.101 / 2. 1.101
  17. libswresample 0. 15.100 / 0. 15.100
  18. libavformat 54. 29.104 / 54. 29.104
  19. libavdevice 54. 2.101 / 54. 2.101
  20. libavfilter 3. 17.100 / 3. 17.100
  21. libswscale 2. 1.101 / 2. 1.101
  22. libswresample 0. 15.100 / 0. 15.100
  23. [video4linux2,v4l2 @ 0x2a1f620] [3]Capabilities: 4000001
  24. bind(port 8080): Address already in use
  25. Sat Oct 27 23:37:44 2012 Could not start server
  26. [video4linux2,v4l2 @ 0x2a1f620] Estimating duration from bitrate, this may be inaccurate
  27. Input #0, video4linux2,v4l2, from '/dev/video0':
  28. Duration: N/A, start: 939.346718, bitrate: 36864 kb/s
  29. Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 36864 kb/s, 30 tbr, 1000k tbn, 30 tbc
  30. Sat Oct 27 23:37:48 2012 127.0.0.1 - - New connection: GET /webcam.ffm
  31. Sat Oct 27 23:37:48 2012 127.0.0.1 - - [GET] "/webcam.ffm HTTP/1.1" 200 16463
  32. Sat Oct 27 23:37:48 2012 127.0.0.1 - - New connection: POST /webcam.ffm
  33. [graph 0 input from stream 0:0 @ 0x2a21b40] w:320 h:240 pixfmt:yuyv422 tb:1/30 fr:30/1 sar:0/1 sws_param:flags=2
  34. [graph 0 input from stream 0:0 @ 0x2a21b40] TB:0.033333 FRAME_RATE:30.000000 SAMPLE_RATE:nan
  35. [scaler for output stream 0:0 @ 0x2a25120] w:320 h:240 fmt:yuyv422 sar:0/1 -> w:320 h:240 fmt:yuvj422p sar:0/1 flags:0x4
  36. Output #0, ffm, to 'http://localhost:8080/webcam.ffm':
  37. Metadata:
  38. encoder : Lavf54.29.104
  39. Stream #0:0: Video: mjpeg, yuvj422p, 320x240, q=1-10, 3200 kb/s, 1000k tbn, 30 tbc
  40. Stream mapping:
  41. Stream #0:0 -> #0:0 (rawvideo -> mjpeg)
  42. Press [q] to stop, [?] for help
  43. Sat Oct 27 23:38:01 2012 192.168.0.6 - - New connection: GET /webcam.mjpegbits/s
  44. The v4l2 frame is 367 bytes, but 153600 bytes are expected bitrate=3214.0kbits/s
  45. /dev/video0: Invalid data found when processing input
  46. No more output streams to write to, finishing.
  47. frame= 647 fps= 14 q=4.4 Lsize= 8464kB time=00:00:21.56 bitrate=3215.0kbits/s
  48. video:8421kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.511829%
  49. [2]+ Exit 1 ffserver -d -f /etc/ffserver.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement