Giter Club home page Giter Club logo

Comments (3)

n1ru4l avatar n1ru4l commented on July 27, 2024 1

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.

n1ru4l avatar n1ru4l commented on July 27, 2024

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.

n1ru4l avatar n1ru4l commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.