Comments (5)
can you send a link to some mp4 file that is showing this problem ?
we have been using this module on hundreds of thousands of videos and haven't experienced any out of sync, so maybe your videos are encoded in some special way that causes it.
you can also send it to me in private if you prefer - eran.kornblau at kaltura dot com
from nginx-vod-module.
I checked it out, this is caused because the audio track in this mp4 is 0.7 behind the video track.
When I initially looked at this, I guessed this was the problem, but didn't see it since for some reason mediainfo does not report it correctly:
root@pa-front-stg2 ~# mediainfo kingsway_20150830_b48b38.mp4 | grep relative
Delay relative to video : 66ms
ffprobe is showing it correctly:
root@pa-front-stg2 ~# /web/content/shared/bin/ffmpeg-2.1.3-bin/ffprobe-2.1.3.sh -i kingsway_20150830_b48b38.mp4 -show_packets -select_streams a 2>/dev/null | grep pts_time | head -1
pts_time=0.700000
root@pa-front-stg2 ~# /web/content/shared/bin/ffmpeg-2.1.3-bin/ffprobe-2.1.3.sh -i kingsway_20150830_b48b38.mp4 -show_packets -select_streams v 2>/dev/null | grep pts_time | head -1
pts_time=0.000000
I need to add parsing of the elst mp4 atom in order to extract this info, will add it to the todo
from nginx-vod-module.
Nice! Thanks so much for checking that out. I'll just keep an eye on this thread for the update.
from nginx-vod-module.
Hi @scalhoun,
Sorry for the very long delay, and thanks for your patience.
I pushed a fix to this issue here: #190.
The fix eliminates most of the out of sync issue, I say 'most' and not 'all' since in the sample you sent me, the audio track is delayed by 0.7 sec while the video track is ahead by 0.06 sec. The code currently supports only positive shifts, so it will apply a shift of 0.7 sec while it should actually apply 0.76 sec, but this is far less disturbing than how it used to be.
Eran
from nginx-vod-module.
Sweet thanks!
--
Shane Calhoun
Sent with Airmail
On December 6, 2015 at 11:22:58 AM, erankor ([email protected]) wrote:
Closed #142.
—
Reply to this email directly or view it on GitHub.
from nginx-vod-module.
Related Issues (20)
- MP4 is seen as WebM HOT 3
- Watch time ? HOT 1
- different DRM encryption keys for different videos under HLS HOT 2
- Subtitle without a DEFAULT=YES, AUTOSELECT=YES HOT 13
- Proxy to already encrypted widevine mpd dash streams
- Does the nginx-vod-module support ClearKey with an external key server for HLS and DASH? HOT 4
- Does this package use ffmpeg for Repackaging? HOT 5
- something in each request with CDN HOT 2
- Schedule live stream from mp4 HOT 12
- Error compiling nginx-vod-module with nginx-1.24.0 HOT 2
- Centos7 vs Almalinux8 (Centos8) Kaltura packages repo
- Video shifts on auto quality hls change HOT 1
- HLS playback fails when using the master playlist HOT 1
- How does it work?
- Audio sync to external audio track
- Thumbnails in interlaced video with vod_thumb_accurate_positioning off
- Non-stop loading of repetitive segments HOT 1
- Multiple audio tracks in one segment HOT 1
- how to add extra info to the extinf tag? HOT 1
- Audio / Video sync issue : 2 frames ahead of video 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 nginx-vod-module.