rFlex / SCRecorder

iOS camera engine with Vine-like tap to record, animatable filters, slow motion, segments editing
Apache License 2.0
3.06k stars 583 forks source link

Created video cant play on android device #255

Open gaurang212 opened 8 years ago

gaurang212 commented 8 years ago

I have use this library to create video,and send on server, which have following media details:

General / Container Stream #1 Total Video Streams for this File.................1 Video Codecs Used.................................AVC File Format.......................................MPEG-4 Play Time.........................................1s 635ms Total File Size...................................3.34 MiB Total Stream BitRate..............................17.1 Mbps Encoding Library..................................Apple QuickTime Video Stream #1 Codec (Human Name)................................AVC Codec (FourCC)....................................avc1 Codec Profile.....................................High@L4.1 Frame Width.......................................1 920 pixels Frame Height......................................1 080 pixels Frame Rate........................................29.970 fps Total Frames......................................49 Display Aspect Ratio..............................16:9 Scan Type.........................................Progressive Color Space.......................................YUV Codec Settings (Summary)..........................CABAC / 1 Ref Frames QF (like Gordian Knot)............................0.275 Codec Settings (CABAC)............................Yes Codec Settings (Reference Frames).................1 Video Stream Length...............................1s 635ms Video Stream BitRate..............................17.1 Mbps Video Stream BitRate Mode.........................VBR Bit Depth.........................................8 bits Video Stream Size.................................3.33 MiB (100%) Video Stream Title................................Core Media Video Date of Original Encoding.........................UTC 2016-01-08 07:22:08 Color Primaries...................................BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177 Transfer Characteristics..........................BT.709-5, BT.1361 Matrix Coefficients...............................BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

its plays on iOS as well as on web-browser, but android device cant support this format,

p.s. : as per my assumption: "Codec Profile" should be "Baseline@L4.0", but i cant set this by modified code.

moofaces commented 8 years ago

Have you had any problem with the video loading properly?

cerupcat commented 8 years ago

Did you ever figure this out? We're having the same issue.