[FFmpeg-trac] #6396(avformat:new): Wrong timestamps for raw flac streams
FFmpeg
trac at avcodec.org
Tue May 16 12:12:21 EEST 2017
#6396: Wrong timestamps for raw flac streams
-------------------------------------+-------------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: important | Component: avformat
Version: git- | Keywords: flac
master | regression
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
Raw flac streams show wrong timestamps since
e1fcd3a007591193891df1095f5263e9e5e71958
{{{
$ ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -write_header 0
out.flac
ffmpeg version N-86090-g376247a Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.1.0 (GCC)
configuration:
libavutil 55. 63.100 / 55. 63.100
libavcodec 57. 96.100 / 57. 96.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 89.101 / 6. 89.101
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'fate-
suite/svq3/Vertical400kbit.sorenson3.mov':
Metadata:
creation_time : 2001-03-20T16:17:18.000000Z
title : Vertical Online SV3 Demo
title-eng : Vertical Online SV3 Demo
artist : Logan Kelsey
artist-eng : Logan Kelsey
copyright : © Vertical Online 2001
copyright-eng : © Vertical Online 2001
encoder : Sorenson Video 3
encoder-eng : Sorenson Video 3
Duration: 00:00:43.58, start: 0.000000, bitrate: 580 kb/s
Stream #0:0(eng): Video: svq3 (SVQ3 / 0x33515653), yuvj420p(pc),
320x240, 391 kb/s, 30.02 fps, 30 tbr, 600 tbn, 600 tbc (default)
Metadata:
creation_time : 2001-03-20T16:17:18.000000Z
handler_name : Apple Alias Data Handler
encoder : Sorenson Video 3
Stream #0:1(eng): Audio: adpcm_ima_qt (ima4 / 0x34616D69), 44100 Hz,
mono, s16p, 176 kb/s (default)
Metadata:
creation_time : 2001-03-20T16:17:18.000000Z
handler_name : Apple Alias Data Handler
Stream mapping:
Stream #0:1 -> #0:0 (adpcm_ima_qt (native) -> flac (native))
Press [q] to stop, [?] for help
[adpcm_ima_qt @ 0x33416c0] Multiple frames in a packet.
Output #0, flac, to 'out.flac':
Metadata:
encoder : Lavf57.72.101
title : Vertical Online SV3 Demo
title-eng : Vertical Online SV3 Demo
artist : Logan Kelsey
artist-eng : Logan Kelsey
copyright : © Vertical Online 2001
copyright-eng : © Vertical Online 2001
Stream #0:0(eng): Audio: flac, 44100 Hz, mono, s16, 128 kb/s (default)
Metadata:
creation_time : 2001-03-20T16:17:18.000000Z
handler_name : Apple Alias Data Handler
encoder : Lavc57.96.100 flac
size= 2143kB time=00:00:43.57 bitrate= 403.0kbits/s speed= 301x
video:0kB audio:2143kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.000000%
}}}
{{{
$ ffmpeg -f flac -i out.flac -f null -
ffmpeg version N-86090-g376247a Copyright (c) 2000-2017 the FFmpeg
developers
built with gcc 7.1.0 (GCC)
configuration:
libavutil 55. 63.100 / 55. 63.100
libavcodec 57. 96.100 / 57. 96.100
libavformat 57. 72.101 / 57. 72.101
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 89.101 / 6. 89.101
libswscale 4. 7.101 / 4. 7.101
libswresample 2. 8.100 / 2. 8.100
Input #0, flac, from 'out.flac':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: flac, 44100 Hz, mono, s16
Stream mapping:
Stream #0:0 -> #0:0 (flac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
Metadata:
encoder : Lavf57.72.101
Stream #0:0: Audio: pcm_s16le, 44100 Hz, mono, s16, 705 kb/s
Metadata:
encoder : Lavc57.96.100 pcm_s16le
size=N/A time=00:00:21.40 bitrate=N/A speed=1.93e+03x
video:0kB audio:3753kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6396>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list