Page 1 of 1

trailers.apple.com

PostPosted: Fri Sep 23, 2011 7:32 am
by Illico
Latest Movie Trailers
Recently added Movie Trailers.
http://trailers.apple.com/trailers/home ... ailers.rss

Re: [VIDEO] trailers.apple.com

PostPosted: Tue Sep 27, 2011 10:00 pm
by evanslee
Example URL: http://trailers.apple.com/trailers/focu ... oldierspy/

Example 480p:
http://trailers.apple.com/movies/indepe ... _h480p.mov

Example 720p:
http://trailers.apple.com/movies/indepe ... _h720p.mov

Example 1080p
http://trailers.apple.com/movies/indepe ... h1080p.mov


somebody here has posted how they get the movie links
http://www.krunk4ever.com/blog/2006/12/17/how-to-download-hd-trailers-from-applecom/

  Code:
set INPUT=
set /P INPUT=Type input: %=%
C:\Program Files\GnuWin32\bin\wget -U “Quicktime/7.2.0” %INPUT%
@pause

Re: [VIDEO] trailers.apple.com

PostPosted: Wed Sep 28, 2011 8:45 am
by zip
I was looking at this yesterday, have the whole plugin ready but it requires the Quicktime user-agent to be sent. I have to look if FFmpeg supports that and if yes, implement the change - so it wouldn't work until 0.6.1 anyway.

Looked into it, doesn't seem we can pass headers to http requests in ffmpeg. Unless not via ffmpeg command line - if someone figures this out then this plugin is a go.

Re: [VIDEO] trailers.apple.com

PostPosted: Wed Sep 28, 2011 7:13 pm
by evanslee
Could java (which i know little about) stream the file to ffmpeg instead of ffmpeg going direct to apple?
java.net.URLConnection c = url.openConnection();
c.setRequestProperty("User-Agent", "Quicktime/7.2.0");

I doubt you want serviio using php/curl...

this ffmpeg page mentions useragent
http://ffmpeg.org/doxygen/trunk/mmsh_8c.html

Re: [VIDEO] trailers.apple.com

PostPosted: Wed Sep 28, 2011 9:11 pm
by zip
not going to go through Java, it would only decrease the delivery speed, would increase buffering etc.

Re: trailers.apple.com

PostPosted: Wed May 30, 2012 7:55 pm
by jlcooke
What id the trailers were downloaded periodically and then ffmpeg'd?

I did this for my Samsung TV using PHP, ffmpeg, and OSFLV. ffmpeg options "-vcodec copy" and "-acodec copy" make changing from mp4-->avi/flv/mkv very fast.

Re: trailers.apple.com

PostPosted: Mon Jun 11, 2012 8:16 pm
by zip
this will now be possible in 1.0, will release the plugin once 1.0 is out

Re: trailers.apple.com

PostPosted: Sun Jul 29, 2012 6:26 pm
by Xmantium
Any update on your Apple Trailers plugin?

Re: trailers.apple.com

PostPosted: Sun Jul 29, 2012 6:43 pm
by jhb50
HDTrailers.groovy now contains support for Apple Trailers.

Re: trailers.apple.com

PostPosted: Sun Jul 29, 2012 7:36 pm
by Xmantium
jhb50 wrote:HDTrailers.groovy now contains support for Apple Trailers.

HD Trailers is really good, amazing job on that groovy.
Problem is inconsistent bitrate as it uses several sources.

Apple Trailers on its own does provide consistent level of quality/bitrate and is one of my most used XBMC plugin - Source here
It uses http://trailers.apple.com/trailers/home/xml/current.xml
A Serviio groovy for this would be amazing! :D

Re: trailers.apple.com

PostPosted: Sun Jul 29, 2012 10:27 pm
by jhb50
All the sources including apple provide 3 qualities 480,720 and 1080 and the plugin allows you to choose. There are also lots of movies for which apple has no trailers so an exclusive apple one would be limited.

However, I have added a new option pref=apple so if there is an apple trailer available the latest apple trailer will be shown in place of the latest trailer overall. So best of both worlds.