Re: Hulu (US only)
Posted: Sun Jan 22, 2012 11:30 pm
you have to post ffmpeg -i "rtmp://......" for a feed that fails like this.
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!
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
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)
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.
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 -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
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