Advertisement
Guest User

Untitled

a guest
Dec 21st, 2013
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. new@Desktop:~$ ffmpeg -i http://192.168.0.199:5004/auto/v39 http://localhost:8090/feed1.ffm
  2. ffmpeg version git-2013-12-12-d546a59 Copyright (c) 2000-2013 the FFmpeg developers
  3. built on Dec 13 2013 21:51:49 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
  4. configuration: --prefix=/home/new/ffmpeg_build --extra-cflags=-I/home/new/ffmpeg_build/include --extra-ldflags=-L/home/new/ffmpeg_build/lib --bindir=/home/new/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
  5. libavutil 52. 58.100 / 52. 58.100
  6. libavcodec 55. 45.101 / 55. 45.101
  7. libavformat 55. 22.100 / 55. 22.100
  8. libavdevice 55. 5.102 / 55. 5.102
  9. libavfilter 3. 92.100 / 3. 92.100
  10. libswscale 2. 5.101 / 2. 5.101
  11. libswresample 0. 17.104 / 0. 17.104
  12. libpostproc 52. 3.100 / 52. 3.100
  13. [mpeg2video @ 0x1d9c9a0] Invalid frame dimensions 0x0.
  14. Last message repeated 3 times
  15. [mpegts @ 0x1d8d980] Could not find codec parameters for stream 0 (Unknown: none (ETV1 / 0x31565445)): unknown codec
  16. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  17. [mpegts @ 0x1d8d980] Could not find codec parameters for stream 1 (Unknown: none (ETV1 / 0x31565445)): unknown codec
  18. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  19. [mpegts @ 0x1d8d980] Could not find codec parameters for stream 4 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
  20. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  21. Input #0, mpegts, from 'http://192.168.0.199:5004/auto/v39':
  22. Duration: N/A, start: 82296.989122, bitrate: 192 kb/s
  23. Program 8
  24. Stream #0:0[0x1093]: Unknown: none (ETV1 / 0x31565445)
  25. Stream #0:1[0x1094]: Unknown: none (ETV1 / 0x31565445)
  26. Stream #0:2[0x1095]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], max. 15000 kb/s, 29.83 fps, 59.94 tbr, 90k tbn, 59.94 tbc
  27. Stream #0:3[0x1096](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
  28. Stream #0:4[0x1097]: Unknown: none ([134][0][0][0] / 0x0086)
  29. [libvpx @ 0x1de8dc0] v1.2.0
  30. Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
  31. Metadata:
  32. creation_time : now
  33. encoder : Lavf55.22.100
  34. Stream #0:0(eng): Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 64 kb/s
  35. Stream #0:1: Video: vp8 (libvpx), yuv420p, 720x576 [SAR 16:15 DAR 4:3], q=10-42, 1000 kb/s, 1000k tbn, 29.97 tbc
  36. Stream mapping:
  37. Stream #0:3 -> #0:0 (ac3 -> libvorbis)
  38. Stream #0:2 -> #0:1 (mpeg2video -> libvpx)
  39. Press [q] to stop, [?] for help
  40. ^Cav_interleaved_write_frame(): Immediate exit requested90 bitrate= 954.3kbits/s dup=57 drop=0
  41. Received signal 2: terminating.
  42. new@Desktop:~$
  43.  
  44.  
  45.  
  46. And my ffserver.conf is
  47.  
  48.  
  49.  
  50. Port 8090 # Port to bind the server to
  51. BindAddress 0.0.0.0
  52. MaxHTTPConnections 2000
  53. MaxClients 1000
  54. MaxBandwidth 10000 # Maximum bandwidth per client
  55. # set this high enough to exceed stream bitrate
  56. CustomLog -
  57. NoDaemon # Remove this if you want FFserver to daemonize after start
  58.  
  59. <Feed feed1.ffm> # This is the input feed where FFmpeg will send
  60. File /tmp/feed1.ffm # video stream.
  61. FileMaxSize 1G # Maximum file size for buffering video
  62. #ACL allow 127.0.0.1 # Allowed IPs
  63. </Feed>
  64.  
  65. <Stream test.webm> # Output stream URL definition
  66. Feed feed1.ffm # Feed from which to receive video
  67. Format webm
  68.  
  69. # Audio settings
  70. AudioCodec vorbis
  71. AudioBitRate 64 # Audio bitrate
  72.  
  73. # Video settings
  74. VideoCodec libvpx
  75. VideoSize 720x576 # Video resolution
  76. VideoFrameRate 25 # Video FPS
  77. AVOptionVideo flags +global_header # Parameters passed to encoder
  78. # (same as ffmpeg command-line parameters)
  79. AVOptionVideo cpu-used 0
  80. AVOptionVideo qmin 10
  81. AVOptionVideo qmax 42
  82. AVOptionVideo quality good
  83. AVOptionAudio flags +global_header
  84. PreRoll 15
  85. StartSendOnKey
  86. VideoBitRate 1000 # Video bitrate
  87. </Stream>
  88.  
  89. <Stream status.html> # Server status URL
  90. Format status
  91. # Only allow local people to get the status
  92. ACL allow localhost
  93. ACL allow 192.168.0.0 192.168.255.255
  94. </Stream>
  95.  
  96. <Redirect index.html> # Just an URL redirect for index
  97. # Redirect index.html to the appropriate site
  98. URL http://www.ffmpeg.org/
  99. </Redirect>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement