BuiltInStandardEncoderPreset with custom output file name

Jacob 81 Reputation points

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
    0 comments No comments

  2. Jacob 81 Reputation points

    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?