Advertisement
lovesax

ffserver error (VideoSize Not Multiple of 16)

Aug 3rd, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. avuser@myserver:~/ffmpeg$ ffmpeg -i rtsp://192.168.21.19/live.sdp -c copy -v info http://localhost:8090/feed1.ffm
  2. ffmpeg version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  3. built on Jul 25 2014 00:29:01 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  4. 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
  5. libavutil 52. 92.101 / 52. 92.101
  6. libavcodec 55. 69.100 / 55. 69.100
  7. libavformat 55. 49.100 / 55. 49.100
  8. libavdevice 55. 13.102 / 55. 13.102
  9. libavfilter 4. 11.102 / 4. 11.102
  10. libswscale 2. 6.100 / 2. 6.100
  11. libswresample 0. 19.100 / 0. 19.100
  12. libpostproc 52. 3.100 / 52. 3.100
  13. Input #0, rtsp, from 'rtsp://192.168.21.19/live.sdp':
  14. Metadata:
  15. title : RTSP server
  16. Duration: N/A, start: 0.000000, bitrate: N/A
  17. Stream #0:0: Video: mpeg4 (Simple Profile), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 tbr, 30k tbn, 30k tbc
  18. Stream #0:1: Audio: aac, 8000 Hz, stereo, fltp
  19. Stream #0:2: Data: none
  20. [tcp @ 0x25d9200] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
  21. [tcp @ 0x25d9200] Connection to tcp://localhost:8090 failed: Connection refused
  22. http://localhost:8090/feed1.ffm: Input/output error
  23.  
  24. --
  25.  
  26. ffserver version 2.2.git Copyright (c) 2000-2014 the FFmpeg developers
  27. built on Jul 25 2014 00:29:01 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  28. 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
  29. libavutil 52. 92.101 / 52. 92.101
  30. libavcodec 55. 69.100 / 55. 69.100
  31. libavformat 55. 49.100 / 55. 49.100
  32. libavdevice 55. 13.102 / 55. 13.102
  33. libavfilter 4. 11.102 / 4. 11.102
  34. libswscale 2. 6.100 / 2. 6.100
  35. libswresample 0. 19.100 / 0. 19.100
  36. libpostproc 52. 3.100 / 52. 3.100
  37. ffserver.conf:25: Image size must be a multiple of 16
  38. Error reading configuration file 'ffserver.conf': Invalid argument
  39.  
  40. --
  41.  
  42. ffserver.conf:
  43. Port 8090
  44. BindAddress 0.0.0.0
  45. MaxHTTPConnections 200
  46. MaxClients 100
  47. MaxBandwidth 10000
  48.  
  49. CustomLog -
  50.  
  51. <Feed feed1.ffm>
  52. ACL allow 127.0.0.1
  53. </Feed>
  54.  
  55. <Stream video.mpg>
  56. Format mpeg
  57. Feed feed1.ffm
  58. AudioBitRate 16
  59. AudioChannels 2
  60. AudioSampleRate 8000
  61. AudioCodec aac
  62.  
  63. AVOptionVideo flags +global_header
  64. VideoCodec mpeg4
  65. VideoBitRate 10000K
  66. VideoFrameRate 30
  67. VideoSize hd1080
  68. </Stream>
  69.  
  70. # Server status
  71.  
  72. <Stream stat.html>
  73. Format status
  74.  
  75. # Only allow local people to get the status
  76. ACL allow localhost
  77. ACL allow 192.168.0.0 192.168.255.255
  78.  
  79. FaviconURL http://pond1.gladstonefamily.net:8080/favicon.ico
  80. </Stream>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement