Git Product home page Git Product logo

Comments (12)

popcornmix avatar popcornmix commented on August 16, 2024

Yes, I see it. I start the audio/video/clocks differently in xbmc, and that doesn't misbehave, so I'll try porting that scheme back to omxplayer.

from omxplayer.

torarin avatar torarin commented on August 16, 2024

Let me know if there is anything I can do to help.

from omxplayer.

popcornmix avatar popcornmix commented on August 16, 2024

The merge with xbmc's code has been problematic and was shelved a while back. (Playback stalled after seeking).
Had another go last night and got past that issue. The garbled audio issue did seem improved,
but passthrough was broken. Hopefully will be able to fix that soon.

from omxplayer.

torarin avatar torarin commented on August 16, 2024

Great, thanks for the update.

from omxplayer.

popcornmix avatar popcornmix commented on August 16, 2024

Can you try now after updating?

from omxplayer.

torarin avatar torarin commented on August 16, 2024

I don't notice a difference. Does the trailer seek OK for you?

from omxplayer.

popcornmix avatar popcornmix commented on August 16, 2024

It was fine at some point yesterday. It's not now...

from omxplayer.

popcornmix avatar popcornmix commented on August 16, 2024

Okay, try now. I'd lost the clock stopping code when flushing.

from omxplayer.

torarin avatar torarin commented on August 16, 2024

That fixes it, thanks!
Is there a reason for this change?

if(pts != DVD_NOPTS_VALUE)
-    m_av_clock->OMXMediaTime(pts);
+    m_av_clock->OMXMediaTime(0.0);

It makes subtitles reset to 0, which isn't a big deal, but not as nice as having the clock do one hop.

from omxplayer.

popcornmix avatar popcornmix commented on August 16, 2024

xbmc now uses OMXMediaTime(0.0) to mean clock not yet started.
Any user of OMXMediaTime should test for 0.0 and treat that as no information.
So subs should do nothing if OMXMediaTime()==0.0.

What's the issue ?
Is it if there is a sub that should display at pts=0 then it appears briefly when seeking? (which should be easy to suppress). Everything then recovers just after that.

Or is there something else going wrong?

from omxplayer.

torarin avatar torarin commented on August 16, 2024

I see. I'll figure out what to do with subtitles. I guess there are a few places in omxplayer.cpp where this should be taken into account as well, for instance, seeking twice within a short time span causes 0 to be used as the base time.

from omxplayer.

DirtyJerz avatar DirtyJerz commented on August 16, 2024

Was this issue ever resolved (seeking twice causes 0 as base time)?

from omxplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.