[FFmpeg-trac] #5828(undetermined:open): Duration mismatch on opus to pcm conversion
FFmpeg
trac at avcodec.org
Wed Sep 7 02:29:06 EEST 2016
#5828: Duration mismatch on opus to pcm conversion
-------------------------------------+-------------------------------------
Reporter: skirhir | Owner:
Type: defect | Status: open
Priority: minor | Component:
Version: git-master | undetermined
Keywords: opus | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by TD-Linux):
You can adjust the fields in the Opus header without reencoding, however I
don't know of a tool (other than a hex editor) that supports this right
now.
There is basically no trimming at the beginning, which is a bit odd. Maybe
the problem lies in the tool you are using to create this opus file, or
maybe while writing the final WebM?
opusfile output:
{{{
New logical stream (#1, serial: 4846dc03): type opus
WARNING: Implausibly low preskip in Opus stream (1)
Encoded with Lavf57.48.101
User comments section follows...
language=eng
encoder=Lavf57.48.101
WARNING: Sample count ahead of granule (336960>336864) in stream 1
WARNING: Sample count ahead of granule (384960>384864) in stream 1
WARNING: Sample count ahead of granule (432960>432864) in stream 1
WARNING: Sample count ahead of granule (480960>480864) in stream 1
WARNING: Sample count ahead of granule (528960>528864) in stream 1
WARNING: Sample count ahead of granule (576960>576864) in stream 1
WARNING: Sample count ahead of granule (624960>624864) in stream 1
WARNING: Sample count ahead of granule (673920>673392) in stream 1
WARNING: Sample count ahead of granule (721920>721392) in stream 1
WARNING: Sample count ahead of granule (770880>770160) in stream 1
WARNING: Sample count ahead of granule (818880>818160) in stream 1
WARNING: Sample count ahead of granule (866880>866160) in stream 1
WARNING: Sample count ahead of granule (914880>914160) in stream 1
WARNING: Sample count ahead of granule (962880>962160) in stream 1
WARNING: Sample count ahead of granule (1010880>1010160) in stream 1
Opus stream 1:
Pre-skip: 48
Playback gain: 0 dB
Channels: 1
Original sample rate: 48000Hz
Packet duration: 20.0ms (max), 20.0ms (avg), 20.0ms (min)
Page duration: 1020.0ms (max), 976.4ms (avg), 420.0ms (min)
Total data length: 78978 bytes (overhead: 2.3%)
Playback length: 0m:21.463s
Average bitrate: 29.44 kb/s, w/o overhead: 28.76 kb/s
Logical stream 1 ended
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5828#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list