Post Mon Nov 28, 2016 9:21 pm

[SOLVED] 42PFL6007 issues with transcoding

Hello everybody.

My issue is not exactly transcoding but limiting bitrate. On "Philips 2010-" profile I can watch every movie I tried. Unfortunately my pfl6007 doesn't support streamed subtitles so these are burned in. This means transcoding. I have two machines I5 4670K@4.2 and Qnap TS-251+ and both struggle with my test clip. I tried different profiles and found out that DirectTV limits bitrate. This is ffmpeg invoked by DirectTV profile
  Code:
/Library/Application Support/Serviio/lib/ffmpeg -threads 4 -i /Volumes/Multimedia/BtSync/TvShows/The Grand Tour (2016)/Season 01/The Grand Tour (2016) - S01E01 - The Holy Trinity.mkv -y -threads 4 -c:v mpeg2video -pix_fmt yuv420p -b:v 8192k -maxrate:v 8192k -bufsize:v 8192k -filter_complex [0:0]subtitles=filename=/Volumes/Multimedia/BtSync/TvShows/The Grand Tour (2016)/Season 01/The Grand Tour (2016) - S01E01 - The Holy Trinity.en.srt:original_size=1920x1080:charenc=windows-1252[v] -r 24000/1001 -g 15 -c:a:0 mp2 -b:a:0 192k -ac:a:0 2 -map [v] -map 0:1 -sn -f vob /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Serviio/transcoding-temp-2c38fd1874caf74787241d75e1b4a43a.stf


and here by plps2010

  Code:
/Library/Application Support/Serviio/lib/ffmpeg -threads 4 -i /Volumes/Multimedia/BtSync/TvShows/The Grand Tour (2016)/Season 01/The Grand Tour (2016) - S01E01 - The Holy Trinity.mkv -y -threads 4 -c:v mpeg2video -pix_fmt yuv420p -qscale:v 1 -filter_complex [0:0]subtitles=filename=/Volumes/Multimedia/BtSync/TvShows/The Grand Tour (2016)/Season 01/The Grand Tour (2016) - S01E01 - The Holy Trinity.en.srt:original_size=1920x1080:charenc=windows-1252[v] -r 24000/1001 -g 15 -c:a:0 ac3 -b:a:0 384k -ac:a:0 6 -map [v] -map 0:1 -sn -f vob /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/Serviio/transcoding-temp-039c6e7ca36a6b31ebc012978c372be9.stf


What do I have to change in here to get bitrate limited?
  Code:
<Transcoding>
         <Video targetContainer="mpeg" targetACodec="ac3" targetVCodec="mpeg2video">
            <Matches container="ogg" />
         </Video>
         <!-- if audio is DTS, audio must be transcoded -->
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="*" aCodec="dca" />
            <Matches container="*" aCodec="dts-hd" />   
         </Video>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" />
            <Matches container="flv" />
         </Video>
         <Audio targetContainer="lpcm" forceInheritance="true">
            <Matches container="mp3" />
            <Matches container="flv" />
            <Matches container="asf" />
            <Matches container="wv" />
            <Matches container="mpc" />
               <Matches container="ape" />
               <Matches container="dsf" />
               <Matches container="mp4" codec="alac" />
         </Audio>
      </OnlineTranscoding>
      <AudioTrackRemux>
         <Video targetContainer="mpegts" targetACodec="ac3">
            <Matches container="*" vCodec="h264" />
            <Matches container="*" vCodec="mpeg2video" />
            <Matches container="*" vCodec="mpeg1video" />
            <Matches container="*" vCodec="mpeg4" />
            <Matches container="*" vCodec="msmpeg4" />
         </Video>
      </AudioTrackRemux>


This is my test clip data:
  Code:
Input #0, matroska,webm, from 'The Grand Tour (2016) - S01E01 - The Holy Trinity.mkv':
  Metadata:
    encoder         : libebml v1.3.1 + libmatroska v1.4.2
    creation_time   : 2016-11-18 12:49:47
  Duration: 01:11:05.22, start: 0.000000, bitrate: 8952 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 640 kb/s (default)
    Stream #0:2(eng): Subtitle: subrip


Is there anything I can do?

EDIT

Solution was to add at the end of profile
  Code:
<GenericTranscoding>
   <Video targetContainer="mpeg" targetVCodec="mpeg2video" maxVBitrate="24576" targetACodec="ac3" aBitrate="384" />
</GenericTranscoding>

and bitrate is limited to 24Mb/s which is ok for my TV