Support transcoding matching for fourcc (AVI) codes
Is it possible to get vCodec="DX50" supported, as AVI files encoded using DX50 cannot be transcoded currently using the profile.xml config. you must transcode ALL AVI files to select this file type which is overkill.
XBOX360 does not support DX50 at this time, and transcoding is required.
Is there any way to set up serviio to accept any information in the vCodec field instead of checking against a pre-defined list (to where you can set vCodec="" to whatever ffmpeg reports as the codec for the file)? or is this required for some fancy internal stuff?
Comments (11)
-
Account Deleted -
Ideally it might be better to be able to match on the FourCC code inside the AVI (using something like vCodec="AVI,DX50") which could help for newer Sony 2012 firmwares which natively play Xvid but not DivX.
-
repo owner It probably won't be vCdec matching (still mpeg4), but fourCC code, similar to isom
-
Account Deleted Not extremely knowledgeable on this, but whatever solution works that you find to be the best implementation.
-
repo owner - changed title to Support transcoding matching for fourcc (AVI) codes
- edited description
-
repo owner So I have one AVI with DX50 and it plays without transcoding on the XBox.
[mpeg4 @ 003ECAC0] Invalid and inefficient vfw-avi packed B frames detected Input #0, avi, from 'Il y a longtemps que je t'aime\Il Y A Longtemps Que JeT'Aime.avi': Duration: 01:52:26.00, start: 0.000000, bitrate: 860 kb/s Stream #0:0: Video: mpeg4 (DX50 / 0x30355844), yuv420p, 608x298 [SAR 1:1 DAR 304:149], 25 fps, 25 tbr, 25 tbn, 30k tbc Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 24000 Hz, stereo, s16, 56 kb/s
Do you have more dx50 files that don't play?
-
repo owner - changed status to resolved
-
repo owner The matcher has been implemented (using vFourCC Matches attribute, supporting comma-separated list of fourcc values).
It's to be decided how to update current profiles during the beta testing.
-
Account Deleted I have whole seasons of dx50 files that don't play.
-
Account Deleted Has this actually been implemented? I can hardly find any documentation or examples at all on vFourCC. I have files that are detected as DX50 with ffmpeg, but when I attempt to target them, they do not transcode. Am I doing something wrong?
Transcodes :<Matches container="avi" vCodec="mpeg4" /> Doesn't transcode: <Matches container="avi" vCodec="mpeg4" vFourCC="DX50" />
-
Account Deleted Ahh, I figured it out. The FourCC codes have to be all lowercase without spaces in the CSV list. It may be helpful to add that to the wiki for the vFourCC section since FourCC codes are normally written in caps, and that is the way ff-mpeg displays them as well.
- Log in to comment
ffmpeg -i output: