Jump to content

Transcoding


eTomm

Recommended Posts

Hello to all.

 

I'm Tommaso from Italy. Old user of Media Browser but never wrote on formus. Nowadays I had the chance to begin to think which will be my next DLNA server after Twonky. At this time, twonky is getting old and despite the fact it always worked it lacks transcoding. Media Browser is free, but that's not my point, it is open source and I will happily give my 30$ to it if being followed and supported.

 

So I began to do tests with my Toshiba Regza 46SL733G. Obviously it misses a profile. No problem I created it on the fly found User-Agent etc etc.

 

First bad news: friendly name for the Media Browser server on DLNA is setted profile by profile. Couldn't be this a central option in the dlna? I would like all my devices to see always the same name.

 

Lurking around internet I found out Toshiba reads just ts mpeg2. No support for anything else!!! I shocked. Began to do tests and at the end it is not true. H264 is supported too, but it seems just at hd ready resolution. I have a 1920x808 that doesn't play... I began to setup codec conditions, wonderful. MaxHeight 720 MaxWidth 1280. BUT what the heck that movig is getting converted to 1280x720 loosing the aspect ratio and this is written in the log of the transcoding.

 

Then, I found out that the TS limits stil exists... It is seen I can't send an mkv untouchted to the tv. But If I will make it pass trough the transcoding it will transcode the video too... when it is not needed too. Some of my movies are correctly at 1280x720 but they still get transcoded.

 

So at the end, I would like to have a correction to the formula that set the scale option in the ffmpeg that take into account the aspect ratio and the ability to set a transcode profile different case by case based on input container, video codec or audio codec. Or at least the ability to define remux and transcode profiles in different places.

 

Actually I am a c# developer (not only, I develop in Delphi, an a bit of ASM and I understand c++) but without any time unluckily. I would like to help, but I don't have time to understand all the code. So I suppose that if someone will be so gentle to help me understand how to correct those parameters on the profile, as a contribution I will post and give my toshiba regza profile to the project.

 

For the rest, good work!!!

 

 

 

 

 

Link to comment
Share on other sites

Sure I can. It is still a work in progress and inside I have some settings that are not getting applied just to don't loose them.

In fact the problem would be easy solved if MB would mux the stream that met the conditions trough a "copy" together with the encoding of the one that didn't met the conditions at all. The other solution would be to move conditions to the transcoding settings too, to have more than one transcoding profile.

 

Or maybe I am missing something.

<?xml version="1.0"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Toshiba Regza</Name>
  <Identification>
    <FriendlyName />
    <ModelNumber />
    <SerialNumber />
    <ModelName>.*733</ModelName>
    <DeviceDescription />
    <ModelUrl />
    <Manufacturer>TOSHIBA</Manufacturer>
    <ManufacturerUrl />
    <Headers>
      <HttpHeaderInfo name="User-Agent" value="UPnP/1.0 DLNADOC/1.50 Intel_SDK_for_UPnP_devices/1.2" match="Equals" />
    </Headers>
  </Identification>
  <FriendlyName>Media Browser</FriendlyName>
  <Manufacturer>Microsoft Corporation</Manufacturer>
  <ManufacturerUrl>http://www.microsoft.com/</ManufacturerUrl>
  <ModelName>Windows Media Player Sharing</ModelName>
  <ModelNumber>3.0</ModelNumber>
  <ModelUrl>http://www.microsoft.com/</ModelUrl>
  <SerialNumber />
  <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>
  <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <UserId />
  <AlbumArtPn>JPEG_TN</AlbumArtPn>
  <MaxAlbumArtWidth>512</MaxAlbumArtWidth>
  <MaxAlbumArtHeight>512</MaxAlbumArtHeight>
  <MaxIconWidth xsi:nil="true" />
  <MaxIconHeight xsi:nil="true" />
  <MaxStreamingBitrate xsi:nil="true" />
  <MaxStaticBitrate xsi:nil="true" />
  <MusicStreamingTranscodingBitrate xsi:nil="true" />
  <MusicSyncBitrate xsi:nil="true" />
  <XDlnaDoc>DMS-1.50</XDlnaDoc>
  <XDlnaCap />
  <SonyAggregationFlags>10</SonyAggregationFlags>
  <ProtocolInfo>http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T, http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM, http-get:*:audio/mpeg:DLNA.ORG_PN=MP3, http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM, http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED</ProtocolInfo>
  <TimelineOffsetSeconds>0</TimelineOffsetSeconds>
  <RequiresPlainVideoItems>false</RequiresPlainVideoItems>
  <RequiresPlainFolders>false</RequiresPlainFolders>
  <XmlRootAttributes>
    <XmlAttribute name="xmlns:av" value="urn:schemas-sony-com:av" />
  </XmlRootAttributes>
  <DirectPlayProfiles>
    <DirectPlayProfile container="ts" audioCodec="ac3,mp1,mp2,mp3,pcm" videoCodec="mpeg2video,mpegts" type="Video" />
    <DirectPlayProfile container="avi" audioCodec="ac3,mp1,mp2,mp3,pcm" videoCodec="mpeg2video,mpegts" type="Video" />
    <DirectPlayProfile container="mkv" audioCodec="ac3" videoCodec="h264" type="Video" />
  </DirectPlayProfiles>
  <TranscodingProfiles>
    <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="ac3" protocol="Http" estimateContentLength="true" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" videoProfile="" context="Streaming" />
    <TranscodingProfile container="ts" type="Video" videoCodec="copy" audioCodec="ac3" protocol="Http" estimateContentLength="true" enableMpegtsM2TsMode="false" transcodeSeekInfo="Auto" videoProfile="" context="Streaming" />
  </TranscodingProfiles>
  <ContainerProfiles />
  <CodecProfiles>
    <CodecProfile type="Video">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1280" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="720" isRequired="true" />
      </Conditions>
    </CodecProfile>
  </CodecProfiles>
  <ResponseProfiles>
    <ResponseProfile container="mkv" type="Video" orgPn="MPEG_TS_SD_EU,MPEG_TS_SD_NA,MPEG_TS_SD_KO" mimeType="video/vnd.dlna.mpeg-tts">
      <Conditions />
    </ResponseProfile>
  </ResponseProfiles>
  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="Embed" />
  </SubtitleProfiles>
</Profile>
Link to comment
Share on other sites

Happy2Play

The server will already muxs playable codecs.  So if all of your playable/supported codecs are listed they will be muxed(copy) to ts. 

 

I would edit the profile to look more like the Sony Bravia (2010).

 

C:\Users\username\AppData\Roaming\MediaBrowser-Server\config\dlna\system\Sony Bravia (2010).xml

Link to comment
Share on other sites

OK, thanks! I followed your suggestions, altough I was just looking to the other profile to find inspiration.

 

I came up with this, that is working fine, sometimes:

<?xml version="1.0"?>
<Profile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>Toshiba Regza</Name>
  <Identification>
    <FriendlyName />
    <ModelNumber />
    <SerialNumber />
    <ModelName>.*733</ModelName>
    <DeviceDescription />
    <ModelUrl />
    <Manufacturer>TOSHIBA</Manufacturer>
    <ManufacturerUrl />
    <Headers>
      <HttpHeaderInfo name="User-Agent" value="UPnP/1.0 DLNADOC/1.50 Intel_SDK_for_UPnP_devices/1.2" match="Equals" />
    </Headers>
  </Identification>
  <FriendlyName>Media Browser</FriendlyName>
  <Manufacturer>Microsoft Corporation</Manufacturer>
  <ManufacturerUrl>http://www.microsoft.com/</ManufacturerUrl>
  <ModelName>Windows Media Player Sharing</ModelName>
  <ModelNumber>3.0</ModelNumber>
  <ModelUrl>http://www.microsoft.com/</ModelUrl>
  <SerialNumber />
  <IgnoreTranscodeByteRangeRequests>false</IgnoreTranscodeByteRangeRequests>
  <EnableAlbumArtInDidl>false</EnableAlbumArtInDidl>
  <SupportedMediaTypes>Audio,Photo,Video</SupportedMediaTypes>
  <UserId />
  <AlbumArtPn>JPEG_TN</AlbumArtPn>
  <MaxAlbumArtWidth>480</MaxAlbumArtWidth>
  <MaxAlbumArtHeight>480</MaxAlbumArtHeight>
  <MaxIconWidth>48</MaxIconWidth>
  <MaxIconHeight>48</MaxIconHeight>
  <MaxStreamingBitrate>80000000</MaxStreamingBitrate>
  <MaxStaticBitrate>80000000</MaxStaticBitrate>
  <MusicStreamingTranscodingBitrate>128000</MusicStreamingTranscodingBitrate>
  <MusicSyncBitrate>128000</MusicSyncBitrate>
  <XDlnaDoc>DMS-1.50</XDlnaDoc>
  <XDlnaCap />
  <SonyAggregationFlags>10</SonyAggregationFlags>
  <ProtocolInfo>http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU, http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO, http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T, http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM, http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM, http-get:*:audio/mpeg:DLNA.ORG_PN=MP3, http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM, http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED</ProtocolInfo>
  <TimelineOffsetSeconds>0</TimelineOffsetSeconds>
  <RequiresPlainVideoItems>false</RequiresPlainVideoItems>
  <RequiresPlainFolders>false</RequiresPlainFolders>
  <XmlRootAttributes />
  <DirectPlayProfiles>
    <DirectPlayProfile container="ts" audioCodec="ac3,mp1,mp2,mp3,pcm" videoCodec="mpeg1video,mpeg2video,h264" type="Video" />
  </DirectPlayProfiles>
  <TranscodingProfiles>
    <TranscodingProfile container="ts" type="Video" videoCodec="h264" audioCodec="ac3,mp1,mp2,mp3,pcm" protocol="Http" estimateContentLength="true" enableMpegtsM2TsMode="true" transcodeSeekInfo="Auto" videoProfile="baseline" context="Streaming" />
  </TranscodingProfiles>
  <ContainerProfiles />
  <CodecProfiles>
    <CodecProfile type="Video">
      <Conditions>
        <ProfileCondition condition="LessThanEqual" property="Width" value="1280" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="720" isRequired="true" /> 
        <ProfileCondition condition="Equals" property="VideoFramerate" value="25" isRequired="true" />
      </Conditions>
    </CodecProfile>
    <CodecProfile type="Video" codec="h264">
      <Conditions>                               
        <ProfileCondition condition="LessThanEqual" property="Width" value="1280" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="Height" value="720" isRequired="true" /> 
        <ProfileCondition condition="Equals" property="VideoFramerate" value="25" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoBitrate" value="20000000" isRequired="true" />
        <ProfileCondition condition="LessThanEqual" property="VideoLevel" value="41" isRequired="true" />
      </Conditions>
    </CodecProfile>
  </CodecProfiles>
  <ResponseProfiles>
    <ResponseProfile container="ts" videoCodec="h264" type="Video" orgPn="MPEG_TS_HD_NA_T" mimeType="video/vnd.dlna.mpeg-tts">
      <Conditions>
        <ProfileCondition condition="Equals" property="PacketLength" value="192" isRequired="true" />
        <ProfileCondition condition="Equals" property="VideoTimestamp" value="Valid" isRequired="true" />
      </Conditions>
    </ResponseProfile>
    <ResponseProfile container="ts" videoCodec="h264" type="Video" orgPn="MPEG_TS_HD_NA_ISO" mimeType="video/vnd.dlna.mpeg-tts">
      <Conditions />
    </ResponseProfile>
    <ResponseProfile container="ts" videoCodec="mpeg1video,mpeg2video" type="Video" orgPn="MPEG_TS_SD_NA_ISO" mimeType="video/vnd.dlna.mpeg-tts">
      <Conditions />
    </ResponseProfile>
  </ResponseProfiles>
  <SubtitleProfiles>
    <SubtitleProfile format="srt" method="External" didlMode="" />
  </SubtitleProfiles>
</Profile>

The problem that I still have are 2:

- The VideoFramerate required condition is not passed to the transcoding engine. The videos that are 23fps are not upped up to 25, I can't find any -r 25 in the ffmpeg commandline.

- The aspect ratio is still wrong, like in this example, i see the 1920x808 becomes a 1280x720 and on tv I see a square instead of a correctly thin and large image.

C:\Users\tv\AppData\Roaming\MediaBrowser-Server\ffmpeg\20141005\ffmpeg.exe -fflags +genpts -i file:"D:\Lorien\Multimedia\Movies\Test\Test.mp4" -map 0:0 -map 0:1 -map -0:s -vcodec libx264 -force_key_frames expr:gte(t,n_forced*5) -vf "scale=trunc(min(iw\,1280)/2)*2:trunc(min((iw/dar)\,720)/2)*2" -preset superfast -crf 18 -maxrate 2725571 -bufsize 5451142 -vsync vfr -map_metadata -1 -threads 0 -acodec ac3 -ab 320000 -af "aresample=async=1" -y "C:\Users\tv\AppData\Roaming\MediaBrowser-Server\transcoding-temp\3f27f05ad06a74d0707615855add76be.ts"


ffmpeg version N-66618-ge079d43 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct  4 2014 22:10:14 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      54.  9.100 / 54.  9.100
  libavcodec     56.  2.101 / 56.  2.101
  libavformat    56.  7.104 / 56.  7.104
  libavdevice    56.  1.100 / 56.  1.100
  libavfilter     5.  1.102 /  5.  1.102
  libswscale      3.  1.100 /  3.  1.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  1.100 / 53.  1.100
Input #0, matroska,webm, from 'file:D:\Lorien\Multimedia\Movies\Test\Test.mp4':
  Metadata:
    title           : Test
    encoder         : libebml v1.3.0 + libmatroska v1.4.1
    creation_time   : 2014-07-29 14:06:47
  Duration: 02:16:17.19, start: 0.000000, bitrate: 2725 kb/s
    Stream #0:0: Video: h264 (High), yuv420p, 1920x808 [SAR 101:100 DAR 12:5], SAR 102:101 DAR 24480:10201, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
    Metadata:
      title           : Test
    Stream #0:1(eng): Audio: aac, 48000 Hz, 5.1, fltp (default)
    Metadata:
      title           : Test
[libx264 @ 00000000034e8160] using SAR=2041/1512
[libx264 @ 00000000034e8160] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 00000000034e8160] profile High, level 3.1
Output #0, mpegts, to 'C:\Users\tv\AppData\Roaming\MediaBrowser-Server\transcoding-temp\3f27f05ad06a74d0707615855add76be.ts':
  Metadata:
    encoder         : Lavf56.7.104
    Stream #0:0: Video: h264 (libx264), yuv420p, 1280x720 [SAR 13770:10201 DAR 24480:10201], q=-1--1, max. 2725 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc56.2.101 libx264
    Stream #0:1: Audio: ac3, 48000 Hz, 5.1, fltp, 320 kb/s (default)
    Metadata:
      encoder         : Lavc56.2.101 ac3
Stream mapping:
  Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
  Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
frame=   43 fps=0.0 q=12.0 size=     133kB time=00:00:02.23 bitrate= 486.6kbits/s    
frame=   78 fps= 73 q=17.0 size=     674kB time=00:00:03.64 bitrate=1516.1kbits/s    
frame=  104 fps= 67 q=19.0 size=    1288kB time=00:00:04.82 bitrate=2185.6kbits/s    
frame=  134 fps= 65 q=19.0 size=    1810kB time=00:00:06.01 bitrate=2467.4kbits/s    
frame=  159 fps= 62 q=19.0 size=    2221kB time=00:00:07.03 bitrate=2586.1kbits/s    
frame=  184 fps= 59 q=22.0 size=    2623kB time=00:00:08.09 bitrate=2656.0kbits/s    
frame=  212 fps= 59 q=20.0 size=    3044kB time=00:00:09.46 bitrate=2634.1kbits/s    
frame=  242 fps= 59 q=16.0 size=    3525kB time=00:00:10.68 bitrate=2703.1kbits/s    
frame=  274 fps= 59 q=15.0 size=    3987kB time=00:00:12.02 bitrate=2715.7kbits/s    
frame=  309 fps= 60 q=16.0 size=    4749kB time=00:00:13.46 bitrate=2889.0kbits/s    
frame=  341 fps= 61 q=18.0 size=    5316kB time=00:00:14.74 bitrate=2952.9kbits/s    
frame=  377 fps= 62 q=15.0 size=    5934kB time=00:00:16.12 bitrate=3015.3kbits/s    
frame=  415 fps= 63 q=18.0 size=    6570kB time=00:00:17.97 bitrate=2993.6kbits/s    
frame=  449 fps= 63 q=17.0 size=    7126kB time=00:00:19.32 bitrate=3021.3kbits/s    
frame=  487 fps= 63 q=24.0 size=    7751kB time=00:00:20.76 bitrate=3058.2kbits/s    
frame=  519 fps= 64 q=17.0 size=    8273kB time=00:00:22.07 bitrate=3070.0kbits/s    
frame=  554 fps= 64 q=14.0 size=    8850kB time=00:00:23.57 bitrate=3074.8kbits/s    
frame=  578 fps= 63 q=34.0 size=    9488kB time=00:00:24.53 bitrate=3167.4kbits/s    
frame=  598 fps= 62 q=29.0 size=    9834kB time=00:00:25.33 bitrate=3179.2kbits/s    
frame=  621 fps= 61 q=33.0 size=   10227kB time=00:00:26.26 bitrate=3189.5kbits/s    
frame=  642 fps= 60 q=31.0 size=   10581kB time=00:00:27.25 bitrate=3180.0kbits/s    
frame=  663 fps= 59 q=27.0 size=   10923kB time=00:00:28.02 bitrate=3192.7kbits/s    
frame=  685 fps= 58 q=30.0 size=   11303kB time=00:00:28.98 bitrate=3194.3kbits/s    
frame=  708 fps= 58 q=29.0 size=   11689kB time=00:00:29.94 bitrate=3197.5kbits/s    
frame=  728 fps= 57 q=30.0 size=   12027kB time=00:00:30.77 bitrate=3201.0kbits/s    
frame=  754 fps= 57 q=19.0 size=   12449kB time=00:00:31.93 bitrate=3193.9kbits/s    
frame=  789 fps= 57 q=17.0 size=   12843kB time=00:00:33.30 bitrate=3158.8kbits/s    
frame=  825 fps= 58 q=18.0 size=   13476kB time=00:00:34.84 bitrate=3168.4kbits/s    
frame=  857 fps= 58 q=20.0 size=   14039kB time=00:00:36.15 bitrate=3181.0kbits/s    
frame=  890 fps= 58 q=21.0 size=   14591kB time=00:00:37.49 bitrate=3187.6kbits/s    
frame=  922 fps= 58 q=24.0 size=   15136kB time=00:00:38.84 bitrate=3192.3kbits/s    
frame=  950 fps= 58 q=21.0 size=   15593kB time=00:00:40.02 bitrate=3191.3kbits/s    
frame=  974 fps= 58 q=25.0 size=   16073kB time=00:00:41.01 bitrate=3209.9kbits/s    
frame= 1001 fps= 58 q=27.0 size=   16619kB time=00:00:42.17 bitrate=3228.4kbits/s    
frame= 1027 fps= 57 q=31.0 size=   17068kB time=00:00:43.19 bitrate=3237.0kbits/s    
frame= 1056 fps= 57 q=30.0 size=   17548kB time=00:00:44.41 bitrate=3237.0kbits/s    
frame= 1084 fps= 57 q=30.0 size=   18021kB time=00:00:45.62 bitrate=3235.5kbits/s    
frame= 1107 fps= 57 q=25.0 size=   18416kB time=00:00:46.65 bitrate=3233.9kbits/s    
frame= 1136 fps= 57 q=23.0 size=   18911kB time=00:00:47.83 bitrate=3238.6kbits/s    
frame= 1166 fps= 57 q=24.0 size=   19400kB time=00:00:49.08 bitrate=3237.9kbits/s    
frame= 1192 fps= 57 q=29.0 size=   19853kB time=00:00:50.10 bitrate=3245.8kbits/s    
frame= 1221 fps= 57 q=25.0 size=   20309kB time=00:00:51.45 bitrate=3233.6kbits/s    
frame= 1255 fps= 57 q=20.0 size=   20755kB time=00:00:52.85 bitrate=3216.7kbits/s    
frame= 1292 fps= 57 q=16.0 size=   21336kB time=00:00:54.26 bitrate=3220.9kbits/s    
frame= 1332 fps= 58 q=17.0 size=   21806kB time=00:00:55.99 bitrate=3190.2kbits/s    
frame= 1375 fps= 58 q=15.0 size=   22353kB time=00:00:57.72 bitrate=3172.3kbits/s    
frame= 1407 fps= 58 q=16.0 size=   22863kB time=00:00:59.09 bitrate=3169.1kbits/s    
frame= 1436 fps= 58 q=17.0 size=   23602kB time=00:01:00.31 bitrate=3205.7kbits/s    
frame= 1465 fps= 58 q=19.0 size=   24233kB time=00:01:01.49 bitrate=3227.9kbits/s    
frame= 1492 fps= 58 q=17.0 size=   24680kB time=00:01:02.71 bitrate=3223.8kbits/s    
frame= 1516 fps= 58 q=17.0 size=   25084kB time=00:01:03.73 bitrate=3223.9kbits/s    
frame= 1538 fps= 58 q=18.0 size=   25459kB time=00:01:04.60 bitrate=3228.4kbits/s    
frame= 1566 fps= 58 q=21.0 size=   25917kB time=00:01:05.81 bitrate=3225.7kbits/s    
frame= 1579 fps= 57 q=-1.0 Lsize=   26302kB time=00:01:06.33 bitrate=3248.4kbits/s    

video:21602kB audio:2591kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.719281%
[libx264 @ 00000000034e8160] frame I:48    Avg QP:25.57  size: 28165
[libx264 @ 00000000034e8160] frame P:1004  Avg QP:15.81  size: 17480
[libx264 @ 00000000034e8160] frame B:527   Avg QP:13.42  size:  6107
[libx264 @ 00000000034e8160] consecutive B-frames: 46.9% 24.6%  4.0% 24.6%
[libx264 @ 00000000034e8160] mb I  I16..4: 44.2% 47.6%  8.2%
[libx264 @ 00000000034e8160] mb P  I16..4: 21.0% 13.3%  1.0%  P16..4: 45.1%  0.0%  0.0%  0.0%  0.0%    skip:19.7%
[libx264 @ 00000000034e8160] mb B  I16..4:  1.9%  0.9%  0.1%  B16..8: 29.5%  0.0%  0.0%  direct:15.7%  skip:52.1%  L0:36.9% L1:50.4% BI:12.7%
[libx264 @ 00000000034e8160] 8x8 transform intra:38.7% inter:34.7%
[libx264 @ 00000000034e8160] coded y,uvDC,uvAC intra: 30.4% 46.1% 31.4% inter: 18.8% 20.3% 2.7%
[libx264 @ 00000000034e8160] i16 v,h,dc,p: 68% 17%  9%  6%
[libx264 @ 00000000034e8160] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 14% 30%  4%  8%  6%  5%  6%  5%
[libx264 @ 00000000034e8160] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 28% 23% 21%  3%  7%  5%  4%  5%  5%
[libx264 @ 00000000034e8160] i8c dc,h,v,p: 53% 18% 24%  5%
[libx264 @ 00000000034e8160] Weighted P-Frames: Y:10.4% UV:5.4%
[libx264 @ 00000000034e8160] kb/s:2687.03

Is there an option to disable the aspect ratio correction

Link to comment
Share on other sites

Happy2Play

Is there an option to disable the aspect ratio correction

You set those condition for aspect ration. So everything larger than 1280x720 is converted.

 

property="Width" value="1280"

property="Height" value="720"

 

Those should be 1920x1080 since that is the upper limit.  Not sure on the "VideoFramerate" issue.

Link to comment
Share on other sites

Yes exactly, but I would like it to be converted with aspect ratio respected. If you look at the example 1920x808 is getting converted to 1280x720 that is wrong. It should be 1280x538 or 539. Moreover it would be helpful if there would be an option to force the size to a certain size and ad padding on the borders (I am coming to the conclusion that Rezga need correct aspec ratios and sizes for videos and the one that I have is completely wrong)

Edited by eTomm
Link to comment
Share on other sites

  • 7 months later...

Please try again on the latest beta. There's a number of fixes for Sony Bravia's. Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...