Comments (6)
@ValZapod, may I ask for your help here? For Edge of Tomorrow, FFmpeg actually has extra silence (about 4500 samples of it) prepending the audio. Where is this coming from?
from cavern.
The entire track is delayed by about 3 AC-3 frames. This is an E-AC-3 + JOC track. Making a copy to an E-AC-3 track only removed the 1536 samples of priming, but 3000 samples of silence of unknown origin still remains.
from cavern.
Yes, EAE.EXE USES 768 samples as priming.
I was talking about 3 frames (4608 samples), not just 3 blocks (768 samples). That's not relevant here. When Matroska has no additional codec delay, the default priming of 1536 samples is used. That is also the case here, as the 4608 samples of delay was reduced to 3072 after a track copy, but this silence is still present.
There may be an editlist (or equivalent for mkv) for video too.
Why is it present in the audio after extracting it? This silence even had to be encoded into the track, does FFmpeg do this if you export the audio of a track with video delay, with -c copy?
Removed? You mean added back into decoded sound.
No, removed. There was 3 frames of delay, now it's only 2.
from cavern.
It really looks like a video delay, that track is way longer, thanks.
Stream #0:0: Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x1600 [SAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn (default)
Metadata:
BPS : 8018868
DURATION : 01:53:27.801000000
NUMBER_OF_FRAMES: 163224
NUMBER_OF_BYTES : 6823857865
_STATISTICS_WRITING_APP: mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-09-05 20:42:02
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: eac3, 48000 Hz, 5.1(side), fltp, 576 kb/s (default)
Metadata:
title : English DDP Atmos 5.1
BPS : 576000
DURATION : 01:53:26.720000000
NUMBER_OF_FRAMES: 212710
NUMBER_OF_BYTES : 490083840
_STATISTICS_WRITING_APP: mkvmerge v70.0.0 ('Caught A Lite Sneeze') 64-bit
_STATISTICS_WRITING_DATE_UTC: 2022-09-05 20:42:02
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
EAC3 frame is 256 samples.
That's a block. Dolby and FFmpeg both call the 6-block sized superblock a frame. This is the same in the specification.
from cavern.
@ValZapod For all content I could find, PTS = DTS = 0, timestamps started at 0. Checking the EBML, this is correct, the frames had no offset. What EBML entry should I check for time alignment, where else could this extra 3000 samples of silence come from?
from cavern.
This isn't just affecting that movie. While many are fine, Cocaine Bear for example has 512 samples of added delay instead of 3072. If there's no other way to offset a file, I might just have to close this issue and just work on the muxer.
from cavern.
Related Issues (20)
- arm64 binary for downloads HOT 1
- Add ST 2098-2 Immersive Audio Bitstream HOT 6
- ASIO support HOT 3
- Weird artifacts when playing DD+ Atmos HOT 2
- Auto Crossover HOT 2
- Add 3.1.2 layout HOT 1
- Full 64-bit support for ADM BWF HOT 2
- Phase-reversal for allpass HOT 1
- Do you have plan for support AHT content? HOT 2
- Linux/PipeWire Support HOT 1
- Biquad editor WPF control and demo application HOT 1
- Documentation issues HOT 3
- Non-calibrated gains HOT 1
- QuickEQ new settings HOT 2
- Upmixers in the Demo Player HOT 1
- Missing export targets
- Gain warning pops up when it shouldn't
- Height virtualization on speakers HOT 1
- Linux QuickEQ Support HOT 1
- [REQ] Add a (GH-compliant) license file 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 cavern.