Comments (6)
I have seen that assertion error before, but I can't for the life of me reproduce it now. In any case, it's a side effect of the old subtitle code which isn't used anymore, so I guess we should just rip that all out. The assert itself breaks the terminal because omxplayer's termios trickery isn't properly cleaned up.
See if this doesn't fix things: https://github.com/torarin/omxplayer/tree/remove_old
from omxplayer.
I wonder if @huceke could chime in on the following:
COMXCoreComponent::Deinitialize()
callsFlushAll
. Why? Changing state toOMX_StateIdle
should already flush buffers.COMXCoreComponent::DecoderEmptyBufferDone
andCOMXCoreComponent::DecoderFillBufferDone
don't push their buffers ifm_exit == true
. Presumably, this causes the assertion above to trigger. Why can't they push on deinitialization?- In
COMXCoreComponent::Deinitialize()
, why is the state set toOMX_StateIdle
twice, both before and afterFree(Input|Output)Buffers
?
from omxplayer.
Seems to do the trick!
from omxplayer.
I guess you would need to open a pull request to get @huceke's attention. I've been running this for several days without any problems.
from omxplayer.
I will, I just wanted to investigate it a bit further.
from omxplayer.
Anyone still seeing this? Can you post a sample file that causes it if you do?
from omxplayer.
Related Issues (20)
- Play audio in folder
- Delay in display
- Raspberry Pi 2, can't route audio to alsa:hw:1,0 HOT 1
- DVR h264 rtsp stream
- Synced display of multicast video
- subtitles problem (only first stroke is displayed)
- Controlling OMX player via UDP/network
- Possibility to change subtitles and ghost boxes color?
- Can't install on stretch HOT 2
- There is no video service select option in udp streaming in Omxplayer
- configurable seek time
- Audio-Video sync, av-delay request
- omxplayer plays at speed 2.0 when using a pipe HOT 3
- how to set z-order HOT 1
- play rtmp video sometimes fails HOT 2
- OMXplayer doesn't appear to support yuv444p videos HOT 2
- sound in omxplayer HOT 2
- Incorrect PCM 5.1 channel mapping HOT 1
- omxplayer freezes after running videos repeatedly on Pi3
- Omxplayer is not a available in apt source,and libWFC.so is missing. HOT 2
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 omxplayer.