Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Did you try to use screenrecord from adb shell in lollipop?

53

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
53

Did you try to use screenrecord from adb shell in lollipop?

Posted at 4/6/2016 08:30:06      View:4254 | Replies:2        Print      Only Author   [Copy Link] 1#
Last edited by jykwun In 4/6/2016 08:57 Editor

i've finished the recording with following command.
(sceenrecord --verbose --time-limit 5 /sdcard/recvid.mp4 )

But  when trying to play the recorded file with video player, screen is always green.

How to solve this?



Firmware: lollipop(Firefly-RK3288_Android4.4_201602251453.7z)

adb logs:

01-02 07:12:19.864 2287-2291/? I/OMXClient: Using client-side OMX mux.
01-02 07:12:19.866 2287-2290/? V/MediaCodec: Found 0 pieces of codec specific data.
01-02 07:12:19.868 2287-2291/? W/ACodec: do not know color format 0x7f000789 = 2130708361
01-02 07:12:19.869 2287-2291/? I/ACodec: setupVideoEncoder succeeded
01-02 07:12:19.870 2287-2291/? W/ACodec: do not know color format 0x7f000789 = 2130708361
01-02 07:12:19.871 168-501/? D/OMXNodeInstance:    <void android::OMXNodeInstance::setGraphicBufferSource(const android::sp<android::GraphicBufferSource>&)>_211     mFrameRate = 60
01-02 07:12:19.871 168-501/? D/GraphicBufferSource:     danielycycyc   GraphicBufferSource::setFrameRate()_112  interval_time = 16(16666666)  mFrameRate = 60
01-02 07:12:19.872 2287-2290/? V/MediaCodec: input buffers allocated
01-02 07:12:19.873 168-2292/? E/ROCKCHIP_VIDEO_ENC: EncParam.framerate  = 60 outPort->sPortParam.format.video.xFramerate = 3932160 4000000
01-02 07:12:19.873 168-2292/? E/ROCKCHIP_VIDEO_ENC: ConvertOmxAvcLevelToAvcSpecLevel: 512
01-02 07:12:19.873 168-2292/? D/pv_avcenc_api: cml->cabacintIdc  0 cml->enablaCabac 0 cml->intraPicRate 30
01-02 07:12:19.873 2287-2290/? V/MediaCodec: output buffers allocated
01-02 07:12:19.874 168-2292/? D/pv_avcenc_api: init intraPeriodCnt 30
01-02 07:12:19.875 2287-2290/? V/MediaCodec: codec output format changed
01-02 07:12:19.891 2287-2287/? I/MPEG4Writer: limits: 4294967295/0 bytes/us, bit rate: -1 bps and the estimated moov size 3072 bytes
01-02 07:12:19.969 2287-2297/? I/MPEG4Writer: setStartTimestampUs: 4842810320
01-02 07:12:19.969 2287-2297/? I/MPEG4Writer: Earliest track starting time: 4842810320
01-02 07:12:24.754 457-1380/? D/ConnectivityManager.CallbackHandler: CM callback handler got msg 524298
01-02 07:12:24.755 457-1380/? D/ConnectivityManager: expireRequest with 120, 119
01-02 07:12:24.933 168-168/? W/GraphicBufferSource: Dropped back down to Loaded without Executing
01-02 07:12:24.938 2287-2287/? D/MPEG4Writer: Video track stopping
01-02 07:12:24.939 2287-2287/? D/MPEG4Writer: Video track source stopping
01-02 07:12:24.939 2287-2287/? D/MPEG4Writer: Video track source stopped
01-02 07:12:24.939 2287-2297/? I/MPEG4Writer: Received total/0-length (131/0) buffers and encoded 131 frames. - Video
01-02 07:12:24.939 2287-2287/? D/MPEG4Writer: Video track stopped
01-02 07:12:24.939 2287-2287/? D/MPEG4Writer: Stopping writer thread
01-02 07:12:24.940 2287-2296/? D/MPEG4Writer: 0 chunks are written in the last batch
01-02 07:12:24.940 2287-2287/? D/MPEG4Writer: Writer thread stopped
01-02 07:12:24.942 2287-2287/? D/MPEG4Writer: Video track stopping
01-02 07:12:25.113 2300-2300/? D/AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
01-02 07:12:25.116 2300-2300/? D/AndroidRuntime: CheckJNI is OFF
01-02 07:12:25.116 2300-2300/? I/AndroidRuntime: JNI options: '-Xjniopts:warnonly'
01-02 07:12:25.169 2300-2300/? E/memtrack: Couldn't load memtrack module (No such file or directory)
01-02 07:12:25.169 2300-2300/? E/android.os.Debug: failed to load memtrack module: -2
01-02 07:12:25.196 2300-2300/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
01-02 07:12:25.200 571-571/? D/MediaScannerReceiver: action: android.intent.action.MEDIA_SCANNER_SCAN_FILE path: /mnt/internal_sd/recvid.mov
01-02 07:12:25.204 2300-2300/? D/AndroidRuntime: Shutting down VM
01-02 07:12:25.436 2287-2287/? D/ScreenRecord: success
01-02 07:12:44.810 457-484/? D/Tethering: TetherModeAliveState.processMessage what=4
01-02 07:12:44.810 457-484/? D/ConnectivityManager: renewing startUsingNetworkFeature request NetworkRequest [ id=3, legacyType=5, [ Transports: CELLULAR Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN] ]
01-02 07:12:44.811 457-484/? D/ConnectivityManager: renewing request to seqNum 121
01-02 07:12:44.811 457-484/? D/ConnectivityManager: sending expire msg with seqNum 121 and delay 60000
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list