[FFmpeg-devel] [PATCH v2 0/3] DTS Express (LBR) decoder

foo86 foobaz86 at gmail.com
Mon May 9 19:36:28 CEST 2016


On Sun, May 01, 2016 at 03:30:27PM -0300, James Almer wrote:
> With the samples you shared and with a random lbr-in-wav mono sample i found
> in the wild i get the following when i try to do a codec copy.
> Core and every other DTS extension in contrast seem to set timestamps just
> fine.
> 
> #tb 0: 1/90000
> #media_type 0: audio
> #codec_id 0: dts
> #sample_rate 0: 48000
> #channel_layout 0: 60f
> Output #0, framecrc, to 'pipe:':
>     Stream #0:0: Audio: dts (DTS Express), 48000 Hz, 5.1(side), 505 kb/s
> Stream mapping:
>   Stream #0:0 -> #0:0 (copy)
> Press [q] to stop, [?] for help
> [framecrc @ 0000000000670100] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
> 0,          0,          0,        0,     5440, 0xdc73e46d
> 0,          0,          0,        0,     5440, 0x7f66bd99
> 0,          0,          0,        0,     5440, 0x116f2d31
> 0,          0,          0,        0,     5440, 0x37a82646
> 0,          0,          0,        0,     5440, 0xcc294e39
> 0,          0,          0,        0,     5440, 0x2293455d
> 0,          0,          0,        0,     5440, 0xbd9b25d3
> 0,          0,          0,        0,     5440, 0xf9331333
> 0,          0,          0,        0,     5440, 0xb96d5581
> 0,          0,          0,        0,     5440, 0x56f55088
> 0,          0,          0,        0,     5440, 0x32f81f50
> 0,          0,          0,        0,     5440, 0x8a0c986d
> 0,          0,          0,        0,     5440, 0x21615dea
> 0,          0,          0,        0,     5440, 0x5adc77e9
> 0,          0,          0,        0,     5440, 0x228e5088
> 0,          0,          0,        0,     5440, 0xd0029e27
> 0,          0,          0,        0,     5440, 0x472d4f33
> 0,          0,          0,        0,     5440, 0xdaff4ac1
> size=       1kB time=00:00:00.00 bitrate=N/A speed=   0x
> video:0kB audio:96kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Attached patch fixes timestamps for core-less DTS for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: set-duration-for-core-less-streams.patch
Type: text/x-diff
Size: 5620 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160509/51165880/attachment.patch>


More information about the ffmpeg-devel mailing list