Git Product home page Git Product logo

Comments (13)

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy

你这个demo是推 RTMP格式的,那推mpeg 格式的也差不多吧

我要用:https://github.com/phoboslab/jsmpeg ,来处理播放的问题

RTMP只是网络协议,mpeg是编码格式。整个流程是:原始数据>编码>封装格式(flv/mp4等)>RTMP协议推流。有其他不懂可以参考专题的其他文章。流媒体

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

1、还有问题要请教,我下载了你的代码,好像跑不起来,
2、另外你代码里面的这个地址 rtmp://192.168.31.127/live/test ,是需要服务器怎么配合呢

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

我是想利用这个 http://writingminds.github.io/ffmpeg-android-java/,
直接推到我的某个地址,用你的demo可以实现吗

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

我现在用这个http://writingminds.github.io/ffmpeg-android-java/,
可以把某个直播流推到我的地址,但是不知道怎么把摄像头的数据推到我的这个地址

from androidmultimedia.

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy
服务器的搭建参考RTMP服务器搭建(crtmpserver和nginx) 比较简单
摄像头的数据参考 Android平台下使用FFmpeg进行RTMP推流(摄像头推流) 下载github上v1.2.1的版本运行。这是是用FFmpeg的方式。后续会写如何使用MediaCodec硬编码推流的文章,请关注。

from androidmultimedia.

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy 我所写到的Demo基本不会涉及其他开源项目代码。除了使用FFmpeg。目的是和大家一起一步一步研究,包括如何优化。

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

FFmpeg , 怎么实现 http-flv 推流。你有了解吗,方便的话,QQ(545128812 )请教下

from androidmultimedia.

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy 代码需要在ARM的机器上运行,在NDK 编译FFmpeg时候只编译了Arm的so库。这个要注意。还有一点。我使用的机器是android 4.4.1。 如果使用高系统版本。注意动态权限问题

from androidmultimedia.

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy http-flv暂时没有了解。目前重点关注在 H.264编码和RTMP推流。

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

@EricLi22 ok , 我再查查资料,研究下

from androidmultimedia.

arvinwli avatar arvinwli commented on July 26, 2024

@renwfy 建议可以从底层了解,比如flv封装。可以参考flv格式详解+实例剖析,至于http大家都很熟悉了,再看看如何搭配使用。 其实我觉得有问题我们可以就在这里提出来讨论。这样其他兄弟们有类似问题的可以一起参与。

from androidmultimedia.

renwfy avatar renwfy commented on July 26, 2024

@EricLi22 ,好的

from androidmultimedia.

xiaox8021 avatar xiaox8021 commented on July 26, 2024

你好,我本地视频帧率是15fps用你的工具推流的时候总会推的过快导致启动睡眠逻辑请问在哪里可以控制理论推流速率啊是控制基流帧速率么?在哪里可以控制呢?

from androidmultimedia.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.