Sat Nov 17, 2012 12:08 am by sam_tv
			
			
			zip wrote:post result of 
-   Code:
 ffmpeg -i "rtmp://video2.earthcam.com/fecnetwork/4017timessquare.flv.flv pageUrl=http://www.earthcam.com swfUrl=http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf?20120504_a live=1"
 
Hi this is the result:
-   Code:
 C:\Program Files\Serviio\lib>ffmpeg -i "rtmp://video2.earthcam.com/fecnetwork/40
17timessquare.flv.flv pageUrl=http://www.earthcam.com swfUrl=http://www.earthcam
.com/swf/cam_player_v2/ecnPlayer.swf?20120504_a live=1"
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jul 10 2012 03:40:45 with gcc 4.6.3
  configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 64.100 / 51. 64.100
  libavcodec     54. 33.100 / 54. 33.100
  libavformat    54. 15.102 / 54. 15.102
  libavdevice    54.  1.100 / 54.  1.100
  libavfilter     3.  1.100 /  3.  1.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Metadata:
  videocodecid          avc1
  width                 800.00
  height                450.00
  frameWidth            800.00
  frameHeight           450.00
  displayWidth          800.00
  displayHeight         450.00
  audiochannels         1.00
  audiosamplerate       16000.00
  audiocodecid          mp4a
trackinfo:
  timescale             90000.00
  language              eng
sampledescription:
  sampletype            H264
  type                  video
  profile-level-id      420014
  sprop-parameter-sets  Z0IAFOKQGQd/EYC3AQEB4eJEVA==,aM48gA==
  description           {H264CodecConfigInfo: profile: "Baseline", level: 2.0, f
rameSize: 800x450, displaySize: 800x450, PAR: 1:1, crop: l:0 r:0 t:0 b:7}
  timescale             16000.00
  language              eng
sampledescription:
  sampletype            MPEG4-GENERIC
  type                  audio
  config                1408
  description           {AACFrame: size: 0, rate: 16000, channels: 1, samples: 1
024, errorBitsAbsent: true, profileObjectType: "LC"}
rtpsessioninfo:
  connectiondata        IN IP4 204.107.64.58
  information           -
  name                  Live
  origin                - 867497653 867497653 IN IP4 127.0.0.1
  timing                0 0
  protocolversion       0
attributes:
  x-qt-text-cmt         source application:H.264 Encoder
  x-qt-text-inf         -
  x-qt-text-nam         Live
  x-qt-text-cpy         2011
  x-qt-text-aut         EarthCam
[flv @ 0199C060] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://video2.earthcam.com/fecnetwork/4017timessquare.flv.f
lv pageUrl=http://www.earthcam.com swfUrl=http://www.earthcam.com/swf/cam_player
_v2/ecnPlayer.swf?20120504_a live=1':
  Metadata:
    frameWidth      : 800
    frameHeight     : 450
    displayWidth    : 800
    displayHeight   : 450
    audiochannels   : 1
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: h264 (Baseline), yuvj420p, 800x450 [SAR 1:1 DAR 16:9], 1
4.99 tbr, 1k tbn, 2k tbc
    Stream #0:1: Audio: aac, 16000 Hz, mono, s16
At least one output file must be specified
jhb50 wrote:The stream plays fine for me on mediabrowser, and ffmpeg reports it as a valid avc/aac.flv stream.  However flv is is not a valid stream according to samsungs documentation even though most C/D series play avc.flv streams ok, but perhaps yours does not, so you could try removing this line from the profile which will then cause the file to be transcoded to mpeg2video.
<Matches container="flv" vCodec="h264" />
That SOLVED the problem  
 I thought that the "OnlineTranscoding" in the profile is controlling live streaming.
What is "OnlineTranscoding" is for?
Again, Thank you.