Firefly开源社区

打印 上一主题 下一主题

Firefly-rk3288 linux下 实现视频硬解码(公开源码)

63

积分

0

威望

0

贡献

技术小白

积分
63
发表于 2016-1-1 17:03:43      楼主
const char *RK_DEC_LIB = "librk_on2.so";
const char *RK_VPU_LIB = "libvpu.so";

redec_decoder.c 中用到了上面两个库, 请问这两个库,标版源代码里面有没有?
回复

使用道具 举报

63

积分

0

威望

0

贡献

技术小白

积分
63
发表于 2016-3-9 16:08:26      沙发
使用默认版box版本的内核源码, 和ubuntu文件系统,编译成功后,执行 ffplay 1.mp4,  调试口输出信息如下:

[   22.268026] bits_per_pixel:8
[   22.268055] graphics fb0: fb0 check var fail 1:
[   22.268055] xres_vir:1280>>yres_vir:1024
[   22.268055] xres:1280>>yres:1024
[   22.268055] bits_per_pixel:8
[   22.268087] graphics fb0: fb0 check var fail 1:
[   22.268087] xres_vir:1280>>yres_vir:1024
[   22.268087] xres:1280>>yres:1024
[   22.268087] bits_per_pixel:8
[   22.268114] graphics fb0: fb0 check var fail 1:
[   22.268114] xres_vir:1280>>yres_vir:1024
[   22.268114] xres:1280>>yres:1024
[   22.268114] bits_per_pixel:8
[   22.268141] graphics fb0: fb0 check var fail 1:
[   22.268141] xres_vir:1280>>yres_vir:1024
[   22.268141] xres:1280>>yres:1024
[   22.268141] bits_per_pixel:8
[   22.268167] graphics fb0: fb0 check var fail 1:
[   22.268167] xres_vir:1280>>yres_vir:1024
[   22.268167] xres:1280>>yres:1024
[   22.268167] bits_per_pixel:8
[   22.268191] graphics fb0: fb0 check var fail 1:
[   22.268191] xres_vir:1600>>yres_vir:1200
[   22.268191] xres:1600>>yres:1200
[   22.268191] bits_per_pixel:8
[   22.268218] graphics fb0: fb0 check var fail 1:
[   22.268218] xres_vir:1600>>yres_vir:1200
[   22.268218] xres:1600>>yres:1200
[   22.268218] bits_per_pixel:8
[   22.268243] graphics fb0: fb0 check var fail 1:
[   22.268243] xres_vir:1600>>yres_vir:1200
[   22.268243] xres:1600>>yres:1200
[   22.268243] bits_per_pixel:8
enable-shared --prefix=/usr --disable-ffmpeg --disable-ffprobe --disable-ffserver --disable-static
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':B sq=    0B f=0/0   
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2014-09-21 02:34:18
  Duration: 00:10:00.28, start: 0.000000, bitrate: 2492 kb/s
    Stream #0:0(und): Video: h264 (avc1 / 0x31637661), nv12, 1280x720, 2297 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2014-09-21 02:34:30
      handler_name    : IsoMedia File Produced by Google, 5-11-2011
  13.33 A-V: -0.039 fd=   0 aq=    2KB vq=  133KB sq=    0B f=0/0   


显示图像是乱的, 请问是哪里有问题?  内核源码不是同一个?
回复

使用道具 举报

63

积分

0

威望

0

贡献

技术小白

积分
63
发表于 2016-10-12 16:02:35      板凳
mlfcjob@163.com 发表于 2016-7-26 10:59
你好,采用此驱动进行硬解的时候,发现颜色显示 有问题,红色显示为蓝色,蓝色显示为红色,请问是什么原因 ...

没有呢
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表