FFmpeg with Cedrus H264 HW Encoder (A64 - CMOS Camera)

Recommended Posts

The Cedrus HW encoder  is working on A64 (POC).


FFmpeg 2.8.6 with cedrus264 can be found for testing here: https://github.com/avafinger/ffmpeg_cedrus264_A64

It was tested on Pine64+ (1GB) and OV5640.



VDPAU SUNXI] VE version 0x1689 opened.
Output #0, h264, to 'test.h264':
    encoder         : Lavf56.40.101
    Stream #0:0: Video: h264 (cedrus264), nv12, 1024x768, q=2-31, 200 kb/s, 15 fps, 15 tbn, 15 tbc
      encoder         : Lavc56.60.100 cedrus264
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (cedrus264))
Press [q] to stop, [?] for help
frame=   12 fps=0.0 q=-0.0 size=      89kB time=00:00:00.80 bitrate= 910.4kbits/
frame=   24 fps= 22 q=-0.0 size=     170kB time=00:00:01.60 bitrate= 868.2kbits/
frame=   36 fps= 22 q=-0.0 size=     233kB time=00:00:02.40 bitrate= 796.0kbits/
frame=   48 fps= 22 q=-0.0 size=     309kB time=00:00:03.20 bitrate= 791.3kbits/
frame=   60 fps= 22 q=-0.0 size=     406kB time=00:00:04.00 bitrate= 831.6kbits/
frame=   72 fps= 22 q=-0.0 size=     501kB time=00:00:04.80 bitrate= 855.6kbits/
frame=   84 fps= 22 q=-0.0 size=     583kB time=00:00:05.60 bitrate= 853.4kbits/
frame=   96 fps= 22 q=-0.0 size=     664kB time=00:00:06.40 bitrate= 850.1kbits/
frame=  106 fps= 22 q=-0.0 size=     741kB time=00:00:07.06 bitrate= 858.5kbits/
frame=  114 fps= 21 q=-0.0 size=     806kB time=00:00:07.60 bitrate= 869.3kbits/
frame=  122 fps= 20 q=-0.0 size=     856kB time=00:00:08.13 bitrate= 862.0kbits/
frame=  130 fps= 20 q=-0.0 size=     894kB time=00:00:08.66 bitrate= 845.0kbits/
frame=  138 fps= 20 q=-0.0 size=     931kB time=00:00:09.20 bitrate= 829.1kbits/
frame=  140 fps= 20 q=-0.0 Lsize=     940kB time=00:00:09.33 bitrate= 825.1kbits/s dup=69 drop=0    
video:940kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.