Page 1 of 1

rtmp parameters

PostPosted: Wed Mar 06, 2013 12:27 am
by garfdotca
Hi,

I am seeking your help with rtmp! I've been struggling with it for the past few days while attempting to write a plugin for Tou.TV.

I know that the following works:

  Code:
rtmpdump --app ondemand/?auth=daEckbtcIcsb1aycnand2drcHbgahatcSa3-brnNP5-cOW-2rwAylKpAAz&aifp=v0001&slist=005/MP4/autres/2013-02-25_21_00_00_192_0015_3000;005/MP4/autres/2013-02-25_21_00_00_192_0015_2000;005/MP4/autres/2013-02-25_21_00_00_192_0015_1200;005/MP4/autres/2013-02-25_21_00_00_192_0015_500;005/MP4/autres/2013-02-25_21_00_00_192_0015_800 \
--flashVer 'WIN 10,0,22,87' \
--swfVfy http://static.tou.tv/lib/ThePlatform/4.1.2/swf/flvPlayer.swf \
--auth daEckbtcIcsb1aycnand2drcHbgahatcSa3-brnNP5-cOW-2rwAylKpAAz \
--tcUrl rtmp://cp199459.edgefcs.net/ondemand/?auth=daEckbtcIcsb1aycnand2drcHbgahatcSa3-brnNP5-cOW-2rwAylKpAAz&aifp=v0001&slist=005/MP4/autres/2013-02-25_21_00_00_192_0015_3000;005/MP4/autres/2013-02-25_21_00_00_192_0015_2000;005/MP4/autres/2013-02-25_21_00_00_192_0015_1200;005/MP4/autres/2013-02-25_21_00_00_192_0015_500;005/MP4/autres/2013-02-25_21_00_00_192_0015_800 \
--rtmp rtmp://cp199459.edgefcs.net/ondemand/?auth=daEckbtcIcsb1aycnand2drcHbgahatcSa3-brnNP5-cOW-2rwAylKpAAz&aifp=v0001&slist=005/MP4/autres/2013-02-25_21_00_00_192_0015_3000;005/MP4/autres/2013-02-25_21_00_00_192_0015_2000;005/MP4/autres/2013-02-25_21_00_00_192_0015_1200;005/MP4/autres/2013-02-25_21_00_00_192_0015_500;005/MP4/autres/2013-02-25_21_00_00_192_0015_800 \
--playpath mp4:005/MP4/autres/2013-02-25_21_00_00_192_0015_1200.mp4 \
-o out.flv


I just don't know which options I have to pass to ffmpeg/avconv for the stream to work. Any help would be greatly appreciated!

I currently have:
  Code:
ContentURLContainer [fileType=VIDEO, contentUrl=rtmp://cp199459.edgefcs.net/ondemand/?auth=daEa4dzckdwbCcqaZdpcic.c4b1b5aOaDd_-brnNMI-cOW-8tsAumEpFCB&aifp=v0001&slist=005/MP4/autres/2013-03-04_21_00_00_192_0016_3000;005/MP4/autres/2013-03-04_21_00_00_192_0016_2000;005/MP4/autres/2013-03-04_21_00_00_192_0016_1200;005/MP4/autres/2013-03-04_21_00_00_192_0016_500;005/MP4/autres/2013-03-04_21_00_00_192_0016_800 tcUrl=rtmp://cp199459.edgefcs.net/ondemand/?auth=daEa4dzckdwbCcqaZdpcic.c4b1b5aOaDd_-brnNMI-cOW-8tsAumEpFCB&aifp=v0001&slist=005/MP4/autres/2013-03-04_21_00_00_192_0016_3000;005/MP4/autres/2013-03-04_21_00_00_192_0016_2000;005/MP4/autres/2013-03-04_21_00_00_192_0016_1200;005/MP4/autres/2013-03-04_21_00_00_192_0016_500;005/MP4/autres/2013-03-04_21_00_00_192_0016_800 app=ondemand auth=daEa4dzckdwbCcqaZdpcic playpath=mp4:005/MP4/autres/2013-03-04_21_00_00_192_0016_1200.mp4swfVfy=0 live=1, expiresImmediately=true, cacheKey=19-2-S02E06, live=false, ]

Re: rtmp parameters

PostPosted: Wed Mar 06, 2013 1:18 am
by garfdotca
Hmmm found out there is no need to use rtmp anymore.

I can use the rtsp feed instead.

still a work in progress!

Re: rtmp parameters

PostPosted: Wed Mar 06, 2013 3:29 am
by garfdotca
Answered myself by thinking out loud.

Everything is working, submitted my first plugin :D