Questions tagged [video-compression]

130 questions
1
vote
1 answer

Force x264 to encode all frames relative to the first (IDR) frame

I want to generate a h.264 stream in which P-frames are using references exclusively using a long-term reference to the first frame (an IDR frame). This would also require the first frame to be an IDR frame. This is an academic experiment to…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
1
vote
1 answer

lalongooo/VideoCompressor: Audio is missing in compressed video?

Video Compression Sample The video compression process is complete successfully. But the compressed video lost its audio. This question is already answer in GitHub issue. The voice disappear after compression. And answer is to add dependencies like…
Vora
  • 347
  • 2
  • 15
1
vote
1 answer

How to prevent proguard to shrink module library ? JAR

I have fishwjy videocompressor library that i import to my project, Everything is Okay when i run the code to compressing video in debug mode, but i get error when i run video compressing after building apk in release mode, is this problem from…
1
vote
1 answer

HLS encoded video (ffmpeg) breaks in Safari when segmented via byte-range

Some of my HLS encoded videos via ffmpeg drop the audio when seeking past the buffer. The only way to sync the audio and video up again is to restart the video. What would be causing this? Example Profile: bitrate: 4800, profile: 'high', level:…
1
vote
0 answers

3gp Video compression issue in Swift

I'm working on the video uploading module in my app. Before uploading to the server, I'm compressing the video which is working fine, and video size are reducing after compression for mp4 & .mov type file but when I upload .3gp format video, it is…
Chetan Lodhi
  • 353
  • 1
  • 3
  • 21
1
vote
0 answers

How to reduce video compression process time?

I have used FFMPEG for video compression but it is taking too much time. Is there any solution to reduce video compression process time? I have used below command, String cmd = "-i " + inputFile + " -c:v libx264 -crf 23 -c:a aac -b:a 128k -movflags…
Akash Patel
  • 3,091
  • 3
  • 15
  • 23
1
vote
1 answer

Best way to transfer a large number of BMP images

On a remote machine, I have a number of BMP images that I want to transfer to my computer as fast as possible. These images are very similar (frames from a single scene in a video). I do not want to lose any information. I tried zipping but zipping…
1
vote
0 answers

Android: what is the best way to compress video

I know that this question has been asked before, but no one gave a clear answer. Almost Every answer I saw on this topic included the use of what is called ffmpeg. Now I am not an expert in media codec and stuff like that but I understand that…
user9609225
1
vote
1 answer

How can I compress an uploaded video on my server?

I have to make a simple web page on which user can upload a video (max 10 MB) and the page will compress it (to 5 MB or less) and save it to the server. I have done the front-end part of the webpage using HTML CSS and javascript. The user should be…
Saris
  • 13
  • 1
  • 5
1
vote
2 answers

MP4 Video Compressor in java

Can anyone suggest me a good compressor or third party library to compress MP4 video from server side(I am using Spring MVC). I got to know about FFMPEG and Xuggler, other than this any maintained compressors to use in java.. Please give me…
User
  • 89
  • 2
  • 13
1
vote
1 answer

Compress the video using ffmpeg when upload using php form?

I am using laravel famework and i am using ffmpeg PHP library. If have not found any good links for video compression using ffmpeg. There are two cases of compression. 1) Video Already exists in folder - this i have done already 2) Video Upload…
kunal
  • 4,122
  • 12
  • 40
  • 75
1
vote
1 answer

How to replace 'flags' with 'frame types' on ffmpeg's extract_mvs.c

I am in the process of extracting motion vectors from ffmpeg to use in a computer vision project. I have been looking for an easy way to extract this information in a meaningful way. While reading through different posts and other websites, I came…
tavalendo
  • 857
  • 2
  • 11
  • 30
1
vote
1 answer

How to compress video in android faster?

I have recently used ffmpeg library for android to compress the video of length 10 seconds and size nearly 25 MB. Following are the commands i tried to use: ffmpeg -i /video.mp4 -vcodec h264 -b:v 1000k -acodec mp2 /output.mp4 OR ffmpeg -i input.mp4…
Qandeel Abbassi
  • 999
  • 7
  • 31
1
vote
3 answers

Detect current Keyframe interval in AVAsset

I am working on an application that plays back video and allows the user to scrub forwards and backwards in the video. The scrubbing has to happen smoothly, so we always re-write the video with SDAVAssetExportSession with the video compression…
johnrechd
  • 1,801
  • 19
  • 25
1
vote
1 answer

What is difference between delta QP and simple QP?

In context of video coding (especially HEVC), what is difference between delta qp and simple qp values?
1 2 3
8 9