Questions tagged [video-compression]

130 questions
0
votes
0 answers

FFMPEG: How do I convert a minute long MP4 into a WebM (VP8) under 4MB with a decent quality?

I've seen people on 4chan posting 2-3 minutes long file with a decent quality with sound on /wsg/ or /gif/. I tried to do the same with my MP4 file which is a minute long with this command: ffmpeg -i input.mp4 -threads 4 -c:v libvpx -c:a libvorbis…
0
votes
2 answers

While ffmpeg is recording, I want it to create a smaller and lower quality video

Currently I am using this... ffmpeg -video_size 1920x1080 -framerate 1 -f x11grab -i :0.0+0,0 -f pulse -ac 2 -i default -t 00:00:10 Output.mkv While ffmpeg is recording a video, I want it to significantly reduce both the size and quality compared…
Tiel
  • 87
  • 1
  • 9
0
votes
1 answer

How to locate position and get intermediate results in the source code on VTM?

I want to achieve deep learning-based video compression. But it's difficult to get the intermediate results. So I want to ask if there are some convenient methods.
Ji Zhe
  • 1
  • 1
0
votes
1 answer

Android Java Compress Video size before upload

I am developing an app which has similar features to instagram for learning purposes. I want to upload a video from gallery to my cloud. In iOS, Swift already offers an in-built function which fixes the quality to my needs (.low, .medium, .high). Is…
Zash__
  • 293
  • 4
  • 16
0
votes
1 answer

Where can I get test sequences for HEVC?

I need the HEVC test video sequences. If anyone can help me how to get the dataset?
neetu sigger
  • 11
  • 1
  • 6
0
votes
1 answer

Video Compression using LightCompressor is not working

I am trying to compress a video that is recorded by a mobile camera. For that purpose, I am using the below library: https://github.com/AbedElazizShe/LightCompressor I am passing the captured video path and destination path. I can see it is reaching…
Arindam Mukherjee
  • 2,255
  • 11
  • 48
  • 83
0
votes
0 answers

Python FFmpeg not accepting Path

I made this script import os import sys import subprocess from tkinter import * from tkinter import filedialog print("Compressing......") file_path = filedialog.askopenfilename(title = "Select Video", filetypes = (("Mp4", "*.mp4"), …
0
votes
1 answer

How to compress a video using ffmpeg in python?

I made this script for compressing videos in Python 3: import os import sys import subprocess result = subprocess.run('ffmpeg -i output.mp4 -b 800k output.mp4') print(result) When I run the above, some error will come up like System cannot find the…
user14475704
0
votes
1 answer

Can we compress video and audio files in android before sending to server

Iam trying to upload video and audio files from my app on android to backend using api. But before sending want to compress them to reduce size, how can we make it? Thanks
user3863488
  • 227
  • 1
  • 13
0
votes
1 answer

why B frame only 50:1 compression ratio, but h264 can have 250:1 compression ratio?

I'm learning some knowledge about video coding and now I know I frame has about 7:1 compression ration, P frame has about 20:1 compression ratio, B frame has 50:1 compression ratio, but why h264 has 250:1 compression ratio, it seems it uses some…
0
votes
1 answer

Video compression for backup purposes

I'd like to know if there is a method/application to further compress MP4 files without loss as compressed files (zip-like) for archival purposes, even if I had to make a bigger file before recompressing. I don't need to play the videos immediately,…
0
votes
2 answers

Decrease size of video in android with minimal loss of quality

I am recording video using camera intent and getting displaying it in a videiview. Now i want to upload it, But it is very big in size. I want to compress it using FFMPEG as I found the many article and in SO also, but i didn't find any clear…
0
votes
0 answers

Reduce video bitrate swift

Im using uiimagepicker for the user to pick a video from photo library. After setting video quality to low in image picker settings, a 5 minute or even a 2 min recorded video is still too big for upload. Is there anyway to compress the video size…
PIRATE FIFI
  • 261
  • 2
  • 10
0
votes
2 answers

How do you lossily compress a video track from a media device in a browser?

I want to compress this track into another track that I can send over WebRTC via addTracks. How would I do this? Was hoping there was an easy option built into the browser
Andrew
  • 6,295
  • 11
  • 56
  • 95
0
votes
0 answers

I am working on Ionic project Compressing and watermarking video in ionic app before uploading it to server

I have a large video file in ionic app which need to be compressed and watermarked before uploading, one of the solution i think is ffmpeg how can i use it? Can someone refer any article Thanks
1 2 3
8 9