Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new@Desktop:~$ ffmpeg -i http://192.168.0.199:5004/auto/v39 http://localhost:8090/feed1.ffm
- ffmpeg version git-2013-12-12-d546a59 Copyright (c) 2000-2013 the FFmpeg developers
- built on Dec 13 2013 21:51:49 with gcc 4.8 (Ubuntu/Linaro 4.8.1-10ubuntu9)
- 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
- libavutil 52. 58.100 / 52. 58.100
- libavcodec 55. 45.101 / 55. 45.101
- libavformat 55. 22.100 / 55. 22.100
- libavdevice 55. 5.102 / 55. 5.102
- libavfilter 3. 92.100 / 3. 92.100
- libswscale 2. 5.101 / 2. 5.101
- libswresample 0. 17.104 / 0. 17.104
- libpostproc 52. 3.100 / 52. 3.100
- [mpeg2video @ 0x1d9c9a0] Invalid frame dimensions 0x0.
- Last message repeated 3 times
- [mpegts @ 0x1d8d980] Could not find codec parameters for stream 0 (Unknown: none (ETV1 / 0x31565445)): unknown codec
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- [mpegts @ 0x1d8d980] Could not find codec parameters for stream 1 (Unknown: none (ETV1 / 0x31565445)): unknown codec
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- [mpegts @ 0x1d8d980] Could not find codec parameters for stream 4 (Unknown: none ([134][0][0][0] / 0x0086)): unknown codec
- Consider increasing the value for the 'analyzeduration' and 'probesize' options
- Input #0, mpegts, from 'http://192.168.0.199:5004/auto/v39':
- Duration: N/A, start: 82296.989122, bitrate: 192 kb/s
- Program 8
- Stream #0:0[0x1093]: Unknown: none (ETV1 / 0x31565445)
- Stream #0:1[0x1094]: Unknown: none (ETV1 / 0x31565445)
- 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
- Stream #0:3[0x1096](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
- Stream #0:4[0x1097]: Unknown: none ([134][0][0][0] / 0x0086)
- [libvpx @ 0x1de8dc0] v1.2.0
- Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
- Metadata:
- creation_time : now
- encoder : Lavf55.22.100
- Stream #0:0(eng): Audio: vorbis (libvorbis), 22050 Hz, mono, fltp, 64 kb/s
- 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
- Stream mapping:
- Stream #0:3 -> #0:0 (ac3 -> libvorbis)
- Stream #0:2 -> #0:1 (mpeg2video -> libvpx)
- Press [q] to stop, [?] for help
- ^Cav_interleaved_write_frame(): Immediate exit requested90 bitrate= 954.3kbits/s dup=57 drop=0
- Received signal 2: terminating.
- new@Desktop:~$
- And my ffserver.conf is
- Port 8090 # Port to bind the server to
- BindAddress 0.0.0.0
- MaxHTTPConnections 2000
- MaxClients 1000
- MaxBandwidth 10000 # Maximum bandwidth per client
- # set this high enough to exceed stream bitrate
- CustomLog -
- NoDaemon # Remove this if you want FFserver to daemonize after start
- <Feed feed1.ffm> # This is the input feed where FFmpeg will send
- File /tmp/feed1.ffm # video stream.
- FileMaxSize 1G # Maximum file size for buffering video
- #ACL allow 127.0.0.1 # Allowed IPs
- </Feed>
- <Stream test.webm> # Output stream URL definition
- Feed feed1.ffm # Feed from which to receive video
- Format webm
- # Audio settings
- AudioCodec vorbis
- AudioBitRate 64 # Audio bitrate
- # Video settings
- VideoCodec libvpx
- VideoSize 720x576 # Video resolution
- VideoFrameRate 25 # Video FPS
- AVOptionVideo flags +global_header # Parameters passed to encoder
- # (same as ffmpeg command-line parameters)
- AVOptionVideo cpu-used 0
- AVOptionVideo qmin 10
- AVOptionVideo qmax 42
- AVOptionVideo quality good
- AVOptionAudio flags +global_header
- PreRoll 15
- StartSendOnKey
- VideoBitRate 1000 # Video bitrate
- </Stream>
- <Stream status.html> # Server status URL
- Format status
- # Only allow local people to get the status
- ACL allow localhost
- ACL allow 192.168.0.0 192.168.255.255
- </Stream>
- <Redirect index.html> # Just an URL redirect for index
- # Redirect index.html to the appropriate site
- URL http://www.ffmpeg.org/
- </Redirect>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement