Questions tagged [video-compression]

130 questions
3
votes
1 answer

What ffmpeg command will produce a video compression similar to Instagram's compression?

I am looking to take a video and compress it in a way that is similar to the compression that Instagram uses. What ffmpeg command can do this?
user592419
  • 5,103
  • 9
  • 42
  • 67
2
votes
1 answer

OpenCV (packaged by OpenPnP) library not loading

I am trying to use OpenVC and encounter an erorr that says that it is not in java.library.path. I have followed the github page for this version of OpenCV (https://github.com/openpnp/opencv) but still the probelm persisits, I tried using maven but…
2
votes
1 answer

ffmpeg kit flutter video compressor

I am not experienced with ffmpeg. So I'm sorry if I'm asking the wrong question in the wrong place. i am trying to make a video compressor, i add the dependency exactly like : ffmpeg_kit_flutter_full_gpl: ^4.5.1 and The code I wrote is…
2
votes
1 answer

Video compression in react native using ffmpeg

I trying to compress video in react native using react-native-ffmpeg . I am picking video using react-native-image-picker. I tried using command -y -i ${inputVideo} -vcodec h264 -acodec mp3 ${finalVideo}. But it is failing with rc:1. My code:- …
Shahanshah Alam
  • 565
  • 7
  • 22
2
votes
1 answer

What ffmpeg arguments will approximate Zoom recording quality

I've been recording screen sharing presentations using Quicktime on my Mac and it uses x264 format with ~60fps. The produced video file is with type MOV and around 2.2GB for 1 hour of presentation. I want to compress it using ffmpeg and I've been…
2
votes
0 answers

App Crashs When Compressing Video When I use Flutter VIdeo Compession

After I Choose A Video I try to Compess it but It Doesnt Work. PickedFile pickedfile = await ImagePicker().getVideo(source: ImageSource.gallery, maxDuration: Duration(minutes: 5), ); try{ file = File(pickedfile.path); …
2
votes
1 answer

How to create a anAudioSampleBuffer for CMSampleBufferGetFormatDescription in iOS Swift

I have been working on video compression in iOS Swift, and following this SO's answer. It is working fine until I change this piece of code's file format to .mp4 let videoWriter = try! AVAssetWriter(outputURL: outputURL as URL, fileType:…
Ahsan
  • 173
  • 1
  • 13
2
votes
2 answers

Video compression when uploading a video in javascript(react) web application

In my react application i have included a image and video uploading feature. For images, i'm compressing the image before uploading into the server. Now i need to do the same for the videos as well. But i'm not sure if the video compression should…
CraZyDroiD
  • 6,622
  • 30
  • 95
  • 182
2
votes
0 answers

ffmpeg: Is there a way to decode a video frame, given the previous frame, motion vectors, and a residual image?

Assume we are given the following numpy arrays: the BGR video frame for timestep t-1, the motion vectors for timestep t, and the residual image for timestep t. Also, assume the video frame, motion vectors, and residual iamge, come from a video which…
aarzchan
  • 21
  • 2
2
votes
1 answer

How to fix error duplicate entry: com/coremedia/iso/AbstractBoxParser$1.class?

After add isoparser-1.0.6.jar into lib folder, I got error something like this Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate…
Lukmanpryg
  • 166
  • 2
  • 15
2
votes
1 answer

Video compression estimated size - android

I am developing an android video compression application. I have video 1280*720, video duration is 4 seconds and size of the video is 7Mb, How can get estimated video size for different resolutions. I want to find estimated video size for 854*504,…
rajahsekar
  • 916
  • 1
  • 11
  • 25
1
vote
1 answer

Is there a uncompressed, lossless udp or tcp streaming solution with gstreamer

I've looked for a while but can't seem to find an encoding/payload setup that would allow me to simply stream losslessly from my host to client (both are on setup where bandwidth is not a issue). I'm currently using these two pipelines to get by,…
Steve Broberg
  • 4,255
  • 3
  • 28
  • 40
1
vote
1 answer

Video created with OpenCV python cannot be uploaded to Social Media Platforms

I use OpenCV in a python script to convert images in PIL format to MP4 videos. Even though I can play back the videos normally after creating them, I cannot upload them on Twitter or Instagram afterwards. If after creating the video, I convert the…
1
vote
0 answers

How to compress the video before uploading to database using react native

This is my whole page code to get video using react native image picker and then compress it using react-native compressor if anyone has done this functionality make sure to help and if possible you can message me on instagram @mujtaba._2 I have…
1
vote
1 answer

Python3 youtube compression resistance using LSB steganography

I have some code that uses LSB steganography to hide encrypted data in the frames of a video. The main issue I am having is I don't know what I can do to make the video more resistant against youtube compression/compression in general. I also can't…
Ori
  • 31
  • 8
1
2
3
8 9