FAQ  •  Register  •  Login

HDTRAILERS VIDEO WEBRESOURCE

<<

NX3

DLNA master

Posts: 581

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Aug 14, 2012 4:26 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Xmantium wrote:
NX3 wrote:How can you tell if the trailer is from apple ?

Theres usually an Apple watermark on the bottom right


Ahh thankyou :D
<<

NX3

DLNA master

Posts: 581

Joined: Fri Jan 28, 2011 12:39 pm

Post Tue Aug 14, 2012 6:13 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Everything works bar Apple trailers for me, this is the detailed log of a stream failing.

  Code:
2012-08-14 19:05:27,203 DEBUG [ProcessExecutor] Starting ffmpeg -user-agent QuickTime -i http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov
2012-08-14 19:05:27,236 DEBUG [FeedUpdaterThread] Cannot get information about the URL, it might have expired already. Trying again.
2012-08-14 19:05:27,237 DEBUG [FeedItemUrlExtractor] HDTrailers: Starting extraction of url for item: [8]Tai Chi 0
2012-08-14 19:05:27,459 DEBUG [FeedItemUrlExtractor] HDTrailers: Getting item: [8]Tai Chi 0
2012-08-14 19:05:27,460 DEBUG [FeedItemUrlExtractor] HDTrailers: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov, thumbnailUrl=http://www.hd-trailers.net/thumbnail/tai-chi-0-1344617115-poster.jpg, expiresImmediately=true, cacheKey=http://www.hd-trailers.net/movie/tai-chi-0/_720, live=false, userAgent=QuickTime]
2012-08-14 19:05:27,460 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov
2012-08-14 19:05:27,461 DEBUG [ProcessExecutor] Starting ffmpeg -user-agent QuickTime -i http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov
2012-08-14 19:05:27,495 WARN  [FeedUpdaterThread] Failed to retrieve online item information for http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:382)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:86)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:124)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
   ... 2 more


It appears ffmpeg doesn't understand the command "user-agent" command, yet to look up....

  Code:
ffmpeg -user-agent QuickTime -i http://trailers.apple.com/movies/independent/taichi0/taichi-tlr1_h720p.mov
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan  7 2012 18:21:29 with gcc 4.6.1
  configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid --enable-ssse3
  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 0 / 53. 42. 0
  libavformat  53. 24. 0 / 53. 24. 0
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
Unrecognized option 'user-agent'
Failed to set value 'QuickTime' for option 'user-agent'
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Aug 14, 2012 8:49 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Your ffmpeg is obsolete. Here is currrent output per Serviio 1.0
  Code:
C:\Users\John>ffmpeg -user-agent QuickTime -i http://trailers.apple.com/movies/i
ndependent/taichi0/taichi-tlr1_h720p.mov
ffmpeg version N-41860-g6fd0b55 Copyright (c) 2000-2012 the FFmpeg developers
  built on Jun 23 2012 19:49:05 with gcc 4.6.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-w64-mingw32- --pkg-config=pk
g-config
  libavutil      51. 61.100 / 51. 61.100
  libavcodec     54. 29.100 / 54. 29.100
  libavformat    54. 11.100 / 54. 11.100
  libavdevice    54.  0.100 / 54.  0.100
  libavfilter     2. 82.100 /  2. 82.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 15.100 /  0. 15.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://trailers.apple.com/movies/indepe
ndent/taichi0/taichi-tlr1_h720p.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2012-08-10 16:16:03
    comment         : Encoded and delivered by apple.com/trailers/
    copyright       : ┬⌐ 2012 All Rights Reserved
    title           : Tai Chi 0
    timecode        : 01:00:00:00
  Duration: 00:01:09.81, start: 0.000000, bitrate: 5393 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x544,
 5253 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
    Metadata:
      creation_time   : 2012-08-10 16:16:03
      handler_name    : Apple Alias Data Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 134
 kb/s
    Metadata:
      creation_time   : 2012-08-10 16:16:03
      handler_name    : Apple Alias Data Handler
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
    Metadata:
      creation_time   : 2012-08-10 16:16:03
      handler_name    : Apple Alias Data Handler
      timecode        : 01:00:00:00
<<

NX3

DLNA master

Posts: 581

Joined: Fri Jan 28, 2011 12:39 pm

Post Wed Aug 15, 2012 7:37 am

Re: HDTRAILERS VIDEO WEBRESOURCE

Ops ! Thanks...... I must have messed up the sources....
<<

NX3

DLNA master

Posts: 581

Joined: Fri Jan 28, 2011 12:39 pm

Post Wed Aug 15, 2012 5:26 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

You using the latest soruces from ffmpeg not the serviio versions ?

I got sources from here
http://www.serviio.org/download
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Wed Aug 15, 2012 6:27 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

I'm on Windows and don't need the source.
<<

NX3

DLNA master

Posts: 581

Joined: Fri Jan 28, 2011 12:39 pm

Post Thu Aug 16, 2012 8:06 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

k, fixed using latest sources complied :)
<<

Xmantium

User avatar

DLNA master

Posts: 1418

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun Sep 16, 2012 11:22 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

In Top 10 feed im getting error message for Lawless
  Code:
2012-09-16 23:50:18,981 WARN  [WebResourceParser] Plugin HDTrailers returned no value for resource item '[4]Lawless'

It does have trailers for this awesome movie
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Sep 17, 2012 6:20 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Verson 6 released to exclude restricted "Red Band Trailers" that require age confirmations.
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Sep 20, 2012 8:59 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Version 7 released to support changed YouTube links.
<<

Xmantium

User avatar

DLNA master

Posts: 1418

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Tue Nov 13, 2012 8:06 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Hi jbh50, I've noticed some movies with "&" in the title comes as "&amp;"
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Tue Nov 13, 2012 9:40 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Fixed in V8 now posted
<<

slyguy42o

DLNA master

Posts: 477

Joined: Wed Oct 24, 2012 5:29 am

Post Thu Jan 17, 2013 8:21 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

any ideas about this error?

Serviio 1.1
Windows 2k3 x86
here is the URL I am using
http://www.hd-trailers.net/?res=720
feed not showing

2013-01-17 12:19:02,171 DEBUG [OnlineLibraryManager] Resource http://www.hd-trailers.net/?res=720 not in cache yet, loading it
2013-01-17 12:19:02,171 DEBUG [WebResourceParser] Parsing web resource 'http://www.hd-trailers.net/?res=720'
2013-01-17 12:19:02,171 DEBUG [WebResourceParser] Found matching url extractor (HDTrailers) for resource http://www.hd-trailers.net/?res=720
2013-01-17 12:19:02,171 DEBUG [FeedItemUrlExtractor] HDTrailers: Starting parsing resource: http://www.hd-trailers.net/?res=720
2013-01-17 12:19:02,171 DEBUG [FeedItemUrlExtractor] HDTrailers: Parsing with HDTrailers V8- Only works with Serviio V1.0+
2013-01-17 12:19:02,171 DEBUG [FeedItemUrlExtractor] HDTrailers: HDTrailer type not found or start value too high
2013-01-17 12:19:02,171 WARN [WebResourceParser] Plugin returned null container
2013-01-17 12:19:02,171 WARN [OnlineContentCacheDecorator] Could not store object to local cache (online_feeds): Value must not be null
2013-01-17 12:19:02,171 WARN [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.lang.NullPointerException
at org.serviio.library.online.OnlineLibraryManager.getEarliestItemExpiryDate(OnlineLibraryManager.java:313)
at org.serviio.library.online.OnlineLibraryManager.storeResourceExpiryDate(OnlineLibraryManager.java:358)
at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:177)
at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Thu Jan 17, 2013 9:31 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Posted formats have no / before ?
<<

slyguy42o

DLNA master

Posts: 477

Joined: Wed Oct 24, 2012 5:29 am

Post Thu Jan 17, 2013 10:12 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

hmm not sure what you are referring to, I thought the rest of the options would just default?
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Jan 18, 2013 12:21 am

Re: HDTRAILERS VIDEO WEBRESOURCE

The valid form was given as http://www.hd-trailers.net?res=720
You used http://www.hd-trailers.net/?res=720
No / before ?
<<

slyguy42o

DLNA master

Posts: 477

Joined: Wed Oct 24, 2012 5:29 am

Post Fri Jan 18, 2013 5:33 am

Re: HDTRAILERS VIDEO WEBRESOURCE

aha! got it! thanks!
<<

Xmantium

User avatar

DLNA master

Posts: 1418

Joined: Sat Jul 23, 2011 2:12 pm

Location: Manchester, UK

Post Sun Jan 27, 2013 3:00 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Looks like Yahoo Trailers changed its format - http://blog.hd-trailers.net/2012/12/23/ ... on-script/ provides a fix but not sure how it will work for this plugin
Possibly ignore Yahoo Trailer sources in the plugin
  Code:
2013-01-27 14:52:29,455 WARN  [FeedUpdaterThread] Failed to retrieve online item information for http://www.hd-trailers.net/yahoo-redir.php?id=c89586ac-eb70-3014-b379-9deee9072fa7&resolution=480. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:409)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:89)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:127)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
   ... 2 more
2013-01-27 14:52:31,099 WARN  [FeedUpdaterThread] Failed to retrieve online item information for http://www.hd-trailers.net/yahoo-redir.php?id=2de34cea-2b7e-35ef-85b2-fd2b42c164a4&resolution=480. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:409)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:89)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:127)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
   ... 2 more
2013-01-27 14:52:32,585 WARN  [FeedUpdaterThread] Failed to retrieve online item information for http://www.hd-trailers.net/yahoo-redir.php?id=21a8e8bf-195f-35bf-b291-694ef55ff93d&resolution=480. It might not play.
java.io.IOException: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:291)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:209)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:102)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
   at org.serviio.library.metadata.FFmpegMetadataRetriever.validateMandatoryMetadata(FFmpegMetadataRetriever.java:409)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:89)
   at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveOnlineMetadata(FFmpegMetadataRetriever.java:127)
   at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveMetadata(FeedUpdaterThread.java:268)
   ... 2 more
Sony Bravia 2010 52NX803 - Sony PS3 - Xbox 360
Serviio running on QNAP NAS 639 Pro - 1.6 Intel Dual Core - 2GB RAM and QNAP NAS 121 - 2Ghz ARM Marvell - 1GB RAM
Console using ServiiDroid for Android, ServiiMetro and ServiiWP for Windows Phone and WebUI for iOS
<<

jhb50

DLNA master

Posts: 2854

Joined: Thu Jun 30, 2011 9:32 pm

Post Mon Feb 04, 2013 2:25 am

Re: HDTRAILERS VIDEO WEBRESOURCE

Version 9 posted to support new yahoo format
<<

RalfvdEnden

Serviio newbie

Posts: 4

Joined: Tue Nov 06, 2012 12:15 pm

Location: The Hague, The Netherlands

Post Thu Feb 21, 2013 7:35 pm

Re: HDTRAILERS VIDEO WEBRESOURCE

Hello,

Kudos on this plugin. However, I ran into an issue with the apple feed today. The log shows the following:

2013-02-21 16:31:31,463 WARN [WebResourceParser] Plugin HDTrailers returned no value for resource item '[50]F*ck for Forest'

It's probably the asterix in the name breaking retrieval.

Cheers,

Ralf
PreviousNext

Return to Available plugins

Who is online

Users browsing this forum: No registered users and 2 guests

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