Change output video codec

#12
by tigra03 - opened

Good afternoon, I am a video editor and this is the first time I have tried your program. It's great! Is it possible to change the type of video compression on the output? I saw a thread about improving video compression, but unfortunately I don't understand where to enter the value.

hi @tigra03 , thank you! the output video compression codec is currently H.264, which is a default value and there is no option in space to specifically change it (and i dont have any plans to add such option to provide support for other compressions, because i currently dont have access to my testing environment).

about the topic, the value to set the output's quality was a line of code that should be added to the source code of the space, when you run it locally. so your options are to either try to run the space on your own environment and apply some changes to the code based on your requirements, or use tools like FFMPEG to change the output video's compression format to another codec like H.265

Thank you for your reply. Unfortunately I did my last programming 20 years ago and now I don't understand anything )). I ran it through the Pinokio shell. I didn't find there the possibility to change any parameters. But thanks a lot anyway! I hope the TV technical control department will not notice anything ))))

oh @tigra03 i never used pinokio shell🤔 the way i was running the space locally was creating a virtual environment with python in a terminal and installing the contents of requirements.txt + gradio. then running the app.py code and well, it needs some programming to do i guess.

but anyway, goodluck and you can contact me at any time🙂

Sign up or log in to comment