Update app.py
Browse files
app.py
CHANGED
@@ -106,7 +106,7 @@ with gr.Blocks(title="FFmo - FFmpeg Online", theme=gr.themes.Soft()) as main:
|
|
106 |
input_tune2 = gr.Radio(["film β use for high quality movie content; lowers deblocking", "animation β good for cartoons; uses higher deblocking and more reference frames", "grain β preserves the grain structure in old, grainy film material", "stillimage β good for slideshow-like content", "fastdecode β allows faster decoding by disabling certain filters", "zerolatency β good for fast encoding and low-latency streaming", "psnr β ignore this as it is only used for codec development", "ssim β ignore this as it is only used for codec development"], value=["film β use for high quality movie content; lowers deblocking"], label="Tune (Required)", info="Tuning Setting")
|
107 |
input_video2 = gr.Video(label="Input Video")
|
108 |
input_textbox2 = gr.Textbox(label="FFMPEG Command")
|
109 |
-
buildcmd2 = gr.Button("Build FFMPEG Command", variant="primary").click(fn=cmdb_fb, inputs=[input_fps2,input_preset2,input_tune2], outputs=[input_textbox2])
|
110 |
|
111 |
with gr.Column() as out_fb:
|
112 |
output_textbox2 = gr.Textbox(label="Output Logs", interactive=False)
|
@@ -122,7 +122,7 @@ with gr.Blocks(title="FFmo - FFmpeg Online", theme=gr.themes.Soft()) as main:
|
|
122 |
input_tune3 = gr.Radio(["film β use for high quality movie content; lowers deblocking", "animation β good for cartoons; uses higher deblocking and more reference frames", "grain β preserves the grain structure in old, grainy film material", "stillimage β good for slideshow-like content", "fastdecode β allows faster decoding by disabling certain filters", "zerolatency β good for fast encoding and low-latency streaming", "psnr β ignore this as it is only used for codec development", "ssim β ignore this as it is only used for codec development"], value=["film β use for high quality movie content; lowers deblocking"], label="Tune (Required)", info="Tuning Setting")
|
123 |
input_video3 = gr.Video(label="Input Video")
|
124 |
input_textbox3 = gr.Textbox(label="FFMPEG Command")
|
125 |
-
buildcmd3 = gr.Button("Build FFMPEG Command", variant="primary").click(fn=cmdb_adv, inputs=[input_preset3,input_tune3], outputs=[input_textbox3])
|
126 |
|
127 |
with gr.Column() as out_main:
|
128 |
output_textbox3 = gr.Textbox(label="Output Logs", interactive=False)
|
|
|
106 |
input_tune2 = gr.Radio(["film β use for high quality movie content; lowers deblocking", "animation β good for cartoons; uses higher deblocking and more reference frames", "grain β preserves the grain structure in old, grainy film material", "stillimage β good for slideshow-like content", "fastdecode β allows faster decoding by disabling certain filters", "zerolatency β good for fast encoding and low-latency streaming", "psnr β ignore this as it is only used for codec development", "ssim β ignore this as it is only used for codec development"], value=["film β use for high quality movie content; lowers deblocking"], label="Tune (Required)", info="Tuning Setting")
|
107 |
input_video2 = gr.Video(label="Input Video")
|
108 |
input_textbox2 = gr.Textbox(label="FFMPEG Command")
|
109 |
+
buildcmd2 = gr.Button("Build FFMPEG Command", variant="primary").click(fn=cmdb_fb, inputs=[input_fps2,input_preset2,input_tune2, input_video2], outputs=[input_textbox2])
|
110 |
|
111 |
with gr.Column() as out_fb:
|
112 |
output_textbox2 = gr.Textbox(label="Output Logs", interactive=False)
|
|
|
122 |
input_tune3 = gr.Radio(["film β use for high quality movie content; lowers deblocking", "animation β good for cartoons; uses higher deblocking and more reference frames", "grain β preserves the grain structure in old, grainy film material", "stillimage β good for slideshow-like content", "fastdecode β allows faster decoding by disabling certain filters", "zerolatency β good for fast encoding and low-latency streaming", "psnr β ignore this as it is only used for codec development", "ssim β ignore this as it is only used for codec development"], value=["film β use for high quality movie content; lowers deblocking"], label="Tune (Required)", info="Tuning Setting")
|
123 |
input_video3 = gr.Video(label="Input Video")
|
124 |
input_textbox3 = gr.Textbox(label="FFMPEG Command")
|
125 |
+
buildcmd3 = gr.Button("Build FFMPEG Command", variant="primary").click(fn=cmdb_adv, inputs=[input_preset3,input_tune3, input_video3], outputs=[input_textbox3])
|
126 |
|
127 |
with gr.Column() as out_main:
|
128 |
output_textbox3 = gr.Textbox(label="Output Logs", interactive=False)
|