Comments (11)
This sounds similar to an issue that was corrected. Ensure you are using the beta1 branch for testing. I will see if I can reproduce the issue.
from c2play.
No I use alpha3
On Sep 30, 2016 18:44, "OtherCrashOverride" [email protected]
wrote:
This sounds similar to an issue that was corrected. Ensure you are using
the beta1 branch for testing. I will see if I can reproduce the issue.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfTPTbDPPFYMfWXcxb1Y4aghEJetFYcks5qvS5agaJpZM4KLJ8h
.
from c2play.
Is it easy for you to fix it also in alpha3???
On Sep 30, 2016 18:59, "Δαμανάκης Ιωσήφ" [email protected] wrote:
No I use alpha3
On Sep 30, 2016 18:44, "OtherCrashOverride" [email protected]
wrote:This sounds similar to an issue that was corrected. Ensure you are using
the beta1 branch for testing. I will see if I can reproduce the issue.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfTPTbDPPFYMfWXcxb1Y4aghEJetFYcks5qvS5agaJpZM4KLJ8h
.
from c2play.
I checked and the fix should be present in alpha3
26e34c8
The alpha3 branch is no longer supported since beta1 is now available.
from c2play.
Hi
I tested with beta1 and the problem is still there.
Thank you.
from c2play.
If you press pause play or seek jast few seconds before the video end then the error is reproduced. Try it.
from c2play.
If it happens with play/pause that helps to narrow down the scope. What is the media container you are seeing this happen with (avi/mp4/mkv/ts)?
from c2play.
Mp4
On Oct 4, 2016 02:00, "OtherCrashOverride" [email protected] wrote:
If it happens with play/pause that helps to narrow down the scope. What is
the media container you are seeing this happen with (avi/mp4/mkv/ts)?—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#10 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFfTPYav4FW6u9b5Y2xlNSRL7X5zpg5mks5qwYkIgaJpZM4KLJ8h
.
from c2play.
I will investigate this further when time permits.
from c2play.
This commits displays the media duration making it easier to reliably test and reproduce this issue:
cfbfa9a
To reproduce, get the "Duration:" output and use it as a parameter for playback.
./c2play-x11 YourMediaFile.mp4 -t 0.0
Substitute a value less than duration for the "-t" parameter. Testing shows that if the time is near the end (within seconds) of the stream, playback may not occur or the player may get stuck.
This bug is not trivial to correct. It can be worked around by testing your media file using the above method and avoiding seeks to durations past a known working duration.
from c2play.
I have identified the cause of the lock-ups. It happens when streams are badly muxed (such as for edits of live tv shows) causing an incorrect stream duration. Seeking to this duration failed but c2play was not terminated. This caused the player to continue to wait for data to arrive. The program will now throw an AVException when this condition happens.
The failure to display the last few seconds of a stream are due to av_seek_frame seeking past the last valid keyframe. The AVSEEK_FLAG_BACKWARD flag is now always used so that seeking will backup to the last valid key frame. Since this may be an I frame and not an IDR frame, its possible that nothing will be displayed or garbage will be seen. This is not a bug since the only valid seek points are IDR frames. Additionally, the codec extra data is now always sent at the start of a stream making it possible for the hardware to attempt decoding with only I frames.
This commit and the two prior resolve this issue:
d2b7264
from c2play.
Related Issues (20)
- MPEG-4 video hang HOT 6
- Sample MP4 file in readme. HOT 3
- Add support for looping. HOT 1
- Gapless looping HOT 2
- MPEG-4 video hang if no audio source HOT 5
- Output delay after start of decoding HOT 1
- [S805] Video and audio are out of sync when playing http stream HOT 8
- egl_render rendering planned ? HOT 3
- volume up/down support ? HOT 3
- Looping a video results in blank screen HOT 2
- Request: load subtitles from file
- ../../src/Media/MediaSourceElement.cpp:163:11: error: 'CODEC_ID_MPEG2VIDEO' was not declared in this scope case CODEC_ID_MPEG2VIDEO: HOT 1
- c2play/src/Media/os_support.h:30:10: fatal error: config.h: No such file or directory HOT 1
- fatal error: alsa/asoundlib.h: No such file or directory HOT 4
- Variable renderContext size HOT 1
- Open and close c2play often HOT 2
- c2play is usable for digital signage?
- .stamp_host_installed failed HOT 1
- While make c2play HOT 1
- how to get frame after decode 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 c2play.