Replies: 2 comments 1 reply
-
Alright, so |
Beta Was this translation helpful? Give feedback.
1 reply
-
Is there any updates on the solution? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the issue
Looking for advice on how to replace an existing video with a new one, and then re trigger the encoding, sprite creation, hls files creation, etc
I have added a custom step during media upload. This step basically happens right before encoding (Inside "Media.media_init" method). Any new video uploaded goes through this custom step which modifies the uploaded video, and then the encoding happens on this new video. This all works well.
However, I also have other videos which were uploaded before I had added my custom step. I want to basically regenerate everything (i.e. encoding, sprites, hls files, etc) for these older videos.
Looking for advice on how I can achieve this. One thing I tried was modifying (through a custom script) the original file under the "media_files" and then calling
media_object.media_init()
for that media file. It does not redo the encoding, nor does it create new sprite files.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions