Questions tagged [video-compression]

130 questions
1
vote
0 answers

Build failed in Flutter app due to video_compress package

I have been working an a flutter project that requires to upload video and thumbnail. I used flutter video_compress package to compress the video and get a thumbnail. After Adding video_compress package to pubspec.yaml file i found this error. *…
Jabid Hasan
  • 19
  • 1
  • 7
1
vote
1 answer

DirectShow video compressors enumeration issue

I am trying to find available DirectShow video encoders, using following code: ICreateDevEnumPtr pEnm(CLSID_SystemDeviceEnum,NULL,CLSCTX_INPROC_SERVER); // Video Compressor if(pEnm!= NULL) { IEnumMonikerPtr pEnumMoniker; hr =…
Kola73
  • 134
  • 1
  • 7
1
vote
1 answer

Bjontegaard calculation using only one pair of PSNR and BitRate

I want to calculate the BD-Rate for two different video encoding settings using the python script below. Using 4 RD Points (R1 and PSNR1 are the reference RD Points of the Video1 while R2 and PSNR2 are the new tests with different video settings of…
Maverick
  • 1,105
  • 12
  • 41
1
vote
0 answers

Nextjs/React/JS How compress video file uploaded by user through input (client side preferred)

I have made a basic app where the user can upload a video file through an input. As you can see in the code i also retrieve the duration and the size of the initial video. Now the question is, how i can compress the video file in the function…
vana22
  • 63
  • 4
1
vote
2 answers

Unable to compress video using "react-native-compressor"! any other solution?

The Process Select a video from the gallery using react-native-image-crop-picker Compress the video using react-native-compressor Upload video on S3 The problem ❌ Video compression does not work on Android ERROR: android open failed: ENOENT (No…
1
vote
1 answer

Ffmpeg compression cron cutting video to 1 second

I have a cron setup to take locally uploaded videos, create a screengrab, compress the video and upload to online storage. I am using ffmpeg with php and have tried a few different ways but though it does compress the file size I keep getting a…
BlackThorn
  • 11
  • 4
1
vote
1 answer

How to set specific minimal bitrate of video with light_compressor package in Flutter?

I tried using flutter's light_compressor package to compress a video I shot with my phone or downloaded from YouTube. I refer to the article below. https://morioh.com/p/ac6f0d2c176b In this article, the minimum bit rate can be set and the default…
Giant Brain
  • 124
  • 1
  • 13
1
vote
0 answers

Compress video with FFmpeg directly from mobile camera

Is there a way to record video in mobile and compress it with FFmpeg along the way, instead of recording it and only then using FFmpeg to compress it? This solution would allow the device to record videos even when the available space in disk is…
fff
  • 199
  • 2
  • 10
1
vote
0 answers

convert image stream received from ros subscribe topic straight to video with ffmpeg

What i want to do is generate a video file(mp4 or mkv format) with ffmpeg from the receiving frames simultaneously without saving images on storage. Attached below is my python ROS subscriber code. import cv2 from cv_bridge import CvBridge import…
1
vote
1 answer

any one help out React Native Video Compression?

Hello Friends I try to Compress video in React native app I already use https://github.com/shahen94/react-native-video-processing but I didn't get actual reduce video file size. I try to implement https://www.npmjs.com/package/react-native-ffmpeg…
1
vote
0 answers

Stream data in VP9, VP8 or H.264 data but store it on AWS in .mov format in s3 buckets

I am able to collect frames from RTSP camera using the below code. But need help with storing the data in S3 buckets as a video file. But storing frames takes up lot of storage space. How do platforms like youtube store the streaming data? How to…
Atulac
  • 69
  • 8
1
vote
1 answer

Is there a way to use H.264 with custom color repersentation?

I'm currently developing new file format, it's a video with custom color representation. Every color is a single byte; there's a constant RGBA colors array, every byte of the frame is the index of color in this array. Therefore every pixel in a…
1
vote
0 answers

Cordova plugin video editor: AVC video profile is not supported by Android OS, actual profile_idc: 100

I've been using this plugin to do video compression and it works fine for most cases. However, on some phones, notably Huawei and Xiaomi, it fails to compress video with the error: net.ypresto.androidtranscoder.engine.InvalidOutputFormatException: …
Dave
  • 5,283
  • 7
  • 44
  • 66
1
vote
2 answers

Video Compression library in Java android?

I am using Silicompressor library for video compression. My video size is 15 MB and compressed video size is coming to 500 kb since the compressed size is very very small and when clicked on play button of compressed video it shows an error as…
Josss
  • 229
  • 1
  • 4
  • 19
1
vote
1 answer

FFmpeg not working on Android version 10(Q)

I am using FFmpeg for the Video compress & audio video merge & to making the duet with the help of FFmpeg.it's working well on all lower version of Android. but not working on ANDROID 10(Q). it directly goes to on Faiure with empty error…
1 2
3
8 9