Comments (3)
The video can be player after applying the following: ffmpeg -i input.mp4 -profile:v baseline -level 3.1 -movflags +faststart output.mp4
from silicompressor.
Might be fixable with using https://developer.android.com/reference/android/media/MediaFormat#KEY_PROFILE and https://developer.android.com/reference/android/media/MediaFormat#KEY_LEVEL
Diff before and after applying ffmpeg -i input.mp4 -profile:v baseline -level 3.1 -movflags +faststart output.mp4
diff --git a/error.log b/correct2.log
index f5ae2d6..7e08d5c 100644
--- a/error.log
+++ b/correct2.log
@@ -1,47 +1,40 @@
General
-Complete name : e14a1502-6760-4803-aa33-4f8594cc3554.mp4
+Complete name : output.mp4
Format : MPEG-4
Format profile : Base Media
-Codec ID : isom (isom/3gp4)
-File size : 106 KiB
+Codec ID : isom (isom/iso2/avc1/mp41)
+File size : 223 KiB
Duration : 1 s 998 ms
-Overall bit rate : 436 kb/s
-Encoded date : UTC 2018-08-21 17:32:26
-Tagged date : UTC 2018-08-21 17:32:26
+Overall bit rate : 914 kb/s
+Writing application : Lavf58.20.100
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
-Format profile : Baseline@L3
-Format settings : 1 Ref Frames
+Format profile : [email protected]
+Format settings : 3 Ref Frames
Format settings, CABAC : No
-Format settings, ReFrames : 1 frame
-Muxing mode : Container [email protected]
+Format settings, ReFrames : 3 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 1 s 998 ms
-Bit rate : 432 kb/s
+Bit rate : 910 kb/s
Width : 360 pixels
Height : 640 pixels
Display aspect ratio : 0.562
Frame rate mode : Constant
Frame rate : 30.040 FPS
-Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
-Bits/(Pixel*Frame) : 0.062
-Stream size : 105 KiB (99%)
+Bits/(Pixel*Frame) : 0.131
+Stream size : 222 KiB (100%)
Title : VideoHandle
+Writing library : x264 core 152 r2854 e9a5903
+Encoding settings : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
-Encoded date : UTC 2018-08-21 17:32:23
-Tagged date : UTC 2018-08-21 17:32:26
-Color range : Limited
-Color primaries : BT.601 PAL
-Transfer characteristics : BT.601
-Matrix coefficients : BT.601
Codec configuration box : avcC
from silicompressor.
However the issue @WJCheng describes only appears on a One Plus 5 with Android 8.1.0.
There are no differences when diffing the mediainfo output of a video recorded with a nexus 5x (7.1.1) with the one of the one plus 5.
from silicompressor.
Related Issues (20)
- Implementation error HOT 6
- The library I'm using, which compresses video on the phone, is fine. However, on the tablet, this is not possible, and there is an exception: start failed. Who can help me? Thank you HOT 1
- bug
- Directory issue HOT 1
- Documentation issue
- How long will it take to compress an mp4 file?
- 视频进度监听误差,有什么好的解决方案?
- Silicompressor compress video results with no sound HOT 5
- Can't play by ExoPlayer after compress (system video player can play but no sound) HOT 3
- ClassNotFoundException: com.googlecode.mp4parser.util.Matrix
- @ankitbatra11 library not working in exoplayer after upload to the server HOT 6
- How to set compress video size is less than 10mb HOT 1
- Change video resolution HOT 1
- Getting NumberFormatException in some cases HOT 1
- Crashing on Android 12 HOT 1
- ERROR : destination file path
- 视频压缩完方向变了
- Screen recording video compression is damaged
- 此库和贵州公安app冲突,谨慎使用
- Windows - File not found error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from silicompressor.