Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I am running following command and got errors :
- satinder@satinder-mediaRanger:~/Downloads$ ffmpeg -i ../video.mp4 -f rtsp -rtsp_transport tcp rtsp://localhost:8888
- ffmpeg version N-77491-gf16e4a0 Copyright (c) 2000-2015 the FFmpeg developers
- built with gcc 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
- configuration: --prefix=/home/satinder/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/satinder/ffmpeg_build/include --extra-ldflags=-L/home/satinder/ffmpeg_build/lib --bindir=/home/satinder/bin --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree
- libavutil 55. 11.100 / 55. 11.100
- libavcodec 57. 20.100 / 57. 20.100
- libavformat 57. 20.100 / 57. 20.100
- libavdevice 57. 0.100 / 57. 0.100
- libavfilter 6. 22.100 / 6. 22.100
- libswscale 4. 0.100 / 4. 0.100
- libswresample 2. 0.101 / 2. 0.101
- libpostproc 54. 0.100 / 54. 0.100
- Input #0, mpegts, from '../video.mp4':
- Duration: 00:02:43.07, start: 1.533333, bitrate: 573 kb/s
- Program 1
- Metadata:
- service_name : Service01
- service_provider: FFmpeg
- Stream #0:0[0x100]: Video: h264 (High 4:2:2) ([27][0][0][0] / 0x001B), yuv422p, 640x480, 30 fps, 30 tbr, 90k tbn, 60 tbc
- [tcp @ 0x28c3ba0] Connection to tcp://localhost:8888?timeout=0 failed: Connection refused
- Output #0, rtsp, to 'rtsp://localhost:8888':
- Metadata:
- encoder : Lavf57.20.100
- Stream #0:0: Video: mpeg4, yuv420p, 640x480, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
- Metadata:
- encoder : Lavc57.20.100 mpeg4
- Side data:
- unknown side data type 10 (24 bytes)
- Stream mapping:
- Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
- Could not write header for output file #0 (incorrect codec parameters ?): Connection refused
Add Comment
Please, Sign In to add comment