Page 1 of 1
XBMC XBOX Transcoding Profile [solved]

Posted:
Wed Apr 08, 2015 3:19 pm
by servillino
Hi. i have wrote this profile to convert the video in a SD resolution, but Serviio don't see it in a profile list.
I have insert it in the profiles.xml file. Why don't work?
thank
- Code:
<Profile id="Custom" name="My XMBC Profile" extendsProfileId="1">
<Transcoding>
<!-- Transcode everything to ensure low bit rate -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" forceVTranscoding=“true” maxHeight=“360”targetACodec=“mp3" >
<Matches container="*" />
</Video>
</Transcoding>
</Profile>
Re: XBMC XBOX Transcoding Profile

Posted:
Wed Apr 08, 2015 10:03 pm
by zip
Did you restart the PC / Serviio service?
Re: XBMC XBOX Transcoding Profile

Posted:
Wed Apr 08, 2015 10:13 pm
by servillino
yes, i have rebbot the system .
I have wrote the profile in the OSX
Library/Application support/Serviio/config/profiles.xml
I think that it's correct
My serviio version is Version 1.5.1
Re: XBMC XBOX Transcoding Profile

Posted:
Thu Apr 09, 2015 11:06 am
by zip
Is it listed in the log after the server starts? It all looks fine from here.
Re: XBMC XBOX Transcoding Profile

Posted:
Fri Apr 10, 2015 7:48 pm
by servillino
I saw the error and I corrected it now.
Serviio start correctly, and try FFMPEG .
- Code:
2015-04-10 21:41:14,784 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-10 21:41:14,784 INFO [MediaServer] Serviio DLNA media streaming server v 1.5.2 (rev. 4b9ce176daa1)
2015-04-10 21:41:14,784 INFO [MediaServer] Petr Nejedly 2009-2015
2015-04-10 21:41:14,784 INFO [MediaServer] http://www.serviio.org
2015-04-10 21:41:14,784 INFO [MediaServer]
2015-04-10 21:41:14,784 INFO [MediaServer] Java 1.8.0_40-Oracle Corporation x86_64
2015-04-10 21:41:14,785 INFO [MediaServer] OS Mac OS X 10.10.2
2015-04-10 21:41:14,785 INFO [MediaServer] File encoding: UTF-8
2015-04-10 21:41:14,785 INFO [MediaServer] Headless mode enabled: true
2015-04-10 21:41:14,785 INFO [MediaServer] User: root
2015-04-10 21:41:14,785 INFO [MediaServer] User home dir: /var/root
2015-04-10 21:41:14,785 INFO [MediaServer] Temp dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
2015-04-10 21:41:14,785 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-10 21:41:16,252 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile xbmc
2015-04-10 21:41:16,252 INFO [ProfilesDefinitionParser] Added profile 'Xbmc One' (id=xbmc)
2015-04-10 21:41:16,348 DEBUG [FFMPEGWrapper] Invoking FFMPEG to check if it exists of path /Library/Application Support/Serviio/lib/ffmpeg
2015-04-10 21:41:16,356 DEBUG [ProcessExecutor] Starting /Library/Application Support/Serviio/lib/ffmpeg
2015-04-10 21:41:16,429 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
Re: XBMC XBOX Transcoding Profile

Posted:
Fri Apr 10, 2015 7:50 pm
by servillino
i have rewrite the enteir profile , but serviio don't force the max Height
the profile now is :
- Code:
<Profile id="xbmc" name="Xbmc One" extendsProfileId="1">
<Detection>
<UPnPSearch>
<ModelName>Xbmc One</ModelName>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="2500" forceVTranscoding="true" maxHeight="480" targetACodec="ac3">
<Matches container="*" vCodec="h264" aCodec="dca" />
<Matches container="*" vCodec="h264" aCodec="dts-hd" />
<Matches container="*" vCodec="h264" aCodec="vorbis" />
<Matches container="*" vCodec="h264" aCodec="truehd" />
<Matches container="*" vCodec="h264" aCodec="flac" />
<Matches container="3gp" vCodec="mpeg4" aCodec="amrnb" />
<Matches container="flv" vCodec="h264" />
</Video>
<Video targetContainer="mpegts" maxVBitrate="4000" forceVTranscoding="true" maxHeight="360" targetACodec="ac3">
<Matches container="matroska" vCodec="vc1" />
<Matches container="wtv" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="2500" forceVTranscoding="true" maxHeight="480" targetACodec="ac3">
<Matches container="matroska" vCodec="h264" aCodec="flac" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="2500" forceVTranscoding="true" maxHeight="480" targetACodec="ac3">
<!-- Matches container="3gp" vCodec="h263" /-->
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="rm" />
<Matches container="*" vCodec="h265" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" forceVTranscoding="true">
<Matches container="asf" vCodec="mpeg2video" />
<Matches container="asf" vCodec="mpeg1video" />
</Video>
<Audio targetContainer="lpcm">
<!--Matches container="adts" /-->
<Matches container="ape" />
<Matches container="flac" />
<Matches container="flv" />
<Matches container="mpc" />
<Matches container="ogg" />
<Matches container="wavpack" />
</Audio>
</Transcoding>
<ThumbnailsResolution>HD</ThumbnailsResolution>
<LimitImageResolution>false</LimitImageResolution>
</Profile>
Re: XBMC XBOX Transcoding Profile

Posted:
Sat Apr 11, 2015 1:39 pm
by zip
post
detailed log of playing a file as well as ffmpeg -i of the file you played and expect to be transcoded
Re: XBMC XBOX Transcoding Profile

Posted:
Sun Apr 12, 2015 5:08 pm
by servillino
this is the ffmpeg -i file
- Code:
ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
built on Nov 20 2014 20:39:23 with gcc 4.0.1 (GCC) (Apple Inc. build 5493)
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-librtmp --enable-libfreetype --enable-fontconfig --enable-libass --enable-pthreads --enable-libx264 --enable-libspeex --enable-gpl --disable-mmx --extra-ldflags=-L/Users/MacAdmin/Desktop/build/target/lib --extra-cflags=-I/Users/MacAdmin/Desktop/build/target/include --extra-libs='-lpolarssl -lfreetype -lexpat -liconv'
libavutil 54. 14.100 / 54. 14.100
libavcodec 56. 12.101 / 56. 12.101
libavformat 56. 14.100 / 56. 14.100
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'final_fantasy_xiii_trailer3_hd.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2009-10-03 12:23:32
Duration: 00:07:12.47, start: 0.000000, bitrate: 2987 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 2852 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
Metadata:
creation_time : 2009-10-03 12:23:32
handler_name : GPAC ISO Video Handler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
Metadata:
creation_time : 2009-10-03 12:23:42
handler_name : GPAC ISO Audio Handler
Re: XBMC XBOX Transcoding Profile

Posted:
Sun Apr 12, 2015 5:13 pm
by servillino
and this is the serviio log after i play the video file
- Code:
2015-04-12 19:11:30,383 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-12 19:11:30,384 INFO [MediaServer] Serviio DLNA media streaming server v 1.5.2 (rev. 4b9ce176daa1)
2015-04-12 19:11:30,384 INFO [MediaServer] Petr Nejedly 2009-2015
2015-04-12 19:11:30,384 INFO [MediaServer] http://www.serviio.org
2015-04-12 19:11:30,384 INFO [MediaServer]
2015-04-12 19:11:30,384 INFO [MediaServer] Java 1.8.0_40-Oracle Corporation x86_64
2015-04-12 19:11:30,384 INFO [MediaServer] OS Mac OS X 10.10.2
2015-04-12 19:11:30,384 INFO [MediaServer] File encoding: UTF-8
2015-04-12 19:11:30,385 INFO [MediaServer] Headless mode enabled: true
2015-04-12 19:11:30,385 INFO [MediaServer] User: root
2015-04-12 19:11:30,385 INFO [MediaServer] User home dir: /var/root
2015-04-12 19:11:30,385 INFO [MediaServer] Temp dir: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/
2015-04-12 19:11:30,385 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-12 19:11:30,676 INFO [WebServer] Socket buffer set to 65535 bytes
2015-04-12 19:11:30,677 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2015-04-12 19:11:30,776 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2015-04-12 19:11:30,776 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2015-04-12 19:11:30,797 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2015-04-12 19:11:30,806 INFO [DatabaseManager] Using DERBY database language
2015-04-12 19:11:31,803 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-12 19:11:31,803 INFO [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2015-04-12 19:11:31,804 INFO [MediaServer] ------------------------------------------------------------------------
2015-04-12 19:11:31,817 INFO [Device] Created UPnP Device with UUID: 9734ccd7-cd71-3f5e-b61c-e2ee010d9943, bound address: 10.104.0.74
2015-04-12 19:11:32,414 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2015-04-12 19:11:32,504 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2015-04-12 19:11:32,529 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2015-04-12 19:11:32,534 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2015-04-12 19:11:32,536 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2015-04-12 19:11:32,537 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2015-04-12 19:11:32,542 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2015-04-12 19:11:32,545 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (H-series)' (id=sam_h)
2015-04-12 19:11:32,546 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (E/F-series)' (id=sam_ef)
2015-04-12 19:11:32,548 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2015-04-12 19:11:32,549 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2015-04-12 19:11:32,554 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2015-04-12 19:11:32,561 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2013/14)' (id=sony2013)
2015-04-12 19:11:32,562 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx100 (2013)' (id=bdp2013)
2015-04-12 19:11:32,563 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2015-04-12 19:11:32,567 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2015-04-12 19:11:32,568 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2015-04-12 19:11:32,568 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
2015-04-12 19:11:32,569 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2015-04-12 19:11:32,571 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA 2012-' (id=tosh2012)
2015-04-12 19:11:32,575 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2015-04-12 19:11:32,576 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2015-04-12 19:11:32,579 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2015-04-12 19:11:32,579 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2015-04-12 19:11:32,581 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2015-04-12 19:11:32,581 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2015-04-12 19:11:32,582 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2015-04-12 19:11:32,584 INFO [ProfilesDefinitionParser] Added profile 'Philips (2010-)' (id=plps2010)
2015-04-12 19:11:32,584 INFO [ProfilesDefinitionParser] Added profile 'Philips (2009)' (id=20)
2015-04-12 19:11:32,585 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2015-04-12 19:11:32,586 INFO [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2015-04-12 19:11:32,588 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2013)' (id=viera2013)
2015-04-12 19:11:32,588 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2015-04-12 19:11:32,589 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2015-04-12 19:11:32,589 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2015-04-12 19:11:32,589 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2015-04-12 19:11:32,590 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2015-04-12 19:11:32,591 INFO [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2015-04-12 19:11:32,591 INFO [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2015-04-12 19:11:32,592 INFO [ProfilesDefinitionParser] Added profile 'Vizio TV' (id=viziotv)
2015-04-12 19:11:32,593 INFO [ProfilesDefinitionParser] Added profile 'Windows 8/RT' (id=win8metro)
2015-04-12 19:11:32,594 INFO [ProfilesDefinitionParser] Added profile 'Panasonic BD player' (id=panasonicBDT220)
2015-04-12 19:11:32,595 INFO [ProfilesDefinitionParser] Added profile 'Philips NP Streamium' (id=philips_streamium)
2015-04-12 19:11:32,595 INFO [ProfilesDefinitionParser] Added profile 'Chaneru' (id=roku)
2015-04-12 19:11:32,597 INFO [ProfilesDefinitionParser] Added profile 'Roku Media Player' (id=RokuMPApp)
2015-04-12 19:11:32,597 INFO [ProfilesDefinitionParser] Added profile 'Yamaha BD-A1020/BD-A1010' (id=YamBD)
2015-04-12 19:11:32,598 INFO [ProfilesDefinitionParser] Added profile 'Telenet Yelo TV' (id=TNDC)
2015-04-12 19:11:32,599 INFO [ProfilesDefinitionParser] Added profile 'Xbox One' (id=xbox_one)
2015-04-12 19:11:32,599 INFO [ProfilesDefinitionParser] Added profile 'Xbmc Old' (id=xbmc_old)
2015-04-12 19:11:32,601 INFO [ProfilesDefinitionParser] Added profile 'Raumfeld' (id=raumfeld)
2015-04-12 19:11:32,665 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2015-04-12 19:11:32,668 INFO [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2015-04-12 19:11:32,669 INFO [ProfilesDefinitionParser] Added profile 'iOS' (id=ios)
2015-04-12 19:11:32,670 INFO [ProfilesDefinitionParser] Added profile 'HTML5' (id=html5)
2015-04-12 19:11:32,671 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Standard)' (id=serviigo_standard)
2015-04-12 19:11:32,671 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Legacy Devices)' (id=serviigo)
2015-04-12 19:11:32,672 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (HLS)' (id=serviigo_hls)
2015-04-12 19:11:32,672 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Google TV)' (id=serviigo_gtv)
2015-04-12 19:11:32,673 INFO [ProfilesDefinitionParser] Added profile 'Google Cast' (id=googlecast)
2015-04-12 19:11:32,675 INFO [ProfilesDefinitionParser] Added profile 'Chromecast' (id=chromecast)
2015-04-12 19:11:32,677 INFO [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2015-04-12 19:11:32,720 INFO [PluginCompilerThread] Looking for plugins at /Library/Application Support/Serviio/plugins
2015-04-12 19:11:32,720 INFO [PluginCompilerThread] Started looking for plugins
2015-04-12 19:11:32,724 INFO [UpdateChecker] Checking if a new version is available
2015-04-12 19:11:32,858 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.4.git Copyright (c) 2000-2014 the FFmpeg developers
2015-04-12 19:11:32,892 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
2015-04-12 19:11:32,959 INFO [WebServer] WebServer starting on port 8895
2015-04-12 19:11:32,962 INFO [Device] Updated bound IP address of Device with UUID: 9734ccd7-cd71-3f5e-b61c-e2ee010d9943, bound address: 10.104.0.74
2015-04-12 19:11:32,979 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2015-04-12 19:11:32,980 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface en0 (en0) and address 10.104.0.74, timeout = 0
2015-04-12 19:11:32,980 INFO [EventDispatcher] Starting EventDispatcher
2015-04-12 19:11:32,981 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2015-04-12 19:11:32,986 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2015-04-12 19:11:32,996 INFO [RendererSearchSender] Searching for Renderer devices
2015-04-12 19:11:41,648 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
2015-04-12 19:11:42,321 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
2015-04-12 19:11:43,027 INFO [FileDeltaWatcher] Using 'sun.nio.fs.PollingWatchService' for delta scan
2015-04-12 19:11:59,027 INFO [FeedUpdaterWorker] Started looking for information about online resources
2015-04-12 19:11:59,027 INFO [RepositoriesStatusCoordinator$RepositoriesStatusThread] Started checking repositories status
2015-04-12 19:11:59,032 INFO [LocalLibraryManager] Starting automatic library scan
2015-04-12 19:11:59,107 INFO [LibraryDeltaScanner] Added repository '/Users/stefano/Downloads/serviiovideo' to delta scanner (POLLER)
2015-04-12 19:11:59,107 INFO [LibraryDeltaScanner] Starting the library delta scan
2015-04-12 19:11:59,114 INFO [PlaylistMaintainerWorker] Started looking for playlist changes
2015-04-12 19:12:29,037 INFO [WebServer] WebServer shutting down
2015-04-12 19:12:29,039 INFO [EventDispatcher] Leaving EventDispatcher
2015-04-12 19:12:29,038 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2015-04-12 19:12:29,038 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2015-04-12 19:12:29,037 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2015-04-12 19:12:33,040 INFO [RendererExpirationChecker] Leaving RendererExpirationChecker
Re: XBMC XBOX Transcoding Profile

Posted:
Mon Apr 13, 2015 2:40 pm
by zip
your profile has no matcher for this file (mp4/h264/aac), so it won't be transcoded (thus leaving the height unchanged)
Re: XBMC XBOX Transcoding Profile

Posted:
Fri Apr 17, 2015 10:23 am
by servillino
i have insert this line :
<Matches container="*" vCodec="h264" aCodec="aac" />
and now ..... it WORK
Re: XBMC XBOX Transcoding Profile

Posted:
Fri Apr 17, 2015 12:00 pm
by servillino
now i use this profile :
- Code:
<Profile id="xbmc" name="Xbmc One" extendsProfileId="1">
<Detection>
<UPnPSearch>
<ModelName>Xbmc One</ModelName>
</UPnPSearch>
</Detection>
<Transcoding>
<!-- Transcode h264 videos with profile level > 3.1 to mpegts with ac3 audio -->
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" maxHeight="480" targetACodec="aac" aBitrate="128" DAR="16:9" forceInheritance="true">
<Matches container="*" vCodec="h264" profile="high_10" />
<Matches container="*" vCodec="h264" profile="high" levelGreaterThan="3.1" />
<Matches container="*" vCodec="h264" profile="main" levelGreaterThan="3.1" />
<Matches container="*" vCodec="h263" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" forceVTranscoding="true" maxHeight="480" DAR="16:9" targetACodec="aac">
<Matches container="matroska" vCodec="h264" aCodec="flac" />
<Matches container="matroska" vCodec="h264" aCodec="mp3" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" forceVTranscoding="true" maxHeight="480" DAR="16:9" targetACodec="aac">
<Matches container="asf" vCodec="wmv2" aCodec="wmav2" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" forceVTranscoding="true" maxHeight="480" DAR="16:9" targetACodec="aac">
<!-- Matches container="3gp" vCodec="h263" /-->
<Matches container="flv" />
<Matches container="ogg" />
<Matches container="rm" />
<Matches container="*" vCodec="h265" />
</Video>
<Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="4000" forceVTranscoding="true" maxHeight="480" DAR="16:9" targetACodec="aac">
<Matches container="asf" vCodec="mpeg2video" />
<Matches container="asf" vCodec="mpeg1video" />
</Video>
<Audio targetContainer="lpcm">
<!--Matches container="adts" /-->
<Matches container="ape" />
<Matches container="flac" />
<Matches container="flv" />
<Matches container="mpc" />
<Matches container="ogg" />
<Matches container="wavpack" />
</Audio>
</Transcoding>
<ThumbnailsResolution>HD</ThumbnailsResolution>
<LimitImageResolution>false</LimitImageResolution>
</Profile>
I don't convert all h264 file but only h264 videos with profile level > 3.1 , and it work fine .
Tank you ZIP for the help