FAQ  •  Register  •  Login

Plugins for New Zealand telly

<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Thu Oct 13, 2011 8:52 am

Plugins for New Zealand telly

Hi guys

I would really appreciate if someone could have a go at creating a couple of plugins for New Zealand telly. These are On demand websites, below are the links....

http://tvnz.co.nz/video
http://ondemand.tv3.co.nz/#
http://ondemand.four.co.nz/tabid/57/default.aspx

Thanks very much for your help.
Cheers
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Mon Oct 17, 2011 9:02 am

Re: Plugins for New Zealand telly

Hi again

It looks like I need to supply RSS feeds for this to work so below are some (or at least I think they are)...

http://tvnz.co.nz/content/ondemand_catch_up/ta_ent_atom_skin.atom

http://tvnz.co.nz/content/ta_ent_shows_ondemand_group/ta_ent_all_shows_index_skin.xhtml

http://feeds2.feedburner.com/tv3LatestVideo

http://feeds.feedburner.com/FOUR-VideoOnDemand

If someone can create a plugin, that would be hugely appreciated...

Thanks
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Oct 17, 2011 10:32 pm

Re: Plugins for New Zealand telly

I looked at it and it should be possible. I'm not in NZ though so have no access to the streams. Can you try running these and post what the output is?

  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k"


  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1"


  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k app=tvnzconz tcUrl=rtmpe://cp133729.edgefcs.net/tvnzconz/ swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1"


  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/ app=tvnzconz playpath=2009/reservoirhill_s1_e8_300k tcUrl=rtmpe://cp133729.edgefcs.net/tvnzconz/ swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1"
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 8:10 am

Re: Plugins for New Zealand telly

Hi, thanks for having a look. I have listed the answers in the same order as you

  Code:
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 003d8cc0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1
_e8_300k':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
At least one output file must be specified



  Code:
 C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainm
ent/flash/ondemand/player.swf swfVfy=1"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
Problem accessing the DNS. (addr: cp133729.edgefcs.net)
rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k swfUrl=http:
//tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1:
Operation not permitted



  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k app=tvnzconz tcUrl=rtmpe://cp133729.edgefcs.net/tvnz
conz/ swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/pla
yer.swf swfVfy=1"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
Problem accessing the DNS. (addr: cp133729.edgefcs.net)
rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k app=tvnzconz
 tcUrl=rtmpe://cp133729.edgefcs.net/tvnzconz/ swfUrl=http://tvnz.co.nz/styleshee
ts/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1: Operation not permitte
d



  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/ app=tvnzco
nz playpath=2009/reservoirhill_s1_e8_300k tcUrl=rtmpe://cp133729.edgefcs.net/tvn
zconz/ swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/pl
ayer.swf swfVfy=1"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 00338fa0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/ app=tvnzconz playpath=2009/re
servoirhill_s1_e8_300k tcUrl=rtmpe://cp133729.edgefcs.net/tvnzconz/ swfUrl=http:
//tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1':

  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 18, 2011 8:23 am

Re: Plugins for New Zealand telly

brilliant. now try this, it should download the complete show (make sure it's not just the first minute or so where swf verification would kick in):

  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k buffer=100000000" -vcodec copy -acodec copy -f flv c:\temp\test_video.flv


YOu can try playing the file (c:\temp\test_video.flv) in VLC for example.
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 9:01 am

Re: Plugins for New Zealand telly

Wow, thanks for the quick answer. It didn't work though, the below message came up...I changed the c:\temp\test_video.flv to c:\downloads\test_video.flv to see if that would work as I didn't have a temp file in the C drive.


  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k buffer=100000000" -vcodec copy -acodec copy -f flv c
:\downloads\test_video.flv
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
Problem accessing the DNS. (addr: cp133729.edgefcs.net)
rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k buffer=10000
0000: Operation not permitted
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 18, 2011 9:04 am

Re: Plugins for New Zealand telly

So I guess this doesn't work any more either?

  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k"


If not, it probably expired and will have to taken into account in the plugin
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 9:13 am

Re: Plugins for New Zealand telly

This looks similar to last time to me (but then I have no idea about this stuff)

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k"
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 00278cc0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1
_e8_300k':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 18, 2011 9:17 am

Re: Plugins for New Zealand telly

Ok, that's weird, can you try again the above command? It seems to have connected right now, maybe there was a network problem.

viewtopic.php?f=21&t=3613#p24477
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 9:25 am

Re: Plugins for New Zealand telly

OK, after trying a few times, I got a different message which looks promising...

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k buffer=100000000" -vcodec copy -acodec copy -f flv c
:\downloads\test_video.flv
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 00398f20] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1
_e8_300k buffer=100000000':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
Output #0, flv, to 'c:\downloads\test_video.flv':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
    encoder         : Lavf53.6.0
    Stream #0.0: Video: [4][0][0][0] / 0x0004, yuv420p, 400x224, q=2-31, 544 kb/
s, 1k tbn, 1k tbc
    Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=  285 fps=  0 q=-1.0 size=     480kB time=00:00:11.32 bitrate= 347.3kbits/
frame=  407 fps=388 q=-1.0 size=     704kB time=00:00:16.20 bitrate= 355.9kbits/
frame=  561 fps=347 q=-1.0 size=     991kB time=00:00:22.36 bitrate= 363.2kbits/
frame=  807 fps=381 q=-1.0 size=    1504kB time=00:00:32.20 bitrate= 382.7kbits/
[flv @ 028de980] Application provided invalid, non monotonically increasing dts
to muxer in stream 1: 43518 >= 43496
av_interleaved_write_frame(): Invalid argument
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 9:26 am

Re: Plugins for New Zealand telly

Sorry, I didn't mention that it downloaded about 43 seconds worth of video to my download folder.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Oct 18, 2011 9:57 am

Re: Plugins for New Zealand telly

that's cool, try this:

  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k buffer=100000000" -vcodec mpeg2video -sameq -acodec copy -f vob c:\temp\test_video.mpg
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Tue Oct 18, 2011 6:02 pm

Re: Plugins for New Zealand telly

Sorry, went off to bed...it downloaded 43 seconds again but this time as a MPG file.


  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k buffer=100000000" -vcodec mpeg2video -sameq -acodec
copy -f vob c:\downloads\test_video.mpg
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 00028f80] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1
_e8_300k buffer=100000000':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
[buffer @ 03032a40] w:400 h:224 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[vob @ 00027500] VBV buffer size not set, muxing may fail
Output #0, vob, to 'c:\downloads\test_video.mpg':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
    encoder         : Lavf53.6.0
    Stream #0.0: Video: mpeg2video, yuv420p, 400x224, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
    Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=  117 fps=  0 q=0.0 size=     386kB time=00:00:04.60 bitrate= 686.9kbits/s
frame=  257 fps=243 q=0.0 size=    1012kB time=00:00:10.20 bitrate= 812.2kbits/s
frame=  392 fps=251 q=0.0 size=    1596kB time=00:00:15.64 bitrate= 836.0kbits/s
frame=  538 fps=261 q=0.0 size=    2124kB time=00:00:21.45 bitrate= 810.9kbits/s
frame=  668 fps=261 q=0.0 size=    2976kB time=00:00:26.65 bitrate= 914.7kbits/s
frame=  786 fps=257 q=0.0 size=    3574kB time=00:00:31.37 bitrate= 933.1kbits/s
frame=  964 fps=270 q=0.0 size=    4072kB time=00:00:38.48 bitrate= 866.9kbits/s
frame= 1077 fps=265 q=0.0 size=    5164kB time=00:00:43.02 bitrate= 983.3kbits/s
[vob @ 00027500] Application provided invalid, non monotonically increasing dts
to muxer in stream 1: 3916620 >= 3914640
av_interleaved_write_frame(): Invalid argument
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17076

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 28, 2011 12:53 pm

Re: Plugins for New Zealand telly

Can you try this command?

  Code:
ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1_e8_300k swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1"


If it gives the DNS error try it few times.
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Sun Nov 06, 2011 9:42 am

Re: Plugins for New Zealand telly

Hi, finally got around to giving this a go.

As there was no output file on your code, I added to it. It didn't work but I kept on playing with the different codes you have given and got to this one which has worked OK. Problem is it stops at 8 minutes...

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
09/reservoirhill_s1_e8_300k buffer=100000000 swfUrl=http://tvnz.co.nz/stylesheet
s/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1" -vcodec mpeg2video -sam
eq c:\downloads\test_video.mpg
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 30 16:12:46 2009
  duration              787.91
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 787880.00
  lasttimestamp         787887.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  videocodecid          4.00
  videodatarate         531.88
  width                 400.00
[flv @ 003e9060] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2009/reservoirhill_s1
_e8_300k buffer=100000000 swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainmen
t/flash/ondemand/player.swf swfVfy=1':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
  Duration: 00:13:07.91, start: 0.000000, bitrate: 608 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 544 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
File 'c:\downloads\test_video.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 02ab45c0] w:400 h:224 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[mpeg @ 02ab37c0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'c:\downloads\test_video.mpg':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 30 16:12:46 2009

    duration        : 788
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 787880
    lasttimestamp   : 787887
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    videocodecid    : 4
    videodatarate   : 532
    width           : 400
    encoder         : Lavf53.6.0
    Stream #0.0: Video: mpeg2video, yuv420p, 400x224, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
    Stream #0.1: Audio: mp2, 22050 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=  112 fps=  0 q=0.0 size=     354kB time=00:00:04.28 bitrate= 676.9kbits/s
frame=  219 fps=218 q=0.0 size=     802kB time=00:00:08.56 bitrate= 766.8kbits/s
frame=  360 fps=239 q=0.0 size=    1446kB time=00:00:14.26 bitrate= 830.5kbits/s
frame=  472 fps=235 q=0.0 size=    1890kB time=00:00:18.70 bitrate= 827.8kbits/s
frame=  607 fps=242 q=0.0 size=    2484kB time=00:00:24.08 bitrate= 844.9kbits/s
frame=  718 fps=238 q=0.0 size=    3188kB time=00:00:28.57 bitrate= 913.9kbits/s
frame=  844 fps=240 q=0.0 size=    3772kB time=00:00:33.64 bitrate= 918.4kbits/s
frame= 1004 fps=250 q=0.0 size=    4326kB time=00:00:40.01 bitrate= 885.5kbits/s
frame= 1114 fps=247 q=0.0 size=    5402kB time=00:00:44.35 bitrate= 997.7kbits/s
frame= 1223 fps=244 q=0.0 size=    6494kB time=00:00:48.79 bitrate=1090.2kbits/s
frame= 1342 fps=243 q=0.0 size=    7134kB time=00:00:53.55 bitrate=1091.3kbits/s
frame= 1455 fps=242 q=0.0 size=    7702kB time=00:00:58.04 bitrate=1087.0kbits/s
frame= 1568 fps=241 q=0.0 size=    8134kB time=00:01:02.58 bitrate=1064.6kbits/s
frame= 1682 fps=240 q=0.0 size=    8618kB time=00:01:07.13 bitrate=1051.6kbits/s
frame= 1794 fps=239 q=0.0 size=    9222kB time=00:01:11.62 bitrate=1054.7kbits/s
frame= 1882 fps=233 q=0.0 size=    9746kB time=00:01:15.12 bitrate=1062.7kbits/s
frame= 1991 fps=232 q=0.0 size=   10362kB time=00:01:19.46 bitrate=1068.2kbits/s
frame= 2105 fps=232 q=0.0 size=   11188kB time=00:01:24.00 bitrate=1091.0kbits/s
frame= 2255 fps=235 q=0.0 size=   11662kB time=00:01:30.01 bitrate=1061.3kbits/s
frame= 2388 fps=237 q=0.0 size=   12216kB time=00:01:35.34 bitrate=1049.6kbits/s
frame= 2521 fps=238 q=0.0 size=   12928kB time=00:01:40.67 bitrate=1052.0kbits/s
frame= 2630 fps=237 q=0.0 size=   13632kB time=00:01:45.01 bitrate=1063.4kbits/s
frame= 2738 fps=236 q=0.0 size=   14622kB time=00:01:49.34 bitrate=1095.4kbits/s
frame= 2854 fps=236 q=0.0 size=   15444kB time=00:01:53.99 bitrate=1109.8kbits/s
frame= 2965 fps=235 q=0.0 size=   16294kB time=00:01:58.43 bitrate=1127.0kbits/s
frame= 3071 fps=234 q=0.0 size=   16978kB time=00:02:02.72 bitrate=1133.3kbits/s
frame= 3188 fps=234 q=0.0 size=   17660kB time=00:02:07.32 bitrate=1136.3kbits/s
frame= 3298 fps=234 q=0.0 size=   18554kB time=00:02:11.81 bitrate=1153.1kbits/s
frame= 3409 fps=233 q=0.0 size=   19298kB time=00:02:16.25 bitrate=1160.2kbits/s
frame= 3515 fps=233 q=0.0 size=   20082kB time=00:02:20.43 bitrate=1171.4kbits/s
frame= 3680 fps=236 q=0.0 size=   20760kB time=00:02:27.01 bitrate=1156.8kbits/s
frame= 3834 fps=238 q=0.0 size=   21382kB time=00:02:33.23 bitrate=1143.1kbits/s
frame= 3943 fps=237 q=0.0 size=   21924kB time=00:02:37.51 bitrate=1140.2kbits/s
frame= 4061 fps=237 q=0.0 size=   22720kB time=00:02:42.27 bitrate=1147.0kbits/s
frame= 4167 fps=237 q=0.0 size=   23482kB time=00:02:46.50 bitrate=1155.3kbits/s
frame= 4276 fps=236 q=0.0 size=   24288kB time=00:02:50.89 bitrate=1164.3kbits/s
frame= 4391 fps=236 q=0.0 size=   24888kB time=00:02:55.43 bitrate=1162.1kbits/s
frame= 4503 fps=236 q=0.0 size=   25552kB time=00:02:59.98 bitrate=1163.0kbits/s
frame= 4615 fps=235 q=0.0 size=   26192kB time=00:03:04.47 bitrate=1163.1kbits/s
frame= 4727 fps=235 q=0.0 size=   26764kB time=00:03:08.91 bitrate=1160.6kbits/s
frame= 4845 fps=235 q=0.0 size=   27322kB time=00:03:13.61 bitrate=1156.0kbits/s
frame= 4968 fps=235 q=0.0 size=   27808kB time=00:03:18.58 bitrate=1147.1kbits/s
frame= 5086 fps=235 q=0.0 size=   28310kB time=00:03:23.28 bitrate=1140.8kbits/s
frame= 5199 fps=235 q=0.0 size=   28890kB time=00:03:27.83 bitrate=1138.8kbits/s
frame= 5317 fps=235 q=0.0 size=   29516kB time=00:03:32.53 bitrate=1137.7kbits/s
frame= 5420 fps=234 q=0.0 size=   30432kB time=00:03:36.60 bitrate=1150.9kbits/s
frame= 5515 fps=233 q=0.0 size=   31552kB time=00:03:40.42 bitrate=1172.6kbits/s
frame= 5639 fps=234 q=0.0 size=   32216kB time=00:03:45.38 bitrate=1170.9kbits/s
frame= 5754 fps=234 q=0.0 size=   32758kB time=00:03:50.03 bitrate=1166.6kbits/s
frame= 5867 fps=233 q=0.0 size=   33310kB time=00:03:54.52 bitrate=1163.5kbits/s
frame= 5984 fps=233 q=0.0 size=   33884kB time=00:03:59.22 bitrate=1160.3kbits/s
frame= 6099 fps=233 q=0.0 size=   34520kB time=00:04:03.82 bitrate=1159.8kbits/s
frame= 6207 fps=233 q=0.0 size=   35340kB time=00:04:08.11 bitrate=1166.8kbits/s
frame= 6329 fps=233 q=0.0 size=   35900kB time=00:04:13.02 bitrate=1162.3kbits/s
frame= 6448 fps=233 q=0.0 size=   36490kB time=00:04:17.77 bitrate=1159.6kbits/s
frame= 6568 fps=233 q=0.0 size=   36930kB time=00:04:22.58 bitrate=1152.1kbits/s
frame= 6679 fps=233 q=0.0 size=   37384kB time=00:04:26.97 bitrate=1147.1kbits/s
frame= 6783 fps=233 q=0.0 size=   38190kB time=00:04:31.15 bitrate=1153.8kbits/s
frame= 6894 fps=233 q=0.0 size=   38850kB time=00:04:35.64 bitrate=1154.6kbits/s
frame= 7003 fps=232 q=0.0 size=   39598kB time=00:04:39.92 bitrate=1158.8kbits/s
frame= 7118 fps=232 q=0.0 size=   40124kB time=00:04:44.57 bitrate=1155.0kbits/s
frame= 7231 fps=232 q=0.0 size=   40650kB time=00:04:49.07 bitrate=1152.0kbits/s
frame= 7345 fps=232 q=0.0 size=   41296kB time=00:04:53.66 bitrate=1152.0kbits/s
frame= 7464 fps=232 q=0.0 size=   42018kB time=00:04:58.37 bitrate=1153.6kbits/s
frame= 7577 fps=232 q=0.0 size=   42676kB time=00:05:02.96 bitrate=1153.9kbits/s
frame= 7692 fps=232 q=0.0 size=   43266kB time=00:05:07.51 bitrate=1152.6kbits/s
frame= 7795 fps=232 q=0.0 size=   43856kB time=00:05:11.64 bitrate=1152.8kbits/s
frame= 7910 fps=232 q=0.0 size=   44470kB time=00:05:16.23 bitrate=1152.0kbits/s
frame= 8022 fps=232 q=0.0 size=   45096kB time=00:05:20.73 bitrate=1151.8kbits/s
frame= 8143 fps=232 q=0.0 size=   45708kB time=00:05:25.59 bitrate=1150.0kbits/s
frame= 8264 fps=232 q=0.0 size=   46276kB time=00:05:30.39 bitrate=1147.4kbits/s
frame= 8387 fps=232 q=0.0 size=   46812kB time=00:05:35.30 bitrate=1143.7kbits/s
frame= 8495 fps=232 q=0.0 size=   47460kB time=00:05:39.64 bitrate=1144.7kbits/s
frame= 8603 fps=232 q=0.0 size=   48046kB time=00:05:43.92 bitrate=1144.4kbits/s
frame= 8729 fps=232 q=0.0 size=   48672kB time=00:05:48.99 bitrate=1142.5kbits/s
frame= 8853 fps=232 q=0.0 size=   49300kB time=00:05:53.95 bitrate=1141.0kbits/s
frame= 8964 fps=232 q=0.0 size=   49870kB time=00:05:58.40 bitrate=1139.9kbits/s
frame= 9082 fps=232 q=0.0 size=   50388kB time=00:06:03.10 bitrate=1136.8kbits/s
frame= 9204 fps=232 q=0.0 size=   50848kB time=00:06:08.01 bitrate=1131.9kbits/s
frame= 9321 fps=232 q=0.0 size=   51418kB time=00:06:12.71 bitrate=1130.1kbits/s
frame= 9428 fps=232 q=0.0 size=   52088kB time=00:06:16.94 bitrate=1132.0kbits/s
frame= 9544 fps=232 q=0.0 size=   52716kB time=00:06:21.59 bitrate=1131.7kbits/s
frame= 9662 fps=232 q=0.0 size=   53302kB time=00:06:26.29 bitrate=1130.3kbits/s
frame= 9777 fps=232 q=0.0 size=   53874kB time=00:06:30.94 bitrate=1128.9kbits/s
frame= 9892 fps=232 q=0.0 size=   54436kB time=00:06:35.54 bitrate=1127.4kbits/s
frame=10001 fps=232 q=0.0 size=   54978kB time=00:06:39.88 bitrate=1126.3kbits/s
frame=10107 fps=231 q=0.0 size=   55524kB time=00:06:44.11 bitrate=1125.6kbits/s
frame=10230 fps=232 q=0.0 size=   56156kB time=00:06:49.02 bitrate=1124.7kbits/s
frame=10348 fps=232 q=0.0 size=   56698kB time=00:06:53.72 bitrate=1122.6kbits/s
frame=10465 fps=232 q=0.0 size=   57260kB time=00:06:58.42 bitrate=1121.0kbits/s
frame=10585 fps=232 q=0.0 size=   57816kB time=00:07:03.23 bitrate=1119.1kbits/s
frame=10704 fps=232 q=0.0 size=   58366kB time=00:07:07.99 bitrate=1117.2kbits/s
frame=10816 fps=232 q=0.0 size=   58944kB time=00:07:12.48 bitrate=1116.5kbits/s
frame=10931 fps=232 q=0.0 size=   59540kB time=00:07:17.08 bitrate=1115.9kbits/s
frame=11058 fps=232 q=0.0 size=   60040kB time=00:07:22.20 bitrate=1112.3kbits/s
frame=11168 fps=232 q=0.0 size=   60718kB time=00:07:26.58 bitrate=1113.8kbits/s
frame=11269 fps=231 q=0.0 size=   61294kB time=00:07:30.66 bitrate=1114.2kbits/s
frame=11367 fps=231 q=0.0 size=   61870kB time=00:07:34.53 bitrate=1115.1kbits/s
frame=11475 fps=231 q=0.0 size=   62478kB time=00:07:38.81 bitrate=1115.5kbits/s
frame=11591 fps=231 q=0.0 size=   63050kB time=00:07:43.46 bitrate=1114.4kbits/s
frame=11703 fps=231 q=0.0 size=   63642kB time=00:07:47.95 bitrate=1114.1kbits/s
frame=11807 fps=231 q=0.0 size=   64254kB time=00:07:52.08 bitrate=1115.0kbits/s
frame=11908 fps=230 q=0.0 size=   64956kB time=00:07:56.16 bitrate=1117.5kbits/s
frame=12018 fps=230 q=0.0 size=   65730kB time=00:08:00.54 bitrate=1120.5kbits/s
frame=12126 fps=230 q=0.0 size=   66398kB time=00:08:04.88 bitrate=1121.8kbits/s
frame=12240 fps=230 q=0.0 size=   66952kB time=00:08:09.43 bitrate=1120.6kbits/s
frame=12352 fps=230 q=0.0 size=   67512kB time=00:08:13.92 bitrate=1119.7kbits/s
frame=12461 fps=230 q=0.0 size=   68032kB time=00:08:18.25 bitrate=1118.5kbits/s
frame=12574 fps=230 q=0.0 size=   68590kB time=00:08:22.80 bitrate=1117.5kbits/s
frame=12691 fps=230 q=0.0 size=   69168kB time=00:08:27.50 bitrate=1116.5kbits/s
frame=12805 fps=230 q=0.0 size=   69756kB time=00:08:32.05 bitrate=1116.0kbits/s
frame=12913 fps=230 q=0.0 size=   70320kB time=00:08:36.33 bitrate=1115.7kbits/s
frame=13024 fps=230 q=0.0 size=   70898kB time=00:08:40.82 bitrate=1115.1kbits/s
frame=13139 fps=230 q=0.0 size=   71480kB time=00:08:45.37 bitrate=1114.6kbits/s
RTMP_ReadPacket, failed to read RTMP packet header
frame=13216 fps=230 q=0.0 Lsize=   71862kB time=00:08:48.50 bitrate=1113.9kbits/
s
video:67197kB audio:4129kB global headers:0kB muxing overhead 0.752074%
<<

Reonmac

Serviio newbie

Posts: 11

Joined: Thu Oct 13, 2011 8:34 am

Post Sun Nov 06, 2011 10:05 am

Re: Plugins for New Zealand telly

Hi, I tried another episode from 2010 and got a slightly different message. They always seem to stop around the 6 - 8 minute mark

  Code:
C:\Program Files\Serviio\lib>ffmpeg -i "rtmpe://cp133729.edgefcs.net/tvnzconz/20
10/reservoirhill_s2_e8_300k buffer=100000000 swfUrl=http://tvnz.co.nz/stylesheet
s/tvnz/entertainment/flash/ondemand/player.swf swfVfy=1" -vcodec mpeg2video -sam
eq c:\downloads\test_video.mpg
ffmpeg version N-31480-g8bc3a48, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jul 14 2011 23:37:53 with gcc 4.4.2
  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-mingw32- --pkg-config=pkg-co
nfig
  libavutil    51. 11. 0 / 51. 11. 0
  libavcodec   53.  8. 0 / 53.  8. 0
  libavformat  53.  6. 0 / 53.  6. 0
  libavdevice  53.  2. 0 / 53.  2. 0
  libavfilter   2. 25. 0 /  2. 25. 0
  libswscale    2.  0. 0 /  2.  0. 0
HandShake: Type mismatch: client sent 6, server answered 9
HandleCtrl: SWFVerification Type 2 request not supported! Patches welcome...
Metadata:
  audiocodecid          2.00
  audiodatarate         64.01
  canseektoend          FALSE
  creationdate          Mon Nov 01 16:22:40 2010
  duration              1005.16
  framerate             25.00
  height                224.00
  lastkeyframetimestamp 1005120.00
  lasttimestamp         1005131.00
  metadatacreator       On2 Flix SDK for Dshow_2.4.5.0
  On2                   Technologies
  profile               VP6-E
  videocodecid          4.00
  videodatarate         641.80
  width                 400.00
[flv @ 003d9060] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000
/1) -> 25.00 (25/1)
Input #0, flv, from 'rtmpe://cp133729.edgefcs.net/tvnzconz/2010/reservoirhill_s2
_e8_300k buffer=100000000 swfUrl=http://tvnz.co.nz/stylesheets/tvnz/entertainmen
t/flash/ondemand/player.swf swfVfy=1':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 01 16:22:40 2010

    duration        : 1005
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 1005120
    lasttimestamp   : 1005131
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    profile         : VP6-E
    videocodecid    : 4
    videodatarate   : 642
    width           : 400
  Duration: 00:16:45.15, start: 0.000000, bitrate: 721 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 400x224, 657 kb/s, 25 tbr, 1k tbn, 1k tbc

    Stream #0.1: Audio: mp3, 22050 Hz, stereo, s16, 64 kb/s
File 'c:\downloads\test_video.mpg' already exists. Overwrite ? [y/N] y
[buffer @ 027be0c0] w:400 h:224 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
[mpeg @ 003d75e0] VBV buffer size not set, muxing may fail
Output #0, mpeg, to 'c:\downloads\test_video.mpg':
  Metadata:
    audiocodecid    : 2
    audiodatarate   : 64
    canseektoend    : false
    creationdate    : Mon Nov 01 16:22:40 2010

    duration        : 1005
    framerate       : 25
    height          : 224
    lastkeyframetimestamp: 1005120
    lasttimestamp   : 1005131
    metadatacreator : On2 Flix SDK for Dshow_2.4.5.0
    On2             : Technologies
    profile         : VP6-E
    videocodecid    : 4
    videodatarate   : 642
    width           : 400
    encoder         : Lavf53.6.0
    Stream #0.0: Video: mpeg2video, yuv420p, 400x224, q=2-31, 200 kb/s, 90k tbn,
 25 tbc
    Stream #0.1: Audio: mp2, 22050 Hz, stereo, s16, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame=  163 fps=  0 q=0.0 size=     306kB time=00:00:06.37 bitrate= 393.3kbits/s
frame=  280 fps=279 q=0.0 size=     988kB time=00:00:11.07 bitrate= 730.7kbits/s
frame=  381 fps=253 q=0.0 size=    1496kB time=00:00:15.09 bitrate= 811.7kbits/s
frame=  466 fps=232 q=0.0 size=    1882kB time=00:00:18.49 bitrate= 833.6kbits/s
frame=  568 fps=227 q=0.0 size=    2464kB time=00:00:22.62 bitrate= 892.3kbits/s
frame=  691 fps=230 q=0.0 size=    3084kB time=00:00:27.48 bitrate= 919.3kbits/s
frame=  796 fps=227 q=0.0 size=    3762kB time=00:00:31.71 bitrate= 971.8kbits/s
frame=  902 fps=225 q=0.0 size=    4370kB time=00:00:35.99 bitrate= 994.5kbits/s
frame= 1007 fps=223 q=0.0 size=    4846kB time=00:00:40.12 bitrate= 989.4kbits/s
frame= 1158 fps=231 q=0.0 size=    5288kB time=00:00:46.13 bitrate= 939.0kbits/s
frame= 1287 fps=234 q=0.0 size=    5872kB time=00:00:51.35 bitrate= 936.7kbits/s
frame= 1404 fps=234 q=0.0 size=    6370kB time=00:00:56.00 bitrate= 931.7kbits/s
frame= 1518 fps=233 q=0.0 size=    6802kB time=00:01:00.55 bitrate= 920.2kbits/s
frame= 1624 fps=232 q=0.0 size=    7234kB time=00:01:04.78 bitrate= 914.8kbits/s
frame= 1738 fps=231 q=0.0 size=    7682kB time=00:01:09.32 bitrate= 907.7kbits/s
frame= 1857 fps=232 q=0.0 size=    8126kB time=00:01:14.13 bitrate= 897.9kbits/s
frame= 1972 fps=232 q=0.0 size=    8572kB time=00:01:18.68 bitrate= 892.5kbits/s
frame= 2078 fps=230 q=0.0 size=    8980kB time=00:01:22.96 bitrate= 886.7kbits/s
frame= 2183 fps=229 q=0.0 size=    9352kB time=00:01:27.14 bitrate= 879.1kbits/s
frame= 2304 fps=230 q=0.0 size=    9778kB time=00:01:32.00 bitrate= 870.6kbits/s
frame= 2419 fps=230 q=0.0 size=   10206kB time=00:01:36.65 bitrate= 865.0kbits/s
frame= 2536 fps=230 q=0.0 size=   10622kB time=00:01:41.30 bitrate= 859.0kbits/s
frame= 2642 fps=229 q=0.0 size=   11034kB time=00:01:45.48 bitrate= 856.9kbits/s
frame= 2768 fps=230 q=0.0 size=   11596kB time=00:01:50.60 bitrate= 858.9kbits/s
frame= 2888 fps=231 q=0.0 size=   12174kB time=00:01:55.40 bitrate= 864.1kbits/s
frame= 2997 fps=230 q=0.0 size=   12774kB time=00:01:59.69 bitrate= 874.3kbits/s
frame= 3108 fps=230 q=0.0 size=   13330kB time=00:02:04.18 bitrate= 879.3kbits/s
frame= 3230 fps=230 q=0.0 size=   13796kB time=00:02:09.09 bitrate= 875.4kbits/s
frame= 3344 fps=230 q=0.0 size=   14298kB time=00:02:13.59 bitrate= 876.8kbits/s
frame= 3454 fps=230 q=0.0 size=   14786kB time=00:02:17.97 bitrate= 877.9kbits/s
frame= 3566 fps=230 q=0.0 size=   15370kB time=00:02:22.47 bitrate= 883.8kbits/s
frame= 3688 fps=230 q=0.0 size=   15754kB time=00:02:27.33 bitrate= 876.0kbits/s
frame= 3803 fps=230 q=0.0 size=   16112kB time=00:02:31.92 bitrate= 868.8kbits/s
frame= 3925 fps=230 q=0.0 size=   16474kB time=00:02:36.83 bitrate= 860.5kbits/s
frame= 4048 fps=231 q=0.0 size=   16822kB time=00:02:41.75 bitrate= 852.0kbits/s
frame= 4164 fps=231 q=0.0 size=   17382kB time=00:02:46.40 bitrate= 855.7kbits/s
frame= 4285 fps=231 q=0.0 size=   17924kB time=00:02:51.20 bitrate= 857.6kbits/s
frame= 4409 fps=232 q=0.0 size=   18466kB time=00:02:56.16 bitrate= 858.7kbits/s
frame= 4531 fps=232 q=0.0 size=   18960kB time=00:03:01.08 bitrate= 857.7kbits/s
frame= 4656 fps=232 q=0.0 size=   19466kB time=00:03:06.09 bitrate= 856.9kbits/s
frame= 4772 fps=232 q=0.0 size=   19936kB time=00:03:10.74 bitrate= 856.2kbits/s
frame= 4907 fps=233 q=0.0 size=   20422kB time=00:03:16.12 bitrate= 853.0kbits/s
frame= 5037 fps=234 q=0.0 size=   20870kB time=00:03:21.29 bitrate= 849.3kbits/s
frame= 5153 fps=234 q=0.0 size=   21264kB time=00:03:26.00 bitrate= 845.6kbits/s
frame= 5273 fps=234 q=0.0 size=   21644kB time=00:03:30.75 bitrate= 841.3kbits/s
frame= 5393 fps=234 q=0.0 size=   22068kB time=00:03:35.56 bitrate= 838.6kbits/s
frame= 5504 fps=234 q=0.0 size=   22512kB time=00:03:40.00 bitrate= 838.3kbits/s
frame= 5621 fps=234 q=0.0 size=   22988kB time=00:03:44.65 bitrate= 838.3kbits/s
frame= 5729 fps=233 q=0.0 size=   23398kB time=00:03:49.04 bitrate= 836.9kbits/s
frame= 5820 fps=232 q=0.0 size=   23810kB time=00:03:52.64 bitrate= 838.4kbits/s
frame= 5930 fps=232 q=0.0 size=   24276kB time=00:03:57.03 bitrate= 839.0kbits/s
frame= 6045 fps=232 q=0.0 size=   24724kB time=00:04:01.63 bitrate= 838.2kbits/s
frame= 6153 fps=232 q=0.0 size=   25152kB time=00:04:05.91 bitrate= 837.9kbits/s
frame= 6267 fps=232 q=0.0 size=   25614kB time=00:04:10.51 bitrate= 837.6kbits/s
frame= 6386 fps=232 q=0.0 size=   26092kB time=00:04:15.26 bitrate= 837.3kbits/s
frame= 6501 fps=232 q=0.0 size=   26590kB time=00:04:19.86 bitrate= 838.2kbits/s
frame= 6544 fps=197 q=0.0 size=   26740kB time=00:04:21.59 bitrate= 837.4kbits/s
frame= 6663 fps=197 q=0.0 size=   27210kB time=00:04:26.34 bitrate= 836.9kbits/s
frame= 6783 fps=198 q=0.0 size=   27598kB time=00:04:31.20 bitrate= 833.6kbits/s
frame= 6883 fps=198 q=0.0 size=   27936kB time=00:04:35.12 bitrate= 831.8kbits/s
frame= 7000 fps=198 q=0.0 size=   28310kB time=00:04:39.82 bitrate= 828.8kbits/s
frame= 7113 fps=199 q=0.0 size=   28740kB time=00:04:44.36 bitrate= 827.9kbits/s
frame= 7234 fps=199 q=0.0 size=   29190kB time=00:04:49.17 bitrate= 826.9kbits/s
frame= 7347 fps=200 q=0.0 size=   29612kB time=00:04:53.72 bitrate= 825.9kbits/s
frame= 7464 fps=200 q=0.0 size=   30026kB time=00:04:58.37 bitrate= 824.4kbits/s
frame= 7580 fps=201 q=0.0 size=   30446kB time=00:05:03.02 bitrate= 823.1kbits/s
frame= 7708 fps=201 q=0.0 size=   30864kB time=00:05:08.14 bitrate= 820.5kbits/s
frame= 7837 fps=202 q=0.0 size=   31306kB time=00:05:13.36 bitrate= 818.4kbits/s
frame= 7966 fps=203 q=0.0 size=   31726kB time=00:05:18.48 bitrate= 816.0kbits/s
frame= 8086 fps=203 q=0.0 size=   32150kB time=00:05:23.29 bitrate= 814.7kbits/s
frame= 8206 fps=204 q=0.0 size=   32572kB time=00:05:28.09 bitrate= 813.3kbits/s
frame= 8324 fps=204 q=0.0 size=   32996kB time=00:05:32.80 bitrate= 812.2kbits/s
frame= 8438 fps=204 q=0.0 size=   33444kB time=00:05:37.34 bitrate= 812.1kbits/s
frame= 8534 fps=204 q=0.0 size=   33942kB time=00:05:41.21 bitrate= 814.9kbits/s
frame= 8643 fps=204 q=0.0 size=   34364kB time=00:05:45.54 bitrate= 814.7kbits/s
frame= 8744 fps=204 q=0.0 size=   34812kB time=00:05:49.57 bitrate= 815.8kbits/s
frame= 8826 fps=204 q=0.0 size=   35158kB time=00:05:52.91 bitrate= 816.1kbits/s
frame= 8892 fps=203 q=0.0 size=   35410kB time=00:05:55.57 bitrate= 815.8kbits/s
frame= 8958 fps=202 q=0.0 size=   35694kB time=00:05:58.13 bitrate= 816.5kbits/s
frame= 9026 fps=201 q=0.0 size=   35984kB time=00:06:00.85 bitrate= 816.9kbits/s
frame= 9090 fps=201 q=0.0 size=   36232kB time=00:06:03.46 bitrate= 816.6kbits/s
frame= 9152 fps=200 q=0.0 size=   36490kB time=00:06:05.92 bitrate= 816.9kbits/s
frame= 9214 fps=199 q=0.0 size=   36858kB time=00:06:08.37 bitrate= 819.6kbits/s
frame= 9280 fps=198 q=0.0 size=   37136kB time=00:06:11.04 bitrate= 819.9kbits/s
frame= 9337 fps=197 q=0.0 size=   37312kB time=00:06:13.28 bitrate= 818.8kbits/s
frame= 9398 fps=197 q=0.0 size=   37522kB time=00:06:15.74 bitrate= 818.1kbits/s
frame= 9455 fps=196 q=0.0 size=   37726kB time=00:06:18.04 bitrate= 817.5kbits/s
frame= 9519 fps=195 q=0.0 size=   37940kB time=00:06:20.60 bitrate= 816.6kbits/s
frame= 9581 fps=194 q=0.0 size=   38126kB time=00:06:23.05 bitrate= 815.4kbits/s
frame= 9652 fps=194 q=0.0 size=   38376kB time=00:06:25.93 bitrate= 814.6kbits/s
frame= 9731 fps=193 q=0.0 size=   38672kB time=00:06:29.06 bitrate= 814.3kbits/s
frame= 9798 fps=193 q=0.0 size=   38944kB time=00:06:31.78 bitrate= 814.3kbits/s
frame= 9861 fps=192 q=0.0 size=   39168kB time=00:06:34.29 bitrate= 813.8kbits/s
frame= 9913 fps=191 q=0.0 size=   39354kB time=00:06:36.38 bitrate= 813.3kbits/s
frame= 9976 fps=191 q=0.0 size=   39586kB time=00:06:38.83 bitrate= 813.1kbits/s
frame=10069 fps=191 q=0.0 size=   39938kB time=00:06:42.59 bitrate= 812.6kbits/s
frame=10156 fps=190 q=0.0 size=   40436kB time=00:06:46.04 bitrate= 815.8kbits/s
frame=10248 fps=190 q=0.0 size=   40842kB time=00:06:49.75 bitrate= 816.5kbits/s
frame=10333 fps=190 q=0.0 size=   41174kB time=00:06:53.15 bitrate= 816.4kbits/s
frame=10418 fps=190 q=0.0 size=   41552kB time=00:06:56.60 bitrate= 817.1kbits/s
frame=10500 fps=190 q=0.0 size=   41884kB time=00:06:59.89 bitrate= 817.1kbits/s
frame=10593 fps=190 q=0.0 size=   42232kB time=00:07:03.54 bitrate= 816.8kbits/s
frame=10681 fps=190 q=0.0 size=   42590kB time=00:07:07.10 bitrate= 816.9kbits/s
frame=10775 fps=190 q=0.0 size=   42908kB time=00:07:10.81 bitrate= 815.9kbits/s
WriteN, RTMP send error 10053 (46 bytes)
RTMP_ReadPacket, failed to read RTMP packet body. len: 66792
frame=10845 fps=189 q=0.0 Lsize=   43184kB time=00:07:13.63 bitrate= 815.8kbits/
s
video:39410kB audio:3388kB global headers:0kB muxing overhead 0.901478%
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Thu Dec 29, 2011 1:09 am

Re: Plugins for New Zealand telly

There is a plugin for XBMC for NZ TV that may help someone write one for Serviio. I am not sure what license its released under though.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

markhoney

Serviio newbie

Posts: 1

Joined: Fri Mar 23, 2012 3:44 am

Post Fri Mar 23, 2012 3:55 am

Re: Plugins for New Zealand telly

Hi, I'm the author of the XBMC plugin for New Zealand OnDemand services. The code's released as GPL, so help yourselves. If anyone has any questions or needs hints, just ask away in this thread (I'll subscribe to it) and I'll help as best I can. For reference, my plugin works (with varying degrees of success) with the following channels:

TVNZ
TV3 (including Four)
Ziln
NZOnScreen
Parliament TV (Live Streaming)
Shine TV (Live Streaming)

The current version of my code is available from github at:

https://github.com/markhoney/plugin.video.nz.ondemand
<<

Juddy

Serviio newbie

Posts: 3

Joined: Thu Mar 08, 2012 7:39 am

Post Mon Jun 18, 2012 9:10 am

Re: Plugins for New Zealand telly

Thanks Markhoney, sorry for the noob question but how do I do this? do I need the feed URL's.
I have unzipped the plugin folder into the plugin dir in Serviio.

Thanks in advance.

Juddy
<<

Glooper

Serviio newbie

Posts: 1

Joined: Sun Jun 17, 2012 10:40 am

Post Thu Jun 21, 2012 12:27 am

Re: Plugins for New Zealand telly

Has anyone made any progress on this?

I had a quick look at Markhoney's plugin for XMBC and unfortunately the TVNZ section didn't work?

Thanks
Ben
Next

Return to Plugin requests

Who is online

Users browsing this forum: No registered users and 3 guests

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