Comments (5)
I'm fairly new to video decoding, so somebody correct me if I get anything wrong.
If you know what GOP is, then the meaning of those variables will make more sense. GOP (Group of pictures) is a collection of video frames. It starts with a key frame, which is a frame that doesn't need other frames in order to be decoded. Other non-key frames make up the changes between the key frames and rely on other frames to be decoded.
Given that description of GOP, this is what I think they mean:
cachegop
- sets the maximum number of GOPs to cachedelaygop
- seek backwards N key frames/GOPs up to the size set withcachegop
waitkey
- wait for a key frame, so that the first frame you get is a key frame. This will fix image artifacts that you would get before the key frame arrives.framedrop
- drops every Nth frame that isn't a key frame. This will cause image artifacts until the next key frame arrives.delayskip
- skips entire GOP if there is a delay (I'm not 100% sure if this is correct)
from joy4.
And does joy4 support ffmpeg -s
?
from joy4.
Hi, acls .Firstly,Thanks for your explanation about the GOP
,I also found it in wikipedia,I will try these options later.And have U tried to stream multiple channels ,I mean that can joy4
's rtmp server solution deal with the streaming with multiple resolution,I read cgo/ffmpeg > video.go
,but I do not see any implementation~ I am also new to video decoding as well as ffmpeg
lol~
from joy4.
As far as I know joy4
doesn't handle multiple resolutions.
from joy4.
hmmm .. I finally use FFmpeg to do a forwarding via exec
package ,However, I think it is not elegant enough at all(need ffmpeg dependency), Anyway, Thanks. @acls
from joy4.
Related Issues (20)
- How to get FPS?
- How to transcode to VP9 on the fly?
- How to produce fragmented mp4 files? HOT 5
- How to send error to client? HOT 3
- How to use authentication?
- read/write > 4GB size fail
- Extract frame and save to image file
- It doesn't support publish mp3 now
- fatal error: libavresample/avresample.h: No such file or directory HOT 1
- How do I save RTPS streams as MP4 video files?
- could not determine kind of name for C.avcodec_encode_audio2
- Any plans moving forward? HOT 1
- fatal error: libavformat/avformat.h: No such file or directory HOT 2
- FFMPEG RTMP Stream Loop Option? HOT 1
- Invalid memory address or nil pointer dereference in Transcoding example code
- why user authentication set to nil?
- Can you support H265 codec? HOT 1
- rtmp_publish example does not working
- Exception Handling About RTMP server HOT 1
- User disconnection handler HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joy4.