FAQ  •  Register  •  Login

Is it a transcoding problem? Flv live stream

<<

sam_tv

Serviio newbie

Posts: 11

Joined: Tue Nov 06, 2012 2:53 pm

Post Thu Nov 15, 2012 11:39 am

Is it a transcoding problem? Flv live stream

I'm trying to watch this live stream from EarthCam, on my Samsung d5500 Led tv,
but i get an error: ""video codec not supported"
  Code:
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


Is it related to a transcoding problem, like it says here?
viewtopic.php?f=10&t=3618
https://bitbucket.org/xnejp03/serviio/i ... transcoded

If yes, how can i fix it? what should i change/add in the profile ?

Please help :-)
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Nov 16, 2012 1:12 pm

Re: Is it a transcoding problem? Flv live stream

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"
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Nov 16, 2012 5:10 pm

Re: Is it a transcoding problem? Flv live stream

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" />
<<

sam_tv

Serviio newbie

Posts: 11

Joined: Tue Nov 06, 2012 2:53 pm

Post Sat Nov 17, 2012 12:08 am

Re: Is it a transcoding problem? Flv live stream

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 :D
I thought that the "OnlineTranscoding" in the profile is controlling live streaming.
What is "OnlineTranscoding" is for?

Again, Thank you.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Nov 17, 2012 12:20 am

Re: Is it a transcoding problem? Flv live stream

For additional rules required for online. After they are applied(if any) the regular transcoding rules are then applied. First rule that fits is used.
<<

sam_tv

Serviio newbie

Posts: 11

Joined: Tue Nov 06, 2012 2:53 pm

Post Sun Nov 18, 2012 8:28 pm

Re: Is it a transcoding problem? Flv live stream

Thank you :)
<<

sam_tv

Serviio newbie

Posts: 11

Joined: Tue Nov 06, 2012 2:53 pm

Post Tue Jan 08, 2013 12:25 pm

Re: Is it a transcoding problem? Flv live stream

Hi

After upgrading to serviio 1.1, i'm getting this "video codec not supported" error again.
I checked and in the profile the line " <Matches container="flv" vCodec="h264" />" does not appear.
anyone know what is the problem?

Just to remind, my tv is Samsung LED D5500 46" .

Here is the ffmpeg run:

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmp://video2.earthcam.com/fecnetwork/hd
times11.flv.flv swfUrl=http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf p
ageUrl=http://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet 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      420029
  sprop-parameter-sets  Z0IAKeKQGQd/EYC3AQEB4eJEVA==,aM48gA==
  description           {H264CodecConfigInfo: profile: "Baseline", level: 4.1, 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:
  emailaddress          NONE
  name                  Media Presentation
  origin                - 1357630902964703 1357630902964703 IN IP4 155.229.76.14

  timing                0 0
  protocolversion       0
attributes:
  range                 npt=0.000000-
[flv @ 01A0C080] Estimating duration from bitrate, this may be inaccurate
Input #0, flv, from 'rtmp://video2.earthcam.com/fecnetwork/hdtimes11.flv.flv swf
Url=http://www.earthcam.com/swf/cam_player_v2/ecnPlayer.swf pageUrl=http://www.e
arthcam.com/usa/newyork/timessquare/?cam=tsstreet 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


Thank you.

EDIT: I just installed serviio 1.01, and it's working with it. what went wrong with the newer version (1.1) ?

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.