Re: YouTube
Posted: Tue Dec 13, 2011 10:38 pm
2011-12-29 12:21:05,953 INFO [PluginCompilerThread] Added plugin YouTubeUrlExctractor (Youtube.groovy)
2011-12-29 12:21:30,015 INFO [FeedUpdaterThread] Started looking for information about online feeds
2011-12-29 12:21:30,031 INFO [LibraryAdditionsCheckerThread] Started looking for newly added files
2011-12-29 12:21:30,046 INFO [LibraryUpdatesCheckerThread] Started looking for updates to currently shared files
2011-12-29 12:21:33,625 INFO [ServiioConsole] Starting Serviio Console
NX3 wrote:Open that link in your web browser, nothing.....so serviio isn't going to show anything either.
Try this one, I know it works;
https://gdata.youtube.com/feeds/api/use ... ow/uploads
Then in serviio video menu go to your 'online' section
mykee wrote:What I set:
- open firewall to TCP: 8895 and UDP to 1900 (but router is UPnP and set this mode)
- set resolution to High
- leave only this link on online feeds list and set to video type:
- max number of feed items to 20
- feed expiry interval to 6 hours.
I see in log now this:
- Code:
WARN [FeedUpdaterThread] Failed to retrieve feed item information for rtsp://v5.cache7.c.youtube.com/CigLENy73wIaHwlrH3cG-Dp9lhMYESARFEgGUgx1c2VyX3VwbG9hZHMM/0/0/0/video.3gp. 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.updateLazyLoadedProperties(FeedUpdaterThread.java:188)
at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:93)
Caused by: org.serviio.library.local.metadata.extractor.InvalidMediaFormatException: Unknown video file type.
at org.serviio.library.metadata.FFmpegMetadataRetriever.validateCodecsFound(FFmpegMetadataRetriever.java:318)
at org.serviio.library.metadata.FFmpegMetadataRetriever.retrieveMetadata(FFmpegMetadataRetriever.java:68)
at org.serviio.library.online.metadata.FeedUpdaterThread.updateLazyLoadedProperties(FeedUpdaterThread.java:169)
My profile for Samsung TV:
- Code:
<Profile id="21" name="Mykee Samsung TV" extendsProfileId="1">
<Detection>
<UPnPSearch>
<FriendlyName>(^TV-\d{2}C\d{3}.*)|(^\[TV\][A-Z]{2}\d{2}D\d{3}.*)</FriendlyName>
<ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
</UPnPSearch>
</Detection>
<DeviceDescription>
<ExtraElements>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</ExtraElements>
</DeviceDescription>
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192" maxVBitrate="8192" forceVTranscoding="true">
<Matches container="asf" />
</Video>
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="8192">
<Matches container="flv" />
</Video>
<!-- Transcode all h264 video with HIGH/MAIN > Level 4.1 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="192">
<Matches container="avi" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="avi" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="matroska" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="h264" profile="main" levelGreaterThan="4.2" />
<Matches container="mp4" vCodec="mpeg4" aCodec="lpcm" />
</Video>
<!-- transcode H264 MP4 files with LPCM audio -->
<Video targetContainer="mpegts" targetACodec="ac3">
<Matches container="mpegts" aCodec="mp2" />
<Matches container="mp4" aCodec="lpcm" />
<Matches container="flv" vCodec="h264" />
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="vorbis" />
<Matches container="matroska" vCodec="vc1" />
<Matches container="ogg" vCodec="mpeg4" />
<Matches container="3gp" aCodec="amrnb" />
</Video>
<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="ogg" />
<Matches container="mpegts" vCodec="mpeg2video" />
</Video>
<!-- For dvr-ms files force mpeg2video transcoding to fix monotone timestamps problems-->
<Video targetContainer="mpegts" targetACodec="ac3" forceVTranscoding="true" maxVBitrate="8192">
<Matches container="asf" vCodec="mpeg2video" />
</Video>
<Video targetContainer="mpegts">
<Matches container="wtv" />
</Video>
<!-- transcode audio only for wmv with wmapro -->
<Video targetContainer="asf" targetACodec="ac3" aBitrate="256" >
<Matches container="asf" aCodec="wmapro" />
</Video>
<Audio targetContainer="lpcm">
<Matches container="mp4" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="asf" />
</Audio>
</Transcoding>
</Profile>
jhb50 wrote:matehr :
It looks to me like you are not using the YouTube plugin, and the feed is being processed in raw form that will create this error.
You also need to use the Samsung C/D profile, and post any problems you encounter with it so they can be fixed rather than create a new profile that no one else will want to debug to fix problems that have already been fixed in the C/D profile.
jhb50 wrote:jctube: Correct form is http://gdata.youtube.com/feeds/api/playlists/8B39E1B2EBD79963?v=2
See posts above.
matehr wrote:I'm using Youtube plugin.
If it's that so, why i can't watch youtube on Samsung C/D profile in FullHD format, but on this custom profile or Samsung B profile works perfect?
My problem with Samsung C/D profile is that i can't watch youtube in FullHD (it work on medium or low quality, and on high quality i get message ''video codec not supported''), and all files from my computer work perfect (720p, 1080p).
On this custom Mykee profile or Samsung B profile i can watch Youtube files on High settings and FullHD, but files from my computerr in 720p or 1080p won't work, and got message ''video codec not supported''.
Can you explain me this?
Now i want to edit Samsung C/D profile to play files both from my comp and Youtube.
jhb50 wrote:jctoad:
I can only tell you that all five files are added correctly using the C/D profile for my Samsung, and all 5 files seem to be the same spec so I would expect yours to show all 5 as well.