Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffserver.conf:
- HTTPPort 8090
- HTTPBindAddress 0.0.0.0
- MaxClients 1000
- MaxBandWidth 1000
- CustomLog -
- <Feed feed1.ffm>
- File /tmp/feed1.ffm
- FileMaxSize 20M
- ACL allow 127.0.0.1
- </Feed>
- <Stream live.flv>
- Format flv
- Feed feed1.ffm
- VideoCodec libx264
- VideoFrameRate 30
- VideoBitRate 512
- VideoSize 320x240
- AVOptionVideo crf 23
- AVOptionVideo preset medium
- # for more info on crf/preset options, type: x264 --help
- AVOptionVideo flags +global_header
- AudioCodec aac
- Strict -2
- AudioBitRate 128
- AudioChannels 2
- AudioSampleRate 44100
- AVOptionAudio flags +global_header
- </Stream>
- <Stream stat.html>
- Format status
- ACL allow localhost
- </Stream>
- =====================================================================================
- ffserver console output:
- $ ffserver -f ffserver.conf {1}
- ffserver version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
- built on Dec 23 2014 12:44:51 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
- configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libvo-aacenc --enable-vda
- libavutil 54. 15.100 / 54. 15.100
- libavcodec 56. 13.100 / 56. 13.100
- libavformat 56. 15.102 / 56. 15.102
- libavdevice 56. 3.100 / 56. 3.100
- libavfilter 5. 2.103 / 5. 2.103
- libavresample 2. 1. 0 / 2. 1. 0
- libswscale 3. 1.101 / 3. 1.101
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 3.100 / 53. 3.100
- ffserver.conf:32: Setting default value for video bit rate tolerance = 128000. Use NoDefaults to disable it.
- ffserver.conf:32: Setting default value for video rate control equation = tex^qComp. Use NoDefaults to disable it.
- ffserver.conf:32: Setting default value for video max rate = 1024000. Use NoDefaults to disable it.
- ffserver.conf:32: Setting default value for video buffer size = 1024000. Use NoDefaults to disable it.
- Mon Feb 2 13:35:06 2015 FFserver started.
- Mon Feb 2 13:35:39 2015 127.0.0.1 - - [GET] "/feed1.ffm HTTP/1.1" 200 4175
- Mon Feb 2 13:35:39 2015 127.0.0.1 - - [POST] "/feed1.ffm HTTP/1.1" 200 0
- =====================================================================================
- ffmpeg console output:
- $ ffmpeg -i movie.mp4 http://localhost:8090/feed1.ffm
- ffmpeg version 2.5.2 Copyright (c) 2000-2014 the FFmpeg developers
- built on Dec 23 2014 12:44:51 with Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn)
- configuration: --prefix=/usr/local/Cellar/ffmpeg/2.5.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libxvid --enable-libvo-aacenc --enable-vda
- libavutil 54. 15.100 / 54. 15.100
- libavcodec 56. 13.100 / 56. 13.100
- libavformat 56. 15.102 / 56. 15.102
- libavdevice 56. 3.100 / 56. 3.100
- libavfilter 5. 2.103 / 5. 2.103
- libavresample 2. 1. 0 / 2. 1. 0
- libswscale 3. 1.101 / 3. 1.101
- libswresample 1. 1.100 / 1. 1.100
- libpostproc 53. 3.100 / 53. 3.100
- Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
- Metadata:
- major_brand : isom
- minor_version : 512
- compatible_brands: isomiso2avc1mp41
- encoder : Lavf56.15.102
- Duration: 00:24:34.88, start: 0.000000, bitrate: 2896 kb/s
- Stream #0:0(jpn): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 960x720 [SAR 1:1 DAR 4:3], 2476 kb/s, 23.98 fps, 23.98 tbr, 16k tbn, 47.95 tbc (default)
- Metadata:
- handler_name : VideoHandler
- Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 414 kb/s (default)
- Metadata:
- handler_name : SoundHandler
- zsh: segmentation fault ffmpeg -i movie.mp4 http://localhost:8090/feed1.ffm
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement