Page 2 of 9

Re: Hulu (US only)

PostPosted: Sun Jan 22, 2012 11:30 pm
by zip
you have to post ffmpeg -i "rtmp://......" for a feed that fails like this.

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 12:00 am
by djwoodard
Does this plugin stream the subtitles/captions?

For example: http://www.hulu.com/watch/187768/youre- ... s-p4-so-i0

When I watch on hulu.com, I can watch it with subtitles. If I watch it streamed through serviio, I only get the raw video and audio.

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 12:09 am
by zip
no, subs are not supported for online

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 12:14 am
by djwoodard
I thought that was going to be the case. :)

Thanks for your work on the plugin. It's great for 90% of what we would watch on Hulu.

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 12:23 am
by moltra
Looks like I am still getting the handshake error.

  Code:
mark@SMServer:~$ ffmpeg -i "rtmpe://cp39466.edgefcs.net/ondemand?auth=daEbvbrd7aActbNbIbvdjdRdEdodxdmaxb4-bphjpc-c0-XoMEACt0Jyv&aifp=sll02152008&slist=hulu12/186/50145186;.international=false&hgt=OZU7Pvs7j27-nhteNno7wvVyYGoB-577FaYM6kLfmOS13Egksgn-hSVijwfh6UAu8dilvKWE29KoYqPS4SKGC8XzJ_GzQ5WjnDI41KxqZRNIqDYLBFS2yFRiv8Ocn0RGSY6mncfvQuPMJm8I5pCwT-3soGFMVMpwBAxHpI7gdmyYFt11q-5VK1CCIIdLXYOFaJfuokTWi8UDWXAbrWolsPm00_0MtdPLiAhntMJ-6KWVrSSWfG3LgtWt3OKskTti&hgt_ver=331370278 app=ondemand?auth=daEbvbrd7aActbNbIbvdjdRdEdodxdmaxb4-bphjpc-c0-XoMEACt0Jyv&aifp=sll02152008&slist=hulu12/186/50145186;.international=false&hgt=OZU7Pvs7j27-nhteNno7wvVyYGoB-577FaYM6kLfmOS13Egksgn-hSVijwfh6UAu8dilvKWE29KoYqPS4SKGC8XzJ_GzQ5WjnDI41KxqZRNIqDYLBFS2yFRiv8Ocn0RGSY6mncfvQuPMJm8I5pCwT-3soGFMVMpwBAxHpI7gdmyYFt11q-5VK1CCIIdLXYOFaJfuokTWi8UDWXAbrWolsPm00_0MtdPLiAhntMJ-6KWVrSSWfG3LgtWt3OKskTti&hgt_ver=331370278 playpath=mp4:hulu12/186/50145186/agave50145186_5121638_H264_650.mp4"
ffmpeg version git-2012-01-18-e191f1f Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 17 2012 23:13:59 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
  libavutil      51. 34.101 / 51. 34.101
  libavcodec     53. 57.100 / 53. 57.100
  libavformat    53. 30.100 / 53. 30.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 59.101 /  2. 59.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    51.  2.100 / 51.  2.100
HandShake: Type mismatch: client sent 6, server answered 9
HandShake: Server not genuine Adobe!

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 12:51 am
by moltra
I have rtmpdump V2. installed and still getting the handshake error.

  Code:
 rtmpdump -v
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 2:54 am
by moltra
Found this tried it and still handshake error

  Code:
git clone git://git.ffmpeg.org/rtmpdump
cd rtmpdump
make
sudo make install
But the resulting binary still failed with this error message:
 WARNING: HandShake: Type mismatch: client sent 6, server answered 9
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
After a bit of digging it turned out that my new rtmpdump used the old dynamic library. I had to set the rpath of the new binary, so that it used the new version of the library. There are several ways to do this; I choose to recompile with:
 make clean
make XLDFLAGS='-Xlinker -rpath -Xlinker /usr/local/lib'
sudo make instal

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 4:34 pm
by zip
the librtmp is probably old. both ffmpeg and rtmpdump and linking the old library.

Re: Hulu (US only)

PostPosted: Mon Jan 23, 2012 4:55 pm
by moltra
yes that is what they are saying on the net about it. When they setup rtmpdump 2.4 for ubuntu they did not set up the new 2.4 dynamic library links.

I will test this tonight and let you know.

Re: Hulu (US only)

PostPosted: Mon Feb 06, 2012 11:05 pm
by bt107
I'm a little confused about this and plugins in general. I downloaded and installed in the plugins directory but I haven't gotten it to work at all.. Is this all I needed to do? Seems like something is missing. I'm running this on a Fedora 14 headless server.

Thanks!

Re: Hulu (US only)

PostPosted: Fri Feb 10, 2012 1:30 pm
by Daviio
This plugin works great. I am having one issue though, I am only able to see about 25 episodes via serviio. I get a full listing when I use google reader. Is this just a limitation of the plugin or am I doing something wrong. I am able to get up to 50 listings with You Tube Feeds.

Re: Hulu (US only)

PostPosted: Fri Feb 10, 2012 1:31 pm
by zip
check the detailed log, it might skip some.

Re: Hulu (US only)

PostPosted: Sat Feb 18, 2012 12:37 am
by mkkyah
Zip, thanks for serviio and Hulu plugin. My experiences are mostly very positive and hopeful for near future.

I experience random stops while streaming Hulu, it stucks with pause sign, but you have to cancel and start again from beginning, its very annoying. I'm not sure, maybe coincidence, but one other episode had no problems but The Voice S2E3 pauses randomly every 5-10-15 minutes. I had to switch to Tversity and watch the episode. For information: I use VPN while watching Hulu, connection may have temporary problems.
I had no problem with Tversity this time, but their last version handles such errors very good, it starts where you have left if something happens. Never been a fan of Tversity, so I hope I can uninstall it soon.

Here is the last part of the log:
2012-02-18 02:13:21,781 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://46.105.109.122/edge swfUrl=http://static.ilive.to/jwplayer/player.swf pageURL=http://www.ilive.to/ playpath=7f14kif8m902om7 swfVfy=0 live=1. 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.retrieveAVMetadata(FeedUpdaterThread.java:273)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:208)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:101)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:344)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:87)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:255)
... 2 more
2012-02-18 02:13:35,815 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmp://46.105.109.122/edge swfUrl=http://static.ilive.to/jwplayer/player.swf pageURL=http://www.ilive.to/ playpath=p9p6783e22878ys swfVfy=0 live=1. 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.retrieveAVMetadata(FeedUpdaterThread.java:273)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:208)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:101)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:344)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:87)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:255)
... 2 more
2012-02-18 02:16:59,603 WARN [ProcessExecutor] Process /root/.serviio/opt/bin/ffmpeg has a return code of 141! This is a possible error.

Re: Hulu (US only)

PostPosted: Sun Feb 19, 2012 5:12 am
by iMacUser
Hi folks, i'm new to the forum so help is needed. i have used the serviio for over a year now but only using it to send shared media to my Sony Google TV NSX-GT1. Yesterday i upgraded to 0.6.2 and added the plug-in for Hulu which i am on a 7 day trial. Here is my problem.... i have been able to add the RSS link in my library and see the Hulu folder on my TV but when i click one of the files to play it my TV says the file is corrupted or the file is unknown. I'm pretty sure the configuration in Serviio is correct i am wondering why the Google TV can't play the files. Does this sound like a transcoding issue?? any suggestions are welcomed at this juncture!

Re: Hulu (US only)

PostPosted: Mon Feb 20, 2012 11:03 pm
by insane822
Greetings! :D

I get errors with this feed. Is Hulu at fault here?
http://www.hulu.com/feed/show/6979/episodes

  Code:
2012-02-20 16:51:37,510 DEBUG [FeedParser] Parsing feed 'http://www.hulu.com/feed/show/6979/episodes'
2012-02-20 16:51:37,728 DEBUG [FeedParser] Found matching url extractor (Hulu (US only)) for resource http://www.hulu.com/feed/show/6979/episodes
2012-02-20 16:51:37,728 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e14 - The Poor Kid
2012-02-20 16:51:38,975 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e14 - The Poor Kid: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:38,975 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e13 - A History Channel Thanksgiving
2012-02-20 16:51:39,679 DEBUG [AbstractCDSLibraryIndexingListener] Library updated, notifying CDS
2012-02-20 16:51:39,951 DEBUG [FeedItemUrlExtractor] Hulu (US only): Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaWcgd.aUcIaOcmccbdbWd0bCdzbicgbE-bpqS6s-c0-4pLEtCt0Exm&aifp=sll02152008&slist=hulu12/336/60005336;.international=false&hgt=OZU7Pvs7j27-nhteNno7wiiF3NucgDd63CIY6pZVS94HfselGJs9IwESJ5Jo_m9OTPoT0uy8e2U1TfKPV3B5g-iL37X5rGoXfW4Z2T-qX6cGBL2un4Kzu1puWAElkYkl1naMIrGlz8i83SyT0JigrJF3mfb9kB3ZXo3f-6G6nLevDNBZ26jAU4GlKVwo1VoFQZHSnuJ7t4gAhQ8XFTWcAGroVn4PqUs4OwPmPVHpLA0QFWWkpvzUTJMfhipxhiaa&hgt_ver=331370278 app=ondemand?auth=daEaWcgd.aUcIaOcmccbdbWd0bCdzbicgbE-bpqS6s-c0-4pLEtCt0Exm&aifp=sll02152008&slist=hulu12/336/60005336;.international=false&hgt=OZU7Pvs7j27-nhteNno7wiiF3NucgDd63CIY6pZVS94HfselGJs9IwESJ5Jo_m9OTPoT0uy8e2U1TfKPV3B5g-iL37X5rGoXfW4Z2T-qX6cGBL2un4Kzu1puWAElkYkl1naMIrGlz8i83SyT0JigrJF3mfb9kB3ZXo3f-6G6nLevDNBZ26jAU4GlKVwo1VoFQZHSnuJ7t4gAhQ8XFTWcAGroVn4PqUs4OwPmPVHpLA0QFWWkpvzUTJMfhipxhiaa&hgt_ver=331370278 playpath=mp4:hulu12/336/60005336/agave50230503_6682154_H264_1000.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1, live=false, expiresImmediately=true, cacheKey=hulu_60005336_HIGH]
2012-02-20 16:51:39,951 DEBUG [FeedParser] Added feed item 1: 'South Park - s15 | e13 - A History Channel Thanksgiving' (rtmpe://cp39466.edgefcs.net/ondemand?auth=daEaWcgd.aUcIaOcmccbdbWd0bCdzbicgbE-bpqS6s-c0-4pLEtCt0Exm&aifp=sll02152008&slist=hulu12/336/60005336;.international=false&hgt=OZU7Pvs7j27-nhteNno7wiiF3NucgDd63CIY6pZVS94HfselGJs9IwESJ5Jo_m9OTPoT0uy8e2U1TfKPV3B5g-iL37X5rGoXfW4Z2T-qX6cGBL2un4Kzu1puWAElkYkl1naMIrGlz8i83SyT0JigrJF3mfb9kB3ZXo3f-6G6nLevDNBZ26jAU4GlKVwo1VoFQZHSnuJ7t4gAhQ8XFTWcAGroVn4PqUs4OwPmPVHpLA0QFWWkpvzUTJMfhipxhiaa&hgt_ver=331370278 app=ondemand?auth=daEaWcgd.aUcIaOcmccbdbWd0bCdzbicgbE-bpqS6s-c0-4pLEtCt0Exm&aifp=sll02152008&slist=hulu12/336/60005336;.international=false&hgt=OZU7Pvs7j27-nhteNno7wiiF3NucgDd63CIY6pZVS94HfselGJs9IwESJ5Jo_m9OTPoT0uy8e2U1TfKPV3B5g-iL37X5rGoXfW4Z2T-qX6cGBL2un4Kzu1puWAElkYkl1naMIrGlz8i83SyT0JigrJF3mfb9kB3ZXo3f-6G6nLevDNBZ26jAU4GlKVwo1VoFQZHSnuJ7t4gAhQ8XFTWcAGroVn4PqUs4OwPmPVHpLA0QFWWkpvzUTJMfhipxhiaa&hgt_ver=331370278 playpath=mp4:hulu12/336/60005336/agave50230503_6682154_H264_1000.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1)
2012-02-20 16:51:39,952 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e12 - One Percent
2012-02-20 16:51:40,810 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e12 - One Percent: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:40,810 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e11 - Broadway Bro Down
2012-02-20 16:51:43,084 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e11 - Broadway Bro Down: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:43,084 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e10 - Bass to Mouth
2012-02-20 16:51:43,889 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e10 - Bass to Mouth: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:43,889 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e9 - The Last of the Meheecans
2012-02-20 16:51:45,964 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e9 - The Last of the Meheecans: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:45,964 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e8 - Ass Burgers
2012-02-20 16:51:48,591 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e8 - Ass Burgers: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:48,591 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e7 - You're Getting Old
2012-02-20 16:51:50,900 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e7 - You're Getting Old: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:50,900 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e6 - City Sushi
2012-02-20 16:51:53,286 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e6 - City Sushi: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:53,287 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e5 - Crack Baby Athletic Association
2012-02-20 16:51:55,869 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e5 - Crack Baby Athletic Association: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:55,869 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e4 - T.M.I.
2012-02-20 16:51:58,016 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e4 - T.M.I.: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:51:58,016 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e3 - Royal Pudding
2012-02-20 16:52:00,916 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e3 - Royal Pudding: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:00,916 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e2 - Funnybot
2012-02-20 16:52:03,277 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e2 - Funnybot: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:03,277 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s15 | e1 - HumancentiPad
2012-02-20 16:52:04,182 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s15 | e1 - HumancentiPad: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:04,182 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e14 - Creme Fraiche
2012-02-20 16:52:06,309 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e14 - Creme Fraiche: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:06,309 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e13 - Coon vs. Coon & Friends
2012-02-20 16:52:08,593 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e13 - Coon vs. Coon & Friends: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:08,594 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e12 - Mysterion Rises
2012-02-20 16:52:10,798 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e12 - Mysterion Rises: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:10,798 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e11 - Coon 2: Hindsight
2012-02-20 16:52:11,750 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e11 - Coon 2: Hindsight: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:11,750 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e10 - Insheeption
2012-02-20 16:52:14,174 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e10 - Insheeption: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)
2012-02-20 16:52:14,174 DEBUG [FeedItemUrlExtractor] Hulu (US only): Starting extraction of url for item: South Park - s14 | e9 - It's A Jersey Thing
2012-02-20 16:52:16,204 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (Hulu (US only)) for item South Park - s14 | e9 - It's A Jersey Thing: Invalid SMIL XML, content probably expired. Expression: (matcher.count == 1)

Re: Hulu (US only)

PostPosted: Tue Feb 21, 2012 5:33 pm
by zip
Are you in the US? They might have changed something otherwise or the episodes are not available.

Re: Hulu (US only)

PostPosted: Sun Feb 26, 2012 12:31 pm
by kappclark
iMacUser wrote:Hi folks, i'm new to the forum so help is needed. i have used the serviio for over a year now but only using it to send shared media to my Sony Google TV NSX-GT1. Yesterday i upgraded to 0.6.2 and added the plug-in for Hulu which i am on a 7 day trial.


I was unaware the Hulu requires a subscription - I know Hulu PLUS has this requirement ...

I have been gettion Hulu delivered to the TV with no subscription...

Re: Hulu (US only)

PostPosted: Tue Mar 27, 2012 10:35 pm
by LLoyd
Hi guys,

I am using Serviio 0.6.2 and I am trying to setup Hulu feeds. My renderer is a Playstation 3.

I've already installed the Hulu plug-in. Serviio.log confirms the following:
  Code:
2012-03-27 12:37:18,237 INFO  [PluginCompilerThread] Added Feed plugin Hulu (US only) (Hulu.groovy)


I've added the following Hulu feed to the Serviio console and clicked the "Save" button:
  Code:
http://www.hulu.com/feed/show/58/episodes


Serviio.log displays the following error:
  Code:
2012-03-27 14:47:36,353 WARN  [FeedUpdaterThread] Failed to retrieve online item information for rtmpe://cp39466.edgefcs.net/ondemand?auth=daEcgdsdLcidrdsdCdOahatdsbcaYa_bich-bpCJv3-c0-2qNEyEv1HAu&aifp=sll02152008&slist=hulu14/513/40057513;.international=false&hgt=OZU7Pvs7j27-nhteNno7whOZgmjSVL_XLAnLzqwiAfGIuqC5RZ0eWcwg2bZDPoL3-q8QBKJ1CloySndpewU6QPkdIMRG2LthAjmpnbacDtUflP37nJxvkS-hMRxMpb4pq92gEwTUZbRDpAidsfYxu_PZ0GQ5wikZLgmh9dooNQRfa7weZhkMQi5BFX0oovOLw_Wva_o3GAr9sWRxhDYu9cbMmbIt-6aaE5v2xR7qDWai9nYv5z6T6yyKPvtuWp5M&hgt_ver=331370278 app=ondemand?auth=daEcgdsdLcidrdsdCdOahatdsbcaYa_bich-bpCJv3-c0-2qNEyEv1HAu&aifp=sll02152008&slist=hulu14/513/40057513;.international=false&hgt=OZU7Pvs7j27-nhteNno7whOZgmjSVL_XLAnLzqwiAfGIuqC5RZ0eWcwg2bZDPoL3-q8QBKJ1CloySndpewU6QPkdIMRG2LthAjmpnbacDtUflP37nJxvkS-hMRxMpb4pq92gEwTUZbRDpAidsfYxu_PZ0GQ5wikZLgmh9dooNQRfa7weZhkMQi5BFX0oovOLw_Wva_o3GAr9sWRxhDYu9cbMmbIt-6aaE5v2xR7qDWai9nYv5z6T6yyKPvtuWp5M&hgt_ver=331370278 playpath=mp4:hulu14/513/40057513/agave50223331_6497989_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1. It might not play.


ffmpeg displays the following two errors:

  Code:
ffmpeg -i http://www.hulu.com/feed/show/2103/episodes
ffmpeg version N-38830-gf8353d5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 16 2012 14:44:32 with gcc 4.2.1 20070719  [FreeBSD]
  configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include --enable-librtmp
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 64.101 /  2. 64.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
http://www.hulu.com/feed/show/2103/episodes: Invalid data found when processing input


  Code:
ffmpeg -i "rtmpe://cp39466.edgefcs.net/ondemand?auth=daEb.aWaSd1cBdNdNa5axbXaDdcbTcWbMa7-bpCJvZ-c0-YnNBvFq0HAv&aifp=sll02152008&slist=hulu6/530/60050530;.international=false&hgt=OZU7Pvs7j27-nhteNno7wun_CYsmW75EoLIC3VMcnBUdhklFCe1m8TPTkBhy2_7h0phruTKtVyA4wwOPth7aFDg3P4d3ydlGPSwmVHaDWiYep6d9-h5lGqjv-QKlPljac_El1FyutTY_2Sj6yUdP4gqXsPOLVQuVxagUFNbLZbyA2CkYqI27Mj1n8lAGQgEkEZvmo3y7PZ_cHHXEIRjyvgqAi0I8RhNRpI1ApFvD462W03GmwvBQgvvo-ufK6TPI&hgt_ver=331370278 app=ondemand?auth=daEb.aWaSd1cBdNdNa5axbXaDdcbTcWbMa7-bpCJvZ-c0-YnNBvFq0HAv&aifp=sll02152008&slist=hulu6/530/60050530;.international=false&hgt=OZU7Pvs7j27-nhteNno7wun_CYsmW75EoLIC3VMcnBUdhklFCe1m8TPTkBhy2_7h0phruTKtVyA4wwOPth7aFDg3P4d3ydlGPSwmVHaDWiYep6d9-h5lGqjv-QKlPljac_El1FyutTY_2Sj6yUdP4gqXsPOLVQuVxagUFNbLZbyA2CkYqI27Mj1n8lAGQgEkEZvmo3y7PZ_cHHXEIRjyvgqAi0I8RhNRpI1ApFvD462W03GmwvBQgvvo-ufK6TPI&hgt_ver=331370278 playpath=mp4:hulu6/530/60050530/agave50274683_9697413_H264_650.mp4"
ffmpeg version N-38830-gf8353d5 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 16 2012 14:44:32 with gcc 4.2.1 20070719  [FreeBSD]
  configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include --enable-librtmp
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 64.101 /  2. 64.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
Assertion failed: (digestLen == 32), function HMACsha256, file handshake.h, line 275.
Abort


Do I need to recompile one of my libraries? What are the steps I need to take to resolve this handshake error? I am running Serviio on a FreeBSD platform. Everything is working fine (other than these Hulu feeds). My "RTMPDump" version = 2.4.

Re: Hulu (US only)

PostPosted: Wed Mar 28, 2012 3:41 pm
by zip
might be old librtmp. Otherwise ask at their mailing list.

Re: Hulu (US only)

PostPosted: Fri Apr 06, 2012 12:11 am
by bananaco
I too am getting the same error. I've updated rtmpdump to 2.4. I and recompiled ffmpeg. I don't know how to check if librtmp is the right version. My log is below:


2012-04-05 19:43:58,198 INFO [PluginCompilerThread] Added Feed plugin Hulu (US only) (Hulu.groovy)
2012-04-05 19:43:58,265 INFO [PluginCompilerThread] Added Feed plugin LiveFeeds (LiveFeeds.groovy)
2012-04-05 19:43:58,405 INFO [PluginCompilerThread] Added Feed plugin YouTube (Youtube.groovy)
2012-04-05 19:44:23,520 INFO [FeedUpdaterThread] Started looking for information about online resources
2012-04-05 19:44:31,839 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmpe://cp39466.edgefcs.net/ondemand?au ... =331370278 app=ondemand?auth=daEaJb5aNcQa6bsb9dPbQd6c4b4bcdldXbF-bpFI5E-c0-1oMBAEpYIyu&aifp=sll02152008&slist=hulu5/579/60055579;.international=false&hgt=OZU7Pvs7j27-nhteNno7wreKBYxScEP4VtGZVmvDu_kDr4QAdK6bGtSkLxxGzmzS3OeBMyc0H2IXvmCoZUYXvzDUCwj55HYu08wJJo7S5PT59zC4ZIyLE1dJlpnBFQ9OAPiWto-x-Yc_uMrVnSoqmXXftPv7LGx1utTXIiurKGUAMbJy9AxaiagmUBWOGk-xQ5_wEnf0ArRcG3yJb-oYuxu3XzfX926GsVEBCLSXm8RjhdAHJos45MQ1sRuWbPJb&hgt_ver=331370278 playpath=mp4:hulu5/579/60055579/agave50279567_9826300_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1. 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.retrieveAVMetadata(FeedUpdaterThread.java:273)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:208)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:101)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:344)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:87)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:255)
... 2 more
2012-04-05 19:44:34,596 WARN [FeedUpdaterThread] Failed to retrieve online item information for rtmpe://cp39466.edgefcs.net/ondemand?au ... =331370278 app=ondemand?auth=daEcld8bCb5cxdma_cmazdRd2btbNb8dCcM-bpFI5H-c0-XqFCzDu0DAo&aifp=sll02152008&slist=hulu10/709/60052709;.international=false&hgt=OZU7Pvs7j27-nhteNno7wvjvTXkyVPjX-DPxk6bFq_frulwgHp0_qJGsvQZORGSkWU8NQUGkUDCMlJHUjcAAGPSxD3s2jzdHgp29PB0mGq4Nbyts0der0asqYNPs4HK6PDGRnlqtA_CrzJclk_BGWveghS_vGCobDqHDunsB2o9I9tn_8PudN8rg7Vt-Nej3ks-PtE7kefqHQh87MpHahcd8wvFc7_lHhzD0RmvlT9e6ZVt3e_ltE8cNkmjppYsp&hgt_ver=331370278 playpath=mp4:hulu10/709/60052709/agave50276836_9783792_H264_650.mp4 swfUrl=http://www.hulu.com/player.swf swfVfy=1. 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.retrieveAVMetadata(FeedUpdaterThread.java:273)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveTechnicalMetadata(FeedUpdaterThread.java:208)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:101)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:344)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:87)
at org.serviio.library.online.metadata.FeedUpdaterThread.retrieveAVMetadata(FeedUpdaterThread.java:255)
... 2 more