nareix / joy5 Goto Github PK
View Code? Open in Web Editor NEWAV toolkit
AV toolkit
When would you add RTSP client in joy5? I was realized joy4 has that. Is that much different in these two repos?
refer to
packetization-mode = 0 ,好像无法解析
nareix/joy4#87
joy5是一个很好的包,但没有文档或exmaple确实让我等小白很难用上这么好的包。大神能提供一下example或说明文档吗?
Hi @nareix ,
Thanks for working on new project. I used joy4 before. And now, it's cool to try joy5 now.
However, I have some questions about joy5:
rtmp.Conn
struct prepresents a object to handle rtmp messages. So it's better if I can access net.Conn object as in joy4 library instead of separate two parameters as in HandleConn
method. And in joy5, why Close
method in rtmp.Conn
is missing ? Developer should send message to client to close connection nicely instead of closing socket connect.Is it possible to make live frame editing from packet before writing packet?
I'm not well familiar in video packet communication, but i wish to get frame by frame
pak = c.ReadPacket();
....Get AvFrame here....
...Then write after modified...
w.WritePacket(pak);
Thanks
hi want to publish a video to yotube live stream
but i got an EOF error
here example code
package main
import (
"fmt"
"github.com/nareix/joy5/format/rtmp"
)
func main() {
cc := rtmp.NewClient()
_, _, err := cc.Dial("rtmp://x.rtmp.youtube.com/live2/{streamkey}", rtmp.PrepareWriting)
if err != nil {
fmt.Println("Failed to connect", err)
return
}
fmt.Println("success")
}
error response
Failed to connect EOF
我的视频文件是ts格式,想通过web直接播放视频,并且支持快进快退,有实现的方法吗?
目前我能想到的是方法:
1、把ts文件通过ffmpeg转码到mp4。
2、把ts文件通过ffmpeg转码到m3u8.
以上2个方案都需要占用更多的空间。
我希望的方案是,把ts文件打开后,立刻转码为mp4格式或者m3u8格式输出即可。是否有办法实现?
谢谢
Hi! Is it possible to provide example for HTTP FLV stream using this library as it was for joy4
under examples/
folder here?
How do I decode it to get it as an image?
Joy4;
var vd *ffmpeg.VideoDecoder
vd.Decode(pkt.Data)
Joy5;
??
MIT?
It worked publishing to twitch and facebook, but it failed to dail youtube. Is anyone got the same problem?
avtool forwardrtmp :1935
fwd rtmp://a.rtmp.youtube.com/live2/secretkey
DialFailed
作者你好,我看joy5相对joy4来说,在数据分发设计上面有比较大的改动,取消了cond.Broadcast,增了一些原子的操作,这样的改动是为了提高性能吗?
The constant:
H264SPSPPSNALU
never used in code:
https://github.com/nareix/joy5/blob/master/av/av.go#L15
Would you like to remove it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.