Open Cappe93 opened 1 year ago
This video streams is corrupt, does not match the specifications. We see a lot of such bad video files :(
When you run the command interactively, is the resulting output file still usable?
ffmpeg-amd64-3.0.1 -f mp4 -i /tmp/source7487986526572441446mp4 -vcodec h264 -vb 160000 -r 15 -s 640x480 -movflags faststart -profile:v baseline -acodec aac -ab 64000 -ac 2 -ar 44100 -f mp4 -y /tmp/target6577105422244485239mp4 -hide_banner
Greetings, I'm currently having some troubles using the video compression on large videos, it returns me the following error:
The code we're using:
compressor.reduceVideoSizeWithCustomRes(videoBytes, VideoFormats.MP4, getIvSize(dto));
The method getIvSize simply sets height and width to respectively 480 and 640, the videos uploaded are 10 seconds long(registered via webcam). We can't figure out the solution to this problem.PS: we're using IVCompressor 2.0.2