BuiltInStandardEncoderPreset with custom output file name

Jacob 81 Reputation points
2022-05-10T23:34:49.167+00:00

I am using a transform to convert a source MP4 file ready for adaptive streaming. I am using the AdaptiveStreaming BuiltInStandardEncoderPreset. This is working well however I'd like to customise the auto-generated output file names. Is this possible?

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
314 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jon Payne 1 Reputation point
    2022-05-11T00:40:23.99+00:00
    0 comments No comments

  2. Jacob 81 Reputation points
    2022-05-11T03:04:16.783+00:00

    I've tried specifying the filenamePattern when using the BuiltInStandardEncoderPreset and it doesn't work.

    That example you've referenced uses the StandardEncoderPreset not the BuiltInStandardEncoderPreset. Using the StandardEncoderPreset forces me to define all the output resolutions myself. I just want exactly what BuiltInStandardEncoderPreset.AdaptiveStreaming is doing but with the ability to change the output file.

    As a workaround is there some documentation on how to use StandardEncoderPreset to produce the same behavior as uiltInStandardEncoderPreset.AdaptiveStreaming?