tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Add codecs for the `video` asset type

Open tcely opened this issue 7 months ago • 2 comments

The common codecs used by video formats should be added to the data migration for our new Codec model / table.

We need at least these entries:

  • av1
  • avc1
  • hev1
  • hvc1
  • vp9

You are welcome to expand the migration that I already made for subtitle codecs.

https://github.com/meeb/tubesync/blob/issue/1419/design-generic-models/tubesync/sync/migrations/0039_codec_data.py

tcely avatar Apr 18 '26 11:04 tcely

You need to add common video codecs like h264, vp9, and av1 to the data migration for the new Codec model. I'd handle this by defining a standard set of codecs for the video asset type within the migration file. Can have a PR up in a few hours. I've implemented similar data migrations for media processing systems before.

snakefood3232 avatar Apr 18 '26 12:04 snakefood3232

I look forward to reviewing your pull request.

tcely avatar Apr 18 '26 15:04 tcely