Open bragma opened 1 year ago
Hello, I think the problem is that you are using a track property in the filter while you want to filter on a specific quality/bitrate. Tracks are named tracks in the asset, but for the filter, all the bitrates/quality levels are considered as one track.
In your case, I think you should use the bitrate property, not track name. But I hope the higher bitrate is the one you want to remove. If bitrates are really different per asset, it could be difficult to find the right upper limit for the bitrate to filter. In that case, you may have to use asset filters to have a customized filter per asset. Or use a combination of asset and account filters with the same name. I think the asset filter will have higher priority (to be tested)
Hi, thanks for answering. That's not what I want to do. I want to remove a specific track using the name of the track itself. But just to be sure, what's the purpose of the name filter and how it is supposed to be used?
The purpose of the name filter is to remove a track, commonly an audio track. If you have two audio tracks. For example, one english and one french audio track and want to remove one language. Or one stereo audio track and one AC-3 track and want to remove ac-3 because a device does not support it. In your case, you have one video track (with several qualities) in the context of a filter.
Hi @xpouyat, sorry if I reiterate on your answer. I think that both scenarios you mention make sense, but are already covered by the "fourCC" and "Language" condition. I think that removing a specific stereo/AC-3 audio track can be done with the "fourCC" condition rule. Removing the language can be done with the specific "Language" condition. Both work and are fine for that purpose. But I am specifically asking for the "Name" condition, which I think does not work or at least it's not clear what's the name it compaers with. Also, I cannot find any examples on its use it or who to report a bug.
You can create a ticket in Azure portal from https://azure.microsoft.com/en-us/support/create-ticket It should guide you to https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade Cheers
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Hi, I am trying to create an account filter to remove tracks with a specified name (to be exact, I am trying to remove tracks with 50 fps frame rate, in my case they have frame rate specified in the name). Here is the list of tracks in my asset:
I am using this code:
Any log messages given by the failure
No error messages are given and the filter is created.
Expected/desired behavior
Track with index 0 (corresponding to the filtered out track) should not be present in the filtered manifest. There should be 8 tracks in the manifest, out of 9 total tracks in the manifest.
This is the manifest without the filter:
https://XXXXX/Sequence_07.ism/manifest
The filtered manifest is the same. This is the manifest with the filter applied:
https://XXXXX/Sequence_07.ism/manifest/manifest(filter=remove50fps)
Versions
Azure Media Services v3 Azure.ResourceManager.Media 1.1.0
Mention any other details that might be useful
Filters based on other conditions (ex: bitrate) do work.
If I invert the condition (FilterTrackPropertyCompareOperation.Equal), all tracks are removed. I suspect something is wrong with the track name value used in comparison.