PkmX / lcamera

A camera app using the new camera2 API in Android Lollipop
1.28k stars 220 forks source link

Scrambled video Nexus 5.1 Vanilla LMY47D #155

Open Ep0chalypse opened 9 years ago

Ep0chalypse commented 9 years ago

When recording video on my Nexus 5 using VanillaAOSP [Android 5.1.0_r1 LMY47D] rom with either the PA Gapps or BaNks Gapps the video does not play back. It's all scrambled and reminds me of the old school days when premium tv channels where scrambled. Heres a pic.

If I use other camera apps(I have tried AOSP camera and Google camera) and the video does not come out scrambled, but the videos still do contain that green bar at the bottom.

Here is a pic of a video recorded in L Camera that I moved to my desktop and opened in VLC

Here is a pic from Google Camera

I'm not sure if it will help but here is what MediaInfo says about the corrupt video recorded in L Camera:

General Complete name : C:\Users\Mike\Downloads\VID_20150325_150105.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 66.5 MiB Duration : 8s 638ms Overall bit rate : 64.5 Mbps Encoded date : UTC 2015-03-25 19:01:14 Tagged date : UTC 2015-03-25 19:01:14

Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L5.1 Format settings, CABAC : No Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=31 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 8s 593ms Bit rate : 64.6 Mbps Width : 3 264 pixels Height : 2 448 pixels Display aspect ratio : 4:3 Frame rate mode : Variable Frame rate : 29.559 fps Minimum frame rate : 14.893 fps Maximum frame rate : 30.242 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.274 Stream size : 66.2 MiB (100%) Title : VideoHandle Language : English Encoded date : UTC 2015-03-25 19:01:14 Tagged date : UTC 2015-03-25 19:01:14 mdhd_Duration : 8593

Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 8s 638ms Source duration : 8s 644ms Bit rate mode : Constant Bit rate : 265 Kbps Nominal bit rate : 96.0 Kbps Channel(s) : 1 channel Channel positions : Front: C Sampling rate : 44.1 KHz Compression mode : Lossy Stream size : 279 KiB (0%) Source stream size : 279 KiB (0%) Title : SoundHandle Language : English Encoded date : UTC 2015-03-25 19:01:14 Tagged date : UTC 2015-03-25 19:01:14 mdhd_Duration : 8638

krusic22 commented 9 years ago

You set a too high bitrate for your recording.