Page 1 of 1

Transcoding DirecTV HD-DVR Audio

PostPosted: Sat Jun 08, 2013 12:28 am
by SomebodySysop
I have Serviio running on Windows 7 machine and serving videos residing on a WDTV Live Media Player usb drive. I am able to view most of the videos, regardless of the format, on my DirecTV HD-DVR 24/500 using the embedded MediaShare application.

This means that the Serviio DirecTV HD-DVR transcoding profile is working for Video. However, it is not working for Audio. When I try to play iTunes audio files (.m4a) residing on the same drive as the videos, MediaShare will not play them because it will only play .mp3 audio files.

My question is: Is there a way to get Serviio to transcode audio files to mp3 format? Below is the DirecTV HD-DVR profile I modified hoping it would do this, but it doesn't:

  Code:
   <Profile id="6" name="DirecTV HD-DVR" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*DIRECTV.*</User-Agent>
         </HttpHeaders>
         <UPnPSearch>
                <FriendlyName>^DIRECTV.*$</FriendlyName>
            </UPnPSearch>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="matroska" />
            <Matches container="mp4" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="3gp" />              
            <Matches container="rm" />
         </Video>
         <Audio targetContainer="mp3">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp4" /> <!-- iTunes store m4a files need to be transcoded to play -->
            <Matches container="m4a" /> <!-- iTunes store m4a files need to be transcoded to play -->
         </Audio>
   </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9" />
      </HardSubsTranscoding>
   </Profile>

MediaShare still shows "X" next to any m4a file (meaning it sees it, but will not play it).

Any suggestions? Thanks!

-ron

Re: Transcoding DirecTV HD-DVR Audio

PostPosted: Sat Jun 08, 2013 12:36 am
by DenyAll
A quick check - did you restart the Serviio service (or the PC) after modifying the profile?

Re: Transcoding DirecTV HD-DVR Audio

PostPosted: Sat Jun 08, 2013 12:42 am
by SomebodySysop
DenyAll wrote:A quick check - did you restart the Serviio service (or the PC) after modifying the profile?

Yes, stopped Serviio service, then restarted. Also, exited console then started again.

Re: Transcoding DirecTV HD-DVR Audio

PostPosted: Sat Jun 08, 2013 3:28 am
by SomebodySysop
A couple of things:

1. The code I entered had a mistake. This is what I needed to add to the DirecTV HD-DVR profile in order to transcode iTunes .m4a files:
  Code:
         
       <Audio targetContainer="mp3">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp4" /> <!-- iTunes store m4a files need to be transcoded to play -->
         </Audio>

2. Adding the additional "m4a" line was not only not necessary, but caused the server to crash upon startup. So, anyone looking to edit profile .xml files note that all entries must be valid, and you can't have any extra files in the "config" directory (I had a backup profile there which also caused the server to not startup -- lessons learned!).

Adding the above code has enabled the DirecTV HD-DVR profile to transcode audio as well. Here is the entire profile in case someone else needs to use it:
  Code:
   <Profile id="6" name="DirecTV HD-DVR" extendsProfileId="1">
      <Detection>
         <HttpHeaders>
            <User-Agent>.*DIRECTV.*</User-Agent>
         </HttpHeaders>
         <UPnPSearch>
                <FriendlyName>^DIRECTV.*$</FriendlyName>
            </UPnPSearch>
      </Detection>
      <Transcoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="matroska" />
            <Matches container="mp4" />
            <Matches container="asf" />
            <Matches container="avi" />
            <Matches container="ogg" />
            <Matches container="flv" />
            <Matches container="3gp" />              
            <Matches container="rm" />
         </Video>
         <Audio targetContainer="mp3">
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
            <Matches container="mp4" /> <!-- iTunes store m4a files need to be transcoded to play -->
         </Audio>
   </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9">
            <Matches container="*" />
         </Video>
      </OnlineTranscoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="mp2" maxVBitrate="8192" forceStereo="true" DAR="16:9" />
      </HardSubsTranscoding>
   </Profile>

Thanks for the suggestion!

Re: Transcoding DirecTV HD-DVR Audio

PostPosted: Mon Jun 10, 2013 9:46 am
by zip
thanks, profile updated for 1.3

Re: Transcoding DirecTV HD-DVR Audio

PostPosted: Wed Sep 11, 2013 8:18 am
by Andrealove
So complicate.

A Converter can solve all the issue for you.

Just Google Search: Step by Step Guide on How to Convert DVR to Widely Used Video Formats