Fri May 17, 2013 7:05 am by tstrike
The problem (in my view Petr) is that Serviio has a very tough time dealing with old (or poorly done) TV/VCR rips that are uploaded to Dailymotion. I have other Dailymotion feeds that Serviio (I really mean ffmpeg) pefectly reads the metadata and feeds ffmpeg the parameters needed to do its thing.
Here is a perfect example of what I am talking about based on my serviio.log I watched this morning.
Here is the output I am getting from Serviio running on debug:
TV/VCR oriented feeds/uploads, I get this:
- Code:
2013-05-17 03:23:52,664 DEBUG [MediaItemDAOImpl] Reading dirty MediaItems for Repository (id = 1)
2013-05-17 03:23:52,696 DEBUG [RepositoryDAOImpl] Marking Repository 1 as scanned with current timestamp
2013-05-17 03:23:53,364 DEBUG [FeedParser] Found matching url extractor (DailyMotion) for resource http://www.dailymotion.com/rss/playlist/x2my
xv_tstrike34_mystuff
2013-05-17 03:23:53,366 DEBUG [FeedItemUrlExtractor] DailyMotion: Starting extraction of url for item: ECW Hardcore TV 7/3/1997
2013-05-17 03:23:54,156 DEBUG [FeedParser] Unexpected error during url extractor plugin invocation (DailyMotion) for item ECW Hardcore TV 7/3/1
997: index is out of range 0..-1 (index = 0)
Here is what is interesting... For the videos that appears to be DVD rips, Serviio can read them just fine... See here:
- Code:
2013-05-17 03:24:03,456 DEBUG [FeedItemUrlExtractor] DailyMotion: Starting extraction of url for item: ECW - Guilty As Charged 1999 Part 2/3
2013-05-17 03:24:04,246 DEBUG [FeedItemUrlExtractor] DailyMotion: Finished extraction of url: ContentURLContainer [fileType=VIDEO, contentUrl=h
ttp://www.dailymotion.com/cdn/H264-512x384/video/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c, expiresImmediately=false, live=fa
lse, ]
2013-05-17 03:24:04,246 DEBUG [FeedParser] Added feed item 1: 'ECW - Guilty As Charged 1999 Part 2/3' (http://www.dailymotion.com/cdn/H264-512x
384/video/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c)
And then once Serviio determines its metadata, it really starts processing (per the DailyMotion groovy plugin):
- Code:
2013-05-17 03:24:07,539 DEBUG [OnlineContentCacheDecorator] Stored online content 'http://www.dailymotion.com/rss/playlist/x2myxv_tstrike34_mys
tuff' in the cache (online_feeds), returning it
2013-05-17 03:24:07,539 DEBUG [OnlineLibraryManager] Resource http://www.dailymotion.com/rss/playlist/x2myxv_tstrike34_mystuff will expire in t
he cache on Mon May 20 16:24:07 CDT 2013
2013-05-17 03:24:07,540 DEBUG [FeedUpdaterThread] Retrieving file size from the URL connection
2013-05-17 03:24:08,092 DEBUG [FeedUpdaterThread] Retrieving information about the video stream 'ECW - Guilty As Charged 1999 Part 2/3'
2013-05-17 03:24:08,092 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: http://www.dailymotion.com/cdn/H264-512x3
84/video/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c
2013-05-17 03:24:08,092 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -i http://www.dailymotion.com/cdn/H264-512x384/video/
xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c
2013-05-17 03:24:18,725 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:alive) message from Renderer 00000000-0000-1010-8000
-30f9ed75b44c from address /192.168.1.82:52323
2013-05-17 03:24:19,002 DEBUG [DiscoverySSDPMessageListener] Received a valid NOTIFY (ssdp:alive) message from Renderer 00000000-0000-1010-8000
-30f9ed75b44c from address /192.168.1.82:52323
2013-05-17 03:24:19,096 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:In
ternetGatewayDevice:1 from address /192.168.1.70:3840s
2013-05-17 03:24:29,476 DEBUG [FFmpegMetadataRetriever] Retrieving H264 profile/level for file 'http://www.dailymotion.com/cdn/H264-512x384/vid
eo/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c'
2013-05-17 03:24:29,476 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve H264 header for file: http://www.dailymotion.com/cdn/H264-512x384/vid
eo/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c
2013-05-17 03:24:29,477 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -i http://www.dailymotion.com/cdn/H264-512x384/video/
xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c -frames:v 1 -c:v copy -f h264 -bsf:v h264_mp4toannexb -an pipe:
2013-05-17 03:24:50,889 DEBUG [FFmpegMetadataRetriever] File 'http://www.dailymotion.com/cdn/H264-512x384/video/xzgngo.mp4?auth=1368951843-2a09
06061cfa7e251fa6171fa37a149c' has H264 profile C_BASELINE, levels [{RF=1.3, H=2.1}] and 3 ref frames
2013-05-17 03:24:50,891 DEBUG [TechnicalMetadataCacheDecorator] Stored technical metadata for online item 'http://www.dailymotion.com/cdn/H264-
512x384/video/xzgngo.mp4?auth=1368951843-2a0906061cfa7e251fa6171fa37a149c' in the cache (online_technical_metadata), returning it
2013-05-17 03:24:50,897 DEBUG [FeedUpdaterThread] Retrieving file size from the URL connection
2013-05-17 03:24:51,393 DEBUG [FeedUpdaterThread] Retrieving information about the video stream 'ECW WrestlePalooza 1995 - UNRELEASED'
2013-05-17 03:24:51,393 DEBUG [FFMPEGWrapper] Invoking FFMPEG to retrieve media information for file: http://www.dailymotion.com/cdn/H264-512x3
84/video/xzhiy0.mp4?auth=1368951846-4c4d0052cd4a21f2dd0bc37fc1630e91
2013-05-17 03:24:51,393 DEBUG [ProcessExecutor] Starting ffmpeg -analyzeduration 10000000 -i http://www.dailymotion.com/cdn/H264-512x384/video/
xzhiy0.mp4?auth=1368951846-4c4d0052cd4a21f2dd0bc37fc1630e91
Last edited by
tstrike on Fri May 17, 2013 8:42 am, edited 1 time in total.