Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2024-01-16 Thread Roy Funderburk
Updated to latest master changes.--- Begin Message --- Signed-off-by: Roy Funderburk --- Changelog | 1 + configure | 1 + doc/general_contents.texi | 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/dtshddec.c| 2

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-08-17 Thread Roy Funderburk
On 8/17/23 3:31 PM, Paul B Mahol wrote: > Is decoder part still missing or? This is just intended to read audio from a .dtsx file and output an mp4/mov file. There will not be a .dtsx to PCM decoder. Thanks, -Roy ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-08-17 Thread Paul B Mahol
Is decoder part still missing or? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-08-17 Thread Roy Funderburk
Updated for master branch changes. --- Begin Message --- Parsing of DTS-UHD input files per ETSI TS 102 114 is added as parser for codec id AV_CODEC_ID_DTSUHD. Signed-off-by: Roy Funderburk --- libavcodec/Makefile| 1 + libavcodec/codec_desc.c| 7 + libavcodec/codec_id.h |

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-20 Thread Roy Funderburk
On 6/18/23 5:18 AM, Paul B Mahol wrote: > Well, just keep that part as is currently, until someone else cleans it up. > > Can probing in new demuxer be smarter than just decreasing score of another > demuxer? A new patch is attached where the dtshddec.c probe function change is updated to no

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-18 Thread Paul B Mahol
On Thu, Jun 15, 2023 at 8:45 PM Roy Funderburk wrote: > > > On 6/15/23 8:46 AM, Paul B Mahol wrote: > > get_vlc2 can be made for get_bits_var(), first table bits (that are still > > int and not uint8_t), the code that picks table index from which to take > > bits. > > > > It is also possible to

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-15 Thread Roy Funderburk
On 6/15/23 8:46 AM, Paul B Mahol wrote: > get_vlc2 can be made for get_bits_var(), first table bits (that are still > int and not uint8_t), the code that picks table index from which to take > bits. > > It is also possible to make it take both first index and rest of it and > build bigger

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-15 Thread Paul B Mahol
On Wed, Jun 14, 2023 at 10:01 PM Roy Funderburk wrote: > Hi, > > I updated the libavcodec patch per Paul Mahol's reviews: > > dtsuhd_common.c:496 get_bits_long instead of get_bits used for reading 36 > bits > > dtsuhd_common.c:224 get_bits_var changed to accept arrays in VarBits > structure,

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-14 Thread Roy Funderburk
Hi, I updated the libavcodec patch per Paul Mahol's reviews: dtsuhd_common.c:496 get_bits_long instead of get_bits used for reading 36 bits dtsuhd_common.c:224 get_bits_var changed to accept arrays in VarBits structure, allowing arrays with all values less than 256 to use uint8_t arrays. Also

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-14 Thread Roy Funderburk
On 6/13/23 11:01 PM, Paul B Mahol wrote: > On Wed, Jun 14, 2023 at 7:37 AM Paul B Mahol wrote: > Also there is no reason to use int for elements in tables when max value > can be lower. > Current table reading/handling code should be completely rewritten to use > get_vlc2(). > And tables split

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-14 Thread Paul B Mahol
On Wed, Jun 14, 2023 at 8:06 AM Paul B Mahol wrote: > > > On Wed, Jun 14, 2023 at 8:01 AM Paul B Mahol wrote: > >> >> >> On Wed, Jun 14, 2023 at 7:37 AM Paul B Mahol wrote: >> >>> >>> >>> On Wed, Jun 14, 2023 at 2:00 AM Roy Funderburk >>> wrote: >>> On 6/13/23 11:35 AM, Paul B Mahol

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-14 Thread Paul B Mahol
On Wed, Jun 14, 2023 at 8:01 AM Paul B Mahol wrote: > > > On Wed, Jun 14, 2023 at 7:37 AM Paul B Mahol wrote: > >> >> >> On Wed, Jun 14, 2023 at 2:00 AM Roy Funderburk >> wrote: >> >>> >>> On 6/13/23 11:35 AM, Paul B Mahol wrote: >>> > Doing allocation in probe? >>> > Probing should be very

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-14 Thread Paul B Mahol
On Wed, Jun 14, 2023 at 7:37 AM Paul B Mahol wrote: > > > On Wed, Jun 14, 2023 at 2:00 AM Roy Funderburk > wrote: > >> >> On 6/13/23 11:35 AM, Paul B Mahol wrote: >> > Doing allocation in probe? >> > Probing should be very fast. >> >> In line 143 of the avformat patch, memory allocation is

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-13 Thread Paul B Mahol
On Wed, Jun 14, 2023 at 2:00 AM Roy Funderburk wrote: > > On 6/13/23 11:35 AM, Paul B Mahol wrote: > > Doing allocation in probe? > > Probing should be very fast. > > In line 143 of the avformat patch, memory allocation is removed from the > probe > > >>+int dtsuhd_frame(DTSUHD *h, const uint8_t

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-13 Thread Roy Funderburk
On 6/13/23 11:35 AM, Paul B Mahol wrote: > Doing allocation in probe? > Probing should be very fast. In line 143 of the avformat patch, memory allocation is removed from the probe >>+int dtsuhd_frame(DTSUHD *h, const uint8_t *data, size_t data_bytes, >>+DTSUHDFrameInfo *fi,

Re: [FFmpeg-devel] [PATCH] avformat/avcodec: Add DTS-UHD demuxer and parser, movenc support.

2023-06-13 Thread Paul B Mahol
On Fri, Apr 14, 2023 at 6:01 PM Roy Funderburk wrote: > Parsing and demuxing of DTS-UHD input files per ETSI TS 102 114 is added > as demuxer "dtsuhd". movenc supports DTS-UHD audio track. > > Signed-off-by: Roy Funderburk > --- > Changelog | 1 + > configure