libobjc / sgplayer Goto Github PK
View Code? Open in Web Editor NEWA powerful media play framework for iOS, macOS, and tvOS.
License: MIT License
A powerful media play framework for iOS, macOS, and tvOS.
License: MIT License
Hi,
In file SGFFDecoder.m
:
@property (nonatomic, assign) bool selectAudioTrackIndex;
selectAudioTrackIndex are not a bool but an integer.
Correct declaration:
@property (nonatomic, assign) int selectAudioTrackIndex;
控制器A播放视频,然后push一个控制器,再pop回控制器A,视频画面会不动,但是会有声音。
然后加群也加不进。
我在新的项目中使用到了SGPlayer, 很感谢作者开源这么好的项目, 我现在要实现预览功能, 快进的时候希望能过按时间获取截图, 用ios原生sdk可以获取到ios支持格式的视频图, 但是有没有办法通过ffmpeg来实现,因为ios的sdk没办法搞定原生不支持的编码格式, 作者是否有打算加入此功能,或者帮我提供一些思路.
script does not download
http://omw595ki7.bkt.clouddn.com/ffmpeg2/$LIB_FFMPEG_FILE_NAME.zip
site offline?
Please fix.
Hi, when i use the FFMPEG library the certification report send me this issue :
private spi symbol(s) in framework: '/System/Library/Frameworks/Security.framework/Versions/A/Security'
+++ : SecIdentityCreate
The ffmpeg library for MACOS will be compile with this option
--disable-securetransport
Can you upgrade the zip file download at this url http://omw595ki7.bkt.clouddn.com/ffmpeg2
with this flag ?
Tnk's
如题
强烈支持
我的音视频流媒体数据是通过tcp/udp从网络实时过来的(并不是本地文件或者http直播流),视频是h264的原始格式,但是是通过自定义格式包装后,实时发送过来的,现在我们的SGPlayer能够支持自定义流的播放么?或者要支持这样的数据播放,需要怎么做呢?谢谢
using sgplayer mac to play douyu live flv stream on 13' retina mac pro 2015, the screen only show 1/4(left corner)
if connect to my display,it's working fine, show complete size.
update:
if not use the highest resolution the screen can't show completely,only 1/4 or less
fixed:
use hack way,
in SGGLViewController.m 220 line chage scale to 1 .like this CGFloat scale = 1;
SGPlatform/SGPlatform.h file not found
能支持用CocoaPods来进行安装吗
请大神明示 或者提供思路
Is is possible to enable deinterlacing options? If not, implementations of this option would be very helpfull! Thanks!
Can I store RTSP streaming video?
demo编译失败
Undefined symbols for architecture arm64:
"OBJC_IVAR$_SGFFAVYUVVideoFrame.channel_pixels", referenced from:
-[SGGLTextureYUV420 updateTextureWithGLFrame:aspect:] in SGPlayer(SGGLTextureYUV420.o)
"OBJC_CLASS$_SGFFAVYUVVideoFrame", referenced from:
objc-class-ref in SGPlayer(SGGLFrame.o)
"OBJC_CLASS$_SGFFCVYUVVideoFrame", referenced from:
objc-class-ref in SGPlayer(SGGLFrame.o)
"OBJC_CLASS$_SGFFPlayer", referenced from:
objc-class-ref in SGPlayer(SGPlayerImp.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
概率性的编译失败 有时候可以 过一会就又不行了 好诡异
支持rtsp流边播边录吗?
Is it possible for a video streaming to disable video and have audio only?
RT
How to generate thumb nails for a video ? using SGPlayer for non h264 video
Great library, thanks for all the effort into it!
The ffmpeg player has been working great up until today when I upgraded from iOS & tvOS 11 beta 3 to beta 4. It now crashes on both iOS & tvOS (playing a server ts stream). The only error Xcode gives is 'Thread 1: EXC_BAD_ACCESS (code=2, address=0x194c50ad8)' pointing to main.m, even with 'All Exceptions' breakpoint enabled.
To double check, I ran the exact same build under beta 3 on iOS & it worked fine, I then upgraded the device to beta 4 & re-ran & it now crashes in the same way the tvOS build does.
A little bit of manual debugging seems to show its crashing when it goes to display the first frame (or around that time), possibly OpenGL/rendering related? Not sure if this is an iOS/tvOS beta issue (that Apple may fix in a future beta), or maybe a change in the api that SGPlayer will need updating to handle perhaps.
Any ideas/pointers on how to get this working would be really appreciated!
Thanks.
如题?
在播放 VR 视频 View 上面,叠加一个 ScrollView,滑动过程中,视频中断,在 iOS10 下面正常。
现在是调用 replaceVideoWithURL 就会自动缓冲,有没有办法来控制 不让他缓冲,比如用手机流量的时候,调用暂停好像也会缓冲,那样不是也废流量
Some video source split the whole video to many flv segments, I tried merge it to a hls format m3u8 file, but it play failed with Error
"Error Domain=ffmpeg code : -541478725, ffmpeg msg : End of file Code=2 "(null)"
I see MPV provide an "edl protocol" to play segments like edl://f1.flv;f2.flv
Is there any similar solution for SGPlayer?
I tried merge to m3u8 format like below, but seems hls didn't accept flv video codec.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-ALLOW-CACHE:NO
#EXT-X-TARGETDURATION:400
#EXTINF:348.859,
http://samplesite/f1.flv
#EXTINF:381.301,
http://samplesite/f2.flv
#EXT-X-ENDLIST
有时候有全景图片 怎么播放出来?
如题,感谢开发如此好用的库~
祝好~
RTSP video plays faster, then buffering for 3 seconds. This is infinite loop.
How to make it play with normal speed?
How to change frame rate?
大神,加速和慢速播放功能有了吗?
大部分插图只能看到上半部分
Hey good work!
GPL license have some issue on iOs platform
http://www.fsf.org/blogs/licensing/more-about-the-app-store-gpl-enforcement
https://forums.developer.apple.com/thread/18922
Thanks
看现有代码没有倍速的实现,近期会有这个工程的实现吗
看到介绍页面多出许多格式,如果系统自带支持就不用把ffmpeg包括进来,只pod界面就可以了。
Hi,
I am considering use SGPlayer in my app. But some urls from our server in icloud like google driver, dropbox,... SGPlayer can not play, example this url "https://doc-0k-0g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/8o5e04j9vvg4ka137sb1tqskcah4jfjn/1503964800000/10881491144528811151/*/0B3yDNrNFBYlJckxxNlFfZm5DTGs". I test another urls not from icloud very good.
Pls tell me What I am wrong?
Hi libobjc, good work 👍
I find one issue.
I try SGPlayer today and It works perfectly on my iPhone 6 and iPhone 6s.
But when I install demo app on iPhone 5, 5s iOS 9 and play RTMP url, this app quickly received memory warning and app crashes, only crashes when play RTMP.
I switch to use HLS url, this app play video streaming ok.
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.