WordRider Home
iPrima plugin
September 14, 2015 08:47AM
Hello, I see iprima.cz works after last update. Thank you for that. Is there any chance to switch between LQ / HQ? What is default? Thank you again. Tom
Re: iPrima plugin
September 14, 2015 10:39AM
The default protocol is HLS.

The default quality is HD (720p), but HD videos only available for RTMP. So if you choose HLS, you'll get HQ (480p) instead of HD.

To change protocol and quality preferences: Options->Preferences..->Plugins->Settings tab, choose iprima.cz, then click "Options" button.
Re: iPrima plugin
October 14, 2015 09:31AM
Hello,
unfortunately it seems there was again some change and plugin doesn't work. Instead of video I can only download short clip were is written:

Doslo k chybe, zkuste to prosim pozdeji

One file is attached.

Could you please check it?
Thank you
Tom
Attachments:
open | download - Prostřeno V (66).ts (868.8 KB)
Re: iPrima plugin
October 14, 2015 10:38AM
Works fine for me. Example link please. Make sure the link works with browser.

FYI since plugin v1.5.0 HD has also been supported for HLS: [wordrider.net].
Re: iPrima plugin
October 14, 2015 12:26PM
Link is here:
[play.iprima.cz]
Re: iPrima plugin
October 14, 2015 01:17PM
Still works fine:


Maybe it's temporary server problem?
Re: iPrima plugin
December 14, 2015 06:15PM
Hi,
iprima.cz plugin for FRD stopped working today morning.
They change the whole web pages (new look) - [play.iprima.cz]
... and they add advertising for videos - before video start playing.

Will be possible to download RTMP in HD again? (FLV file in 1280x720p)?

Thank you.


Sample links for some videos:
[play.iprima.cz]
[play.iprima.cz]

[play.iprima.cz]
[play.iprima.cz]
[play.iprima.cz]



Edited 1 time(s). Last edit at 12/14/2015 06:18PM by jimmy1222.
Re: iPrima plugin
December 15, 2015 03:42AM
jimmy1222 wrote:
-------------------------------------------------------
> iprima.cz plugin for FRD stopped working today morning.
> They changed the whole web pages (new look) -
> ... and they added advertising before the (main) video starts playing.

Yes, I can confirm that jimmy's first sample link
http://play.iprima.cz/bursikovy-brikety
fails to be downloaded with v1.5.0 of iprima.cz frp plugin.
The GUI shows the following error:
No string between '"zoneGEO":' and ',' was found
"app.log" is attached...

I first thought that "zoneGEO" implied the programme
was simply blocked for my non-Czech IP, so I went ahead
and tried the link in Firefox:
1. The new iPrima website doesn't like my adblocker
(uBlock Origin), so I had to disable it on "play.iprima.cz"
in order to load the embedded player (wouldn't otherwise) ...
2. After a set of 3-4 ads (as reported by jimmy),
the programme started playing fine, so was not geo-blocked!

> Will (it) be possible to download RTMP in HD again?
> (FLV file in 1280x720p) ?

I did some preliminary tests and, at least on Firefox on a PC,
RTMP is not being used; the default streaming method is
(unencrypted) AppleHLS. Through Webconsole I sniffed for "m3u8"
URLs and found the master playlist to be:
http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0001/9944/cze-ao-sd1-sd2-sd3-sd4.smil/playlist.m3u8
If you open that in an editor, you'll see
that it points to four "child" playlists, all of whom are
standard def (720x400p), the best quality being:
#EXT-X-STREAM-INF:BANDWIDTH=1667072,RESOLUTION=720x400
chunklist_b1667072.m3u8
You can download that best quality via a recent build of FFmpeg:
ffmpeg -loglevel 8 -stats -i "http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0001/9944/cze-ao-sd1-sd2-sd3-sd4.smil/chunklist_b1667072.m3u8" -c copy "bursikovy-brikety.ts"
(776 MiB file, V=1500Kbps-400p, A=128Kbps)
Optional remux to MP4 container:
ffmpeg -loglevel 16 -stats -i "bursikovy-brikety.ts" -c copy -bsf:a aac_adtstoasc -f mp4 -movflags faststart "bursikovy-brikety.mp4"
(709 MiB file, due to smaller overhead...)
The embedded player does not provide a setting
for HD stream (even when "Video Quality" is set
manually to "MAX", no HD playlists are sniffed... confused smiley )
Perhaps HD is not offered to free users, it could
well be 720p streams are reserved for those that
do not want the ads and register with their
"Prima Premium PLAY" service (which I would guess
is a paid one...sad smiley )

I'm pretty sure tong2shot will come up with a solution
for at least downloading the SD HLS streams, more
research is needed whether (hidden) RTMP streams
do exist and whether HD is even still available...
Attachments:
open | download - app.log (125.5 KB)
Re: iPrima plugin
December 15, 2015 10:43AM
They change the whole thing, so the plugin needs a complete overhaul.

I got this part of playlist (excerpt) :
'tracks': {
    'HLS': [{
        'lang': 'cze',
        'title': 'Čeština',
        'src': 'http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-ao-sd1-sd2-sd3-sd4.smil/playlist.m3u8',
        'type': 'application/x-mpegURL',
        'profiles': ['ao', 'sd1', 'sd2', 'sd3', 'sd4']
    }, ],
    'DASH': [{
        'lang': 'cze',
        'title': 'Čeština',
        'src': 'http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-ao-sd1-sd2-sd3-sd4.smil/manifest.mpd',
        'type': 'application/dash+xml',
        'profiles': ['ao', 'sd1', 'sd2', 'sd3', 'sd4']
    }, ]
}

From what I tested there are only HLS and DASH streams. And for HLS (we don't have DASH plugin), there are only SD streams with various bitrates.

I'm not sure when will the new plugin be released, we'll see what we can do.
Re: iPrima plugin
December 16, 2015 12:04AM
TVjunkie wrote:
-------------------------------------------------------
> The embedded player does not provide a setting for HD stream
> (even when "Video Quality" is set manually to "MAX",
> no HD playlists are sniffed...confused smiley )
> Perhaps HD is not offered to free users, it could well be
> 720p streams are reserved for those that
> do not want the ads and register with their
> "Prima Premium PLAY" service
> (which I'd guess is a paid one...sad smiley )

tong2shot wrote:
-------------------------------------------------------
> And for HLS (we don't have DASH plugin),
> there are only SD streams with various bitrates.

Having as a start-point the SD master playlist I sniffed:
http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0001/9944/cze-ao-sd1-sd2-sd3-sd4.smi/playlist.m3u8
I did some extrapolation and was lucky enough
in my guesswork to arrive at hard-coded HD
playlist URLs that actually work:
http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-hd1.smil/playlist.m3u8
Opened in an editor, it reveals:
#EXT-X-STREAM-INF:BANDWIDTH=2310144,RESOLUTION=1280x720
chunklist_b2310144.m3u8
Download 720p AppleHLS stream with FFmpeg:
ffmpeg -loglevel 8 -stats -i "http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-hd1.smil/chunklist_b2310144.m3u8" -c copy "bursikovy-brikety_720p.ts"
Specs of the file are:
Video: Resolution=1280x720p, Bitrate=2000Kbps
Audio: Bitrate=256Kbps

...And there's more winking smiley
http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-hd2.smil/playlist.m3u8
Opened in an editor, it reveals:
#EXT-X-STREAM-INF:BANDWIDTH=3334144,RESOLUTION=1920x1080
chunklist_b3334144.m3u8
Download 1080p (FullHD) AppleHLS stream with FFmpeg:
ffmpeg -loglevel 8 -stats -i "http://prima-vod-prep.service.cdn.cra.cz/vod_Prima/_definst_/0002/0485/cze-hd2.smil/chunklist_b3334144.m3u8" -c copy "bursikovy-brikety_1080p.ts"
File specs are:
Video: Resolution=1920x1080p, Bitrate=3000Kbps
Audio: Bitrate=256Kbps
(Be warned that this HD stream produces huge files;
a 1min long test 1080p download, after the remux
to MP4, measures at 24.6 MiB; so a full 1hr long
programme would be aprox. 1.43GiB...eye popping smiley)

Hoping my findings are of value to the devs,
although, understandably, hard-coded playlists
constitute a very fragile hack - we have to find
another way to get to those HD streams...confused smiley
Sorry, only registered users may post in this forum.

Click here to login