Comments (4)
I have also noticed problems using --pos with video files (AVC, MPEG2 / MKV, MP4). The symptoms are different, though.
It looks like the a/v seek from file is performed correctly and the video & audio decoders are positioned to seek position, but yet the clock starts from zero PTS (beginning of file). The result is that it will take 60 seconds before the playback starts, if "--pos 60" is used.
The following change fixed the problem for me. Your mp3 seems to play correctly with "--pos 60", too. My setup is git master + change below, raspbian wheezy, 512M Model B, 128M gpu_mem, so another difference is the amount of available memory.
--- a/omxplayer.cpp
+++ b/omxplayer.cpp
@@ -989,7 +989,7 @@ int main(int argc, char *argv[])
m_boost_on_downmix, m_thread_player, audio_queue_size, audio_fifo_size))
goto do_exit;
- m_av_clock->OMXStart(0.0);
+ m_av_clock->OMXStart(startpts);
m_av_clock->OMXPause();
m_av_clock->OMXStateExecute();
from omxplayer.
That fixed it for me, thanks very much!
from omxplayer.
Can you try now after updating?
from omxplayer.
Rebuilt from 6e7350f and it's fixed, thank you.
from omxplayer.
Related Issues (20)
- Playing audio to individual HDMI HOT 2
- Volume control while playing HOT 3
- install in other arm machine HOT 1
- Cannot play audio over bluetooth after reboot HOT 1
- Omxplayer and bluealsa
- DBus.Error.ServiceUnknown HOT 1
- Omxplayer with Argon One v2 ir remote
- Package 'libssl1.0-dev' has no installation candidate HOT 1
- when i make -j$(nproc),there have an error HOT 5
- omxplayer doesn't play live stream, playing local mp4 video works though HOT 1
- Will omxplayer stop working eventually? HOT 2
- DBUS Name Control problem HOT 1
- pi and sound HOT 1
- Any plans to adapt for Raspberry Pi 4?
- Fixes #939
- libva1 deprecated HOT 1
- omxplayer has 20s delay on raspberry pi live stream HOT 4
- OMXplayer freezes when trying to seek
- E: Package 'omxplayer' has no installation candidate HOT 1
- Compiling on Raspberry Pi 5 running Debian 12 32bits? 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.