Page 1 of 1

Trailer Addict

PostPosted: Sat Feb 04, 2012 8:50 pm
by Illico
Image
Source type : WebResource
Source URL : See Note * or click on :serviiolink: icon
Media type : Video
Quality : HIGH or LOW

TrailerAddict.groovy
Version 1.5 (16-03-2013) : Change VALID_FEED_URL regex to support url="http://www.traileraddict.com/attraction/1"
(5.58 KiB) Downloaded 1119 times

Note*:
http://www.traileraddict.com => Trailer Addict top page : Image
http://www.traileraddict.com/attraction/1 => Trailer Addict : Top Trailers (page1) : Image




For some renderer like Sony Bravia there were problem with h264 video source format, you probably have to encode to mpeg2video.
add this to your profile:
  Code:
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
            <Matches container="mp4" vCodec="h264" aCodec="aac" />
         </Video>
      </OnlineTranscoding>







_
For plugin developpers, my groovy plugins sources are available here : https://bitbucket.org/Illico/pc5dczc_plugins/src

Re: Trailer Addct Rss

PostPosted: Sat Feb 04, 2012 11:59 pm
by Barack Osama
Thank you very much! :D

Re: Trailer Addct Rss

PostPosted: Sun Feb 05, 2012 9:16 am
by Illico
An update for HD content support : version 1.1

Re: Trailer Addct Rss

PostPosted: Sun Feb 05, 2012 8:17 pm
by Xmantium
Thanks for the plugin, never heard of this website until now
I added the rss feed but noticed theres not many trailers on offer

I visited the site and on their Top 150 Films of the Week - http://www.traileraddict.com/top150
I noticed each movie has an rss feed
Like Dark Knight Rises - http://feed.traileraddict.com/the-dark-knight-rises
But these dont work in the plugin, please can change it for these feeds

Even better if it worked to play their latest featured trailers - http://www.traileraddict.com/attraction/1

Re: Trailer Addct Rss

PostPosted: Mon Feb 06, 2012 8:51 am
by Illico
Xmantium wrote:Thanks for the plugin, never heard of this website until now
...
I noticed each movie has an rss feed
Like Dark Knight Rises - http://feed.traileraddict.com/the-dark-knight-rises


Never heard too, I had done this plugin from this request viewtopic.php?f=21&t=5177

For Like Dark Knight Rises - http://feed.traileraddict.com/the-dark-knight-rises

I'm at work but only change this line should be ok:
final VALID_FEED_URL = '(^http://www.traileraddict.com/rss$)||(^http://feed.traileraddict.com/.*$)'

Re: Trailer Addct Rss

PostPosted: Mon Feb 06, 2012 8:55 am
by Illico
Xmantium wrote:Even better if it worked to play their latest featured trailers - http://www.traileraddict.com/attraction/1

A webresource plugin is needed but doable.

Re: Trailer Addict Rss

PostPosted: Mon Feb 06, 2012 7:15 pm
by Xmantium
Thanks, I will test it tonight and hope users can use the better feeds that this website provides! :)
I don't know why their main RSS feed is practically empty :?

Update: fully working! Would be nice if you include it in your plugin

Re: Trailer Addict Rss

PostPosted: Tue Feb 07, 2012 9:14 pm
by Illico
Plugin updated.

Re: Trailer Addict Rss

PostPosted: Fri Jun 01, 2012 9:17 pm
by Xmantium
Hi Illico, think this plugin is not working with traileraddict feed anymore, maybe a change from the site?
TrailerAddict currenly is the only working Movie Trailer site for Serviio if you dont include this amazing YouTube feed for Serviio

I tried my favourite movie of this year and not seem to work, same for the main feed (the main feed hardly gets updated anyway)
  Code:
http://feed.traileraddict.com/the-cabin-in-the-woods

Can you have a look when you get the time please ;)

Re: Trailer Addict Rss

PostPosted: Tue Jun 05, 2012 9:40 am
by Illico
Hi Xmantium,
As you can see, I really not have time for the moment.
It seems that the rss xml structure is not parsed by serviio correctly, don't know why ?

Re: Trailer Addict Rss

PostPosted: Sat Mar 09, 2013 8:35 pm
by Illico
New Version 1.3 (09-03-2013) : Add VERSION, VideoId, VideoUrl match correction

Re: Trailer Addict Rss

PostPosted: Sun Mar 10, 2013 2:39 pm
by Illico
Version 1.4 (10-03-2013) : Change plugin to WebResourceUrlExtractor from "http://www.traileraddict.com"

Re: Trailer Addict

PostPosted: Thu Mar 14, 2013 12:07 am
by Xmantium
Hi Illico thanks for resurrecting this plugin - works great!!
Its much more better than the old RSS plugin, very good alternative to HD-Trailers and YouTube Trailer channels

After fiddling with this groovy, if you change Line 14 to
  Code:
final VALID_FEED_URL = '^http://www\\.traileraddict\\.com.*?'
Top Trailers Page - http://www.traileraddict.com/attraction/1 also works! As its in the same format as the front page

Thanks again :)

Re: Trailer Addict

PostPosted: Sat Mar 16, 2013 1:45 pm
by Illico
New Version 1.5 (16-03-2013) : Change VALID_FEED_URL regex to support url="http://www.traileraddict.com/attraction/1"

Re: Trailer Addict

PostPosted: Tue Apr 02, 2013 10:27 pm
by Xmantium
Hi Illico, got round to using this plugin, for some reason i find the video out of sync and buffers very heavy in all videos on Sony 2010 TV
I tried it in Windows and Linux, both same results

I did try pausing and waiting 30 seconds to catch up but still out of sync and buffers

Re: Trailer Addict

PostPosted: Wed Apr 03, 2013 6:31 pm
by Illico
So I try on my Sony 2010 too and YES video/audio stutters (High and Low quality)...

See following LOW resolution format:
  Code:
ffmpeg version 1.1.1 Copyright (c) 2000-2013 the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://media10.traileraddict.com/whitehousedownt12.mp4?8b4c33b911618ed7466247e0c5e21332ea9e0c9b384bec2a69e20437c1d9f2ebae29dd28354b5030f29612249fb79b09':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2013-03-27 00:54:10
    encoder         : HandBrake 0.9.6 2012022800
  Duration: 00:02:16.28, start: 0.000000, bitrate: 1071 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 864x368, 988 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-03-27 00:54:10
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 78 kb/s
    Metadata:
      creation_time   : 2013-03-27 00:54:10
At least one output file must be specified

Re: Trailer Addict

PostPosted: Wed Apr 03, 2013 6:54 pm
by Illico
I don't know why but there were something on TrailerAddict mp4 media file that Sony Bravia 2010 model does not support...mp42, handbrake encoding...?

One solution is to force transcoding to mpeg2video like this:

  Code:
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="17000" targetACodec="ac3" aBitrate="384" DAR="16:9" forceInheritance="true">
            <Matches container="mp4" vCodec="h264" aCodec="aac" />
         </Video>
      </OnlineTranscoding>

Re: Trailer Addict

PostPosted: Thu Apr 04, 2013 7:34 am
by Xmantium
Its very strange when original plugin using RSS feeds was working without stutter.
Could this be bug with ffmpeg or Renderer not being able the play these files?

If i do change the profile, that means all other online h264/acc files from other plugins will be transcoded
Is there a way to call transcoding within the plugin?

Re: Trailer Addict

PostPosted: Thu Apr 04, 2013 8:49 am
by Illico
Xmantium wrote:Its very strange when original plugin using RSS feeds was working without stutter.
Could this be bug with ffmpeg or Renderer not being able the play these files?


I don't know why.
Since, some modifications has been implemented on Sony profiles for online media...I don't remember how mp4/h264/aac has been delivered (mpegts remux, mpegts/mpeg2video transcoded) in previous serviio version.
That could be due to :
1- New encoding process on TrailerAddict web site that produce a h264 not supported by Bravia.
2- if previous serviio version only remux to mpegts (same than 1.2), then that could be due to a ffmpeg regression on mpegts remuxing (timestamp or fps managment...)

The previous plugin with RSS feed can be downloaded here:
https://bitbucket.org/Illico/pc5dczc_pl ... ict.groovy

Xmantium wrote:If i do change the profile, that means all other online h264/acc files from other plugins will be transcoded
Is there a way to call transcoding within the plugin?

Yes, change means all other online mp4/h264/aac will be transcoded.
No, plugin could not call a specific transcoding option.