akagi201@akrmbp ~/Downloads $ ffplay rtsp://192.168.1.210/ch1/main
ffplay version git-2014-09-22-6b2caa3 Copyright (c) 2003-2014 the FFmpeg developers
built on Sep 23 2014 14:19:40 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-openssl --enable-libopus --enable-frei0r --enable-libcaca --enable-libquvi --enable-libvidstab --enable-libx265 --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 54. 7.101 / 54. 7.101
libavcodec 56. 1.101 / 56. 1.101
libavformat 56. 4.103 / 56. 4.103
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.102 / 5. 1.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, rtsp, from 'rtsp://192.168.1.210/ch1/main': 0B f=0/0
Metadata:
title : Media Presentation
Duration: N/A, start: 0.032000, bitrate: 64 kb/s
Stream #0:0: Video: h264 (Baseline), yuv420p, 1280x960, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
Stream #0:2: Data: none
2.28 A-V: 0.012 fd= 29 aq= 11KB vq= 328KB sq= 0B f=1/1
akagi201@akrmbp ~/Downloads $
akagi201@akrmbp ~/Downloads $ ffmpeg -re -i test.m4v -acodec copy -vcodec copy -f flv rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh
zsh: no matches found: rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh
akagi201@akrmbp ~/Downloads $ ffmpeg -re -i test.m4v -acodec copy -vcodec copy -f flv rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh
zsh: no matches found: rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh
akagi201@akrmbp ~/Downloads $ ffmpeg -re -i test.m4v -acodec copy -vcodec copy -f flv "rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh"
ffmpeg version git-2014-09-22-6b2caa3 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 23 2014 14:19:40 with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid --enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc --enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger --enable-libfdk-aac --enable-openssl --enable-libopus --enable-frei0r --enable-libcaca --enable-libquvi --enable-libvidstab --enable-libx265 --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
libavutil 54. 7.101 / 54. 7.101
libavcodec 56. 1.101 / 56. 1.101
libavformat 56. 4.103 / 56. 4.103
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.102 / 5. 1.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.m4v':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf55.48.100
Duration: 00:01:29.32, start: 0.105375, bitrate: 1869 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1920x816, 1821 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 50 kb/s (default)
Metadata:
handler_name : SoundHandler
Closing connection: NetStream.Failed
rtmp://115.238.155.183:49187/livestream/f70p5cb5?key=gMtEwDsh: Unknown error occurred