FAQ  •  Register  •  Login

Limit Quality on XBox 360 Transcoding

<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sat Nov 06, 2010 1:56 pm

Limit Quality on XBox 360 Transcoding

I was trying to watch a video last night that is a 720p mkv. In the past my computer seemed to transcode them without issue, but last night it kept having to buffer. I was looking at my processor usage, and it doesn't seem to be maxing out even one core (according to the performance tab), but under processes, it lists ffmpeg.exe as 49-50%. Now if I remember right from beta testing the transcoding, the WMV support in ffmpeg doesn't support multiple cores, but why would the performance tab not be showing one core being maxed out?

Anyway, that isn't the real reason I am posting. I also have 1080p videos on here, but they are pretty much impossible to transcode with only one core on my computer. Is there a way to limit the resolution and/or bitrate, so that I would be able to watch these videos? Or is there any other format that the xbox supports for streaming that doesn't require the whole video file to be complete that would be able to use more cores? From what I can tell on this post it seems that the xbox can read m2tsc containers, is this at all a possibility for transcoding (it seemed the like the time to convert was extremely low).

Thanks again for all your hard work. This program is the only thing I use to watch things on my tv as I don't have cable or satellite hooked up.

Oh, and my computer is a AMD Athlon64 X2 6400+ (runs at 3.2GHz) with 4GB of DDR2 800 running Windows 7 x64 Ultimate.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Nov 06, 2010 4:19 pm

Re: Limit Quality on XBox 360 Transcoding

You could try changing transcoding config to remux mkv with h264 and ac3 into mpegts.
<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sat Nov 06, 2010 5:12 pm

Re: Limit Quality on XBox 360 Transcoding

So, would add something like this?
  Code:
<Video targetContainer="mpegts">
   <Matches container="matroska" vCodec="h264" aCodec="ac3"  />
</Video>


and then have the original one be after that one with this?

  Code:
<Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="15360">
   <Matches container="matroska" />
   <Matches container="mpeg" />
   <Matches container="mpegts" />
   <Matches container="mpegvideo" />
   <Matches container="avi" vCodec="msmpeg4" />
</Video>


I am assuming it works its way down to until a condition matches, then it doesn't continue on... is that right? Would I need to remove the mpegts from the second video portion to prevent matches?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Nov 06, 2010 6:05 pm

Re: Limit Quality on XBox 360 Transcoding

Yes, this should be right. You can check in the logs (detailed) to see what format it's going to be delivered in.
<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sun Nov 07, 2010 5:33 pm

Re: Limit Quality on XBox 360 Transcoding

I tried this today, and all my mkv's disappeared. I am thinking I need to add an entry into the MediaFormatProfiles section under the xbox section. The only problem... I can't figure out what to put there.

The log doesn't seem to give any info either.
  Code:
2010-11-07 18:24:58,006 INFO  [MediaServer] ------------------------------------------------------------------------
2010-11-07 18:24:58,006 INFO  [MediaServer] Serviio DLNA media streaming server v 0.4.2 (rev. 683706a96104)
2010-11-07 18:24:58,007 INFO  [MediaServer] Petr Nejedly 2009-2010
2010-11-07 18:24:58,007 INFO  [MediaServer] http://www.serviio.org
2010-11-07 18:24:58,007 INFO  [MediaServer]
2010-11-07 18:24:58,007 INFO  [MediaServer] Java 1.6.0_18-Sun Microsystems Inc.
2010-11-07 18:24:58,007 INFO  [MediaServer] OS Windows 7 amd64 6.1
2010-11-07 18:24:58,007 INFO  [MediaServer] File encoding: windows-1252
2010-11-07 18:24:58,007 INFO  [MediaServer] ------------------------------------------------------------------------
2010-11-07 18:24:58,101 INFO  [RestletServer] Starting Restlet server exposed on localhost:23423
2010-11-07 18:24:58,143 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2010-11-07 18:24:59,589 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2010-11-07 18:25:00,021 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2010-11-07 18:25:00,106 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2010-11-07 18:25:00,168 INFO  [ProfilesDefinitionParser] Added profile 'XBox 360' (id=3)
2010-11-07 18:25:00,196 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2010-11-07 18:25:00,227 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2010-11-07 18:25:00,256 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2010-11-07 18:25:00,294 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C-series)' (id=7)
2010-11-07 18:25:00,318 INFO  [ProfilesDefinitionParser] Added profile 'LG BD player' (id=8)
2010-11-07 18:25:00,395 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV' (id=9)
2010-11-07 18:25:00,506 INFO  [ProfilesDefinitionParser] Added profile 'Sony BD Player' (id=10)
2010-11-07 18:25:00,758 INFO  [VideoDeliveryEngine] Cleaning transcode engine and its data
2010-11-07 18:25:00,861 INFO  [WebServer] WebServer starting on port 8895
2010-11-07 18:25:01,471 INFO  [Device] Created UPnP Device with UUID: de21dfee-283b-3f7d-9fc6-72310ac590cc, bound address: 10.0.0.152
2010-11-07 18:25:01,499 INFO  [CompositeCacheManager] Creating cache manager from config file: /cache.ccf
2010-11-07 18:25:01,504 INFO  [ThreadPoolManager] thread_pool.default PoolConfiguration = useBoundary = [true] boundarySize = [2000] maximumPoolSize = [150] minimumPoolSize = [4] keepAliveTime = [300000] whenBlockedPolicy = [RUN] startUpSize = [4]
2010-11-07 18:25:01,506 INFO  [CompositeCacheConfigurator] Setting default auxiliaries to null
2010-11-07 18:25:01,506 INFO  [CompositeCacheConfigurator] No special CompositeCacheAttributes class defined for key [jcs.default.cacheattributes], using default class.
2010-11-07 18:25:01,508 INFO  [CompositeCacheConfigurator] setting defaultCompositeCacheAttributes to [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 100, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-11-07 18:25:01,508 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.default.elementattributes], using default class.
2010-11-07 18:25:01,508 INFO  [CompositeCacheConfigurator] setting defaultElementAttributes to [ IS_LATERAL = true, IS_SPOOL = true, IS_REMOTE = true, IS_ETERNAL = true, MaxLifeSeconds = -1, IdleTime = -1, CreateTime = 1289150701508, LastAccessTime = 1289150701508, getTimeToLiveSeconds() = -1, createTime = 1289150701508 ]
2010-11-07 18:25:01,509 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_resetafterplay.elementattributes], using default class.
2010-11-07 18:25:01,520 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_resetafterplay
2010-11-07 18:25:01,520 INFO  [CompositeCache] Constructed cache with name [local_resetafterplay] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-11-07 18:25:01,520 INFO  [CompositeCacheConfigurator] No special ElementAttribute class defined for key [jcs.region.local_default.elementattributes], using default class.
2010-11-07 18:25:01,520 INFO  [LRUMemoryCache] initialized LRUMemoryCache for local_default
2010-11-07 18:25:01,520 INFO  [CompositeCache] Constructed cache with name [local_default] and cache attributes [ useLateral = true, useRemote = true, useDisk = true, maxObjs = 1000, maxSpoolPerRun = -1, diskUsagePattern = 0 ]
2010-11-07 18:25:01,520 INFO  [CompositeCacheConfigurator] Parsed regions [local_resetafterplay, local_default]
2010-11-07 18:25:01,520 INFO  [CompositeCacheConfigurator] Finished configuration in 15 ms.
2010-11-07 18:25:01,522 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2010-11-07 18:25:01,523 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2010-11-07 18:25:01,524 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface 10.0.0.152
2010-11-07 18:25:01,527 INFO  [EventDispatcher] Starting EventDispatcher
2010-11-07 18:26:19,051 INFO  [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition


I would appreciate any help you are able to provide.

Thanks again
Jeremy
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 07, 2010 7:15 pm

Re: Limit Quality on XBox 360 Transcoding

you have to turn on detailed logging. and then browse to the folder that includes the MKV's
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 07, 2010 7:15 pm

Re: Limit Quality on XBox 360 Transcoding

you have to turn on detailed logging. and then browse to the folder that includes the MKV's
<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sun Nov 07, 2010 8:08 pm

Re: Limit Quality on XBox 360 Transcoding

OK, I might've done this completely wrong, but let's see. So I turned on detailed logging and restarted the server. Once I got to the folder I had a bunch of items like this in the log (still not showing up on the xbox)

  Code:
2010-11-07 20:46:41,871 DEBUG [WebServer] Incoming connection from /10.0.0.108:20079
2010-11-07 20:46:41,881 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from Xbox/2.0.12611.0 UPnP/1.0 Xbox/2.0.12611.0:
2010-11-07 20:46:41,884 DEBUG [ContentDirectory] Browse() called for profile XBox 360 with parameters: objectID = V_S#SER_59, browseFlag = BrowseDirectChildren, filter = dc:title,res,res@protection,res@duration,res@bitrate,upnp:genre,upnp:actor,res@microsoft:codec, startIndex = 0, count = 1000, sortCriteria = +upnp:class,+dc:title
2010-11-07 20:46:41,885 DEBUG [SeriesDAOImpl] Retrieving list of seasons for series 59 (from=0, count=1000)
2010-11-07 20:46:41,901 DEBUG [VideoDAOImpl] Retrieving last episode for series 59
2010-11-07 20:46:41,991 DEBUG [VideoDAOImpl] Retrieving number of videos for series 59 season 1
2010-11-07 20:46:42,036 DEBUG [VideoDAOImpl] Retrieving number of videos for series 59 season 2
2010-11-07 20:46:42,066 DEBUG [VideoDAOImpl] Retrieving number of videos for series 59 season 3
2010-11-07 20:46:42,083 DEBUG [VideoDAOImpl] Retrieving number of videos for series 59 season 4
2010-11-07 20:46:42,097 DEBUG [SeriesDAOImpl] Retrieving number of seasons for series 59
2010-11-07 20:46:42,098 DEBUG [LocalContentCacheDecorator] Stored entry in the cache (local_resetafterplay), returning it
2010-11-07 20:46:42,102 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2010-11-07 20:46:44,173 DEBUG [WebServer] Incoming connection from /10.0.0.108:47173
2010-11-07 20:46:44,181 DEBUG [ServiceControlRequestHandler] ServiceControl request received for action '"urn:schemas-upnp-org:service:ContentDirectory:1#Browse"' from Xbox/2.0.12611.0 UPnP/1.0 Xbox/2.0.12611.0:
2010-11-07 20:46:44,191 DEBUG [ContentDirectory] Browse() called for profile XBox 360 with parameters: objectID = V_S#SER_59#SSN_3, browseFlag = BrowseDirectChildren, filter = dc:title,res,res@protection,res@duration,res@bitrate,upnp:genre,upnp:actor,res@microsoft:codec, startIndex = 0, count = 1000, sortCriteria = +upnp:class,+dc:title
2010-11-07 20:46:44,192 DEBUG [VideoDAOImpl] Retrieving list of videos for series 59 season 3 (from=0, count=1000)
2010-11-07 20:46:44,287 DEBUG [VideoDAOImpl] Retrieving last episode for series 59
2010-11-07 20:46:44,316 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,323 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7803)
2010-11-07 20:46:44,334 DEBUG [MediaItemDAOImpl] Getting file of media item 7803
2010-11-07 20:46:44,367 DEBUG [VideoDAOImpl] Reading a Video (id = 7803)
2010-11-07 20:46:44,380 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7803 and profile XBox 360
2010-11-07 20:46:44,381 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E01.Repack.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,383 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27487)
2010-11-07 20:46:44,402 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,402 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7804)
2010-11-07 20:46:44,403 DEBUG [MediaItemDAOImpl] Getting file of media item 7804
2010-11-07 20:46:44,404 DEBUG [VideoDAOImpl] Reading a Video (id = 7804)
2010-11-07 20:46:44,405 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7804 and profile XBox 360
2010-11-07 20:46:44,405 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E02.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,405 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27488)
2010-11-07 20:46:44,406 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,406 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7805)
2010-11-07 20:46:44,407 DEBUG [MediaItemDAOImpl] Getting file of media item 7805
2010-11-07 20:46:44,408 DEBUG [VideoDAOImpl] Reading a Video (id = 7805)
2010-11-07 20:46:44,409 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7805 and profile XBox 360
2010-11-07 20:46:44,409 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E03.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,409 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27489)
2010-11-07 20:46:44,410 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,411 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7806)
2010-11-07 20:46:44,411 DEBUG [MediaItemDAOImpl] Getting file of media item 7806
2010-11-07 20:46:44,412 DEBUG [VideoDAOImpl] Reading a Video (id = 7806)
2010-11-07 20:46:44,413 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7806 and profile XBox 360
2010-11-07 20:46:44,413 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file heroes.s03e04.720p.hdtv.x264-ctu.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,414 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27490)
2010-11-07 20:46:44,414 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,415 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7807)
2010-11-07 20:46:44,415 DEBUG [MediaItemDAOImpl] Getting file of media item 7807
2010-11-07 20:46:44,417 DEBUG [VideoDAOImpl] Reading a Video (id = 7807)
2010-11-07 20:46:44,417 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7807 and profile XBox 360
2010-11-07 20:46:44,418 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E05.720p.HDTV.x264-CTU.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,418 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27491)
2010-11-07 20:46:44,419 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,419 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7808)
2010-11-07 20:46:44,420 DEBUG [MediaItemDAOImpl] Getting file of media item 7808
2010-11-07 20:46:44,421 DEBUG [VideoDAOImpl] Reading a Video (id = 7808)
2010-11-07 20:46:44,422 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7808 and profile XBox 360
2010-11-07 20:46:44,422 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E06.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,423 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27492)
2010-11-07 20:46:44,424 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,424 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7809)
2010-11-07 20:46:44,424 DEBUG [MediaItemDAOImpl] Getting file of media item 7809
2010-11-07 20:46:44,426 DEBUG [VideoDAOImpl] Reading a Video (id = 7809)
2010-11-07 20:46:44,426 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7809 and profile XBox 360
2010-11-07 20:46:44,426 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E07.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,427 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27493)
2010-11-07 20:46:44,428 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,428 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7810)
2010-11-07 20:46:44,428 DEBUG [MediaItemDAOImpl] Getting file of media item 7810
2010-11-07 20:46:44,430 DEBUG [VideoDAOImpl] Reading a Video (id = 7810)
2010-11-07 20:46:44,430 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7810 and profile XBox 360
2010-11-07 20:46:44,430 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E08.720p.HDTV.x264-CTU.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,431 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27494)
2010-11-07 20:46:44,432 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,433 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7811)
2010-11-07 20:46:44,433 DEBUG [MediaItemDAOImpl] Getting file of media item 7811
2010-11-07 20:46:44,434 DEBUG [VideoDAOImpl] Reading a Video (id = 7811)
2010-11-07 20:46:44,435 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7811 and profile XBox 360
2010-11-07 20:46:44,435 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E09.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,435 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27495)
2010-11-07 20:46:44,437 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)
2010-11-07 20:46:44,437 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 7812)
2010-11-07 20:46:44,438 DEBUG [MediaItemDAOImpl] Getting file of media item 7812
2010-11-07 20:46:44,439 DEBUG [VideoDAOImpl] Reading a Video (id = 7812)
2010-11-07 20:46:44,440 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 7812 and profile XBox 360
2010-11-07 20:46:44,440 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file Heroes.S03E10.720p.HDTV.X264-DIMENSION.mkv: AVC_TS_MP_HD_AC3_ISO
2010-11-07 20:46:44,440 DEBUG [CoverImageDAOImpl] Reading a CoverImage (id = 27496)
2010-11-07 20:46:44,441 DEBUG [GenreDAOImpl] Reading a Genre (id = 2)


So, then I noticed that there was "AVC_TS_MP_HD_AC3_ISO" at the end of each episode, so I found the line that pertains to that in the do not edit section, copied it, and placed it in the xbox section and restarted. The same issues happen (the above log file is from the run with the "AVC_TS_MP_HD_AC3_ISO" listed in the MediaFormatProfile section). Here is the xbox 360 section of my config.

  Code:
<Profile id="3" name="XBox 360" extendsProfileId="1">
      <Detection>
         <User-Agent>(Xbox.*)|(Xenon.*)</User-Agent>
      </Detection>
      <DeviceDescription>
         <FriendlyName>Serviio ({computerName}):1</FriendlyName>
         <ModelName>Windows Media Connect</ModelName>
      </DeviceDescription>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.XBox360ContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/avi">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L1_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L2_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-ms-wmv">VC1_ASF_AP_L3_WMA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <Transcoding>
         <!--
            http://blogs.msdn.com/xboxteam/archive/2007/11/30/december-2007-video-playback-faq.aspx
         -->
         <Video targetContainer="mpegts">
            <Matches container="matroska" vCodec="h264" aCodec="ac3"  />
         </Video>
                  
         <Video targetContainer="asf" targetVCodec="wmv2" targetACodec="wmav2" maxVBitrate="15360">
            <Matches container="matroska" />
            <Matches container="mpeg" />
            <Matches container="mpegts" />
            <Matches container="mpegvideo" />
            <Matches container="avi" vCodec="msmpeg4" />
         </Video>
      </Transcoding>
      <LimitImageResolution>false</LimitImageResolution>
   </Profile>


I even tried changing the line to read (changing it from video/mpeg to video/mpegts).

  Code:
<MediaFormatProfile mime-type="video/mpegts">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>


So far, it still doesn't show up on the xbox.
<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sun Nov 07, 2010 8:16 pm

Re: Limit Quality on XBox 360 Transcoding

Of course I notice this after I posted the first message, but I am wondering if this line in the config could be the culprit from the items not showing up

  Code:
<ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.XBox360ContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>


I tried commenting it out, and replacing it with the generic one, but both of them show "No Videos found" right after selecting serviio from the Source Selection screen. I just have no idea where I can go to change what is defined in here (or whether I can even do it). This seems to make sense, just because the videos are being recognized, but if a filter is preventing them from showing up...

Any suggestions?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 07, 2010 8:58 pm

Re: Limit Quality on XBox 360 Transcoding

AVC_TS_MP_HD_AC3_ISO means that the (transcoded) file is h264/ac3 in mpegts - which is correct. So your transcoding config is correct. you don't have to add anything into mediafileformats, unless you want to change mime-type... which is video/mpeg (and should be ok).

BTW, in your post it says:

This obviously will not work through the dashboard since Xbox 360 doesn't recognize the format (it did not show up in list for me).


So it seems you can only play it through WMC. M2TS is also not mentioned here: http://blogs.msdn.com/b/xboxteam/archiv ... k-faq.aspx
<<

bassmadrigal

Serviio lover

Posts: 50

Joined: Fri Mar 26, 2010 6:33 pm

Location: Ramstein Air Base, Germany

Post Sun Nov 07, 2010 9:54 pm

Re: Limit Quality on XBox 360 Transcoding

Crap, I never noticed that part. Probably would've saved me a ton of time.

So I guess that brings me back to my original thought. Is there a way to limit the bitrate and/or resolution of the transcoded files?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Nov 07, 2010 10:06 pm

Re: Limit Quality on XBox 360 Transcoding

there is for the bitrate (see transcoding doc)

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 12 guests

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