[FFmpeg-devel] [PATCH 4/4] aacdec_usac: skip coeff decoding if the number to be decoded is 0

2024-06-05 Thread Lynne via ffmpeg-devel
e, 0, N); +return 0; +} + +ff_aac_ac_init(&ac, gb); + /* Backup reader for rolling back by 14 bits at the end */ gb2 = *gb; gb_count = get_bits_count(&gb2); -- 2.43.0.381.gb435a96ce8 ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH v13 15/15] avcodec/hw_base_encode: avoid getting FFHWBaseEncodeContext from avctx

2024-06-05 Thread Lynne via ffmpeg-devel
x 96acd414af..eac9be82b0 100644 --- a/libavcodec/vaapi_encode_vp9.c +++ b/libavcodec/vaapi_encode_vp9.c @@ -309,7 +309,7 @@ const FFCodec ff_vp9_vaapi_encoder = { .p.id = AV_CODEC_ID_VP9, .priv_data_size = sizeof(VAAPIEncodeVP9Context), .init = &vaapi_encod

Re: [FFmpeg-devel] [PATCH v13 15/15] avcodec/hw_base_encode: avoid getting FFHWBaseEncodeContext from avctx

2024-06-06 Thread Lynne via ffmpeg-devel
On 06/06/2024 08:46, Wu, Tong1 wrote: From: ffmpeg-devel On Behalf Of Lynne via ffmpeg-devel Sent: Thursday, June 6, 2024 2:11 PM To: [email protected] Cc: Lynne Subject: Re: [FFmpeg-devel] [PATCH v13 15/15] avcodec/hw_base_encode: avoid getting FFHWBaseEncodeContext from avctx On 03/06

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-06-07 Thread Lynne via ffmpeg-devel
ature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-06-07 Thread Lynne via ffmpeg-devel
On 07/06/2024 17:22, Wu, Tong1 wrote: From: ffmpeg-devel On Behalf Of Lynne via ffmpeg-devel Sent: Friday, June 7, 2024 11:10 PM To: [email protected] Cc: Lynne Subject: Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer On 03/06/2024

Re: [FFmpeg-devel] [PATCH v10] avcodec: add farbfeld encoder, decoder and demuxer

2024-06-07 Thread Lynne via ffmpeg-devel
On 07/06/2024 21:33, Marcus B Spencer wrote: On Friday, June 7th, 2024 at 1:12 PM, Lynne via ffmpeg-devel wrote: Since the "codec" is essentially just raw data, you should just make the demuxer output native RGBA64, and the muxer accept RGBA64. There's no reason to have

Re: [FFmpeg-devel] [PATCH 4/4] lavu/riscv: use Zbb CLZ/CTZ/CLZW/CTZW at run-time

2024-06-08 Thread Lynne via ffmpeg-devel
log2_rv +#define ff_log2_16bit ff_log2_rv + static inline av_const int av_popcount_rv(unsigned int x) { #if HAVE_RV && !defined(__riscv_zbb) Could you add a ./configure flag or a check for enabling non-dynamic Zbb? OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-06-09 Thread Lynne via ffmpeg-devel
On 07/06/2024 18:48, Lynne wrote: On 07/06/2024 17:22, Wu, Tong1 wrote: From: ffmpeg-devel On Behalf Of Lynne via ffmpeg-devel Sent: Friday, June 7, 2024 11:10 PM To: [email protected] Cc: Lynne Subject: Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from

Re: [FFmpeg-devel] [PATCH] lavu/hwcontext_vulkan: Support write on drm frame

2024-06-11 Thread Lynne via ffmpeg-devel
upported, due to missing modifier support. Once Vulkan encode is added, this should be updated with ENCODE_SRC, but hopefully I'll remember to take care of that. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature __

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-06-14 Thread Lynne via ffmpeg-devel
On 12/06/2024 10:44, Wu, Tong1 wrote: From: ffmpeg-devel On Behalf Of Lynne via ffmpeg-devel Sent: Monday, June 10, 2024 10:01 AM To: FFmpeg development discussions and patches Cc: Lynne Subject: Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base

[FFmpeg-devel] [PATCH] avformat/aeadec, avcodec/atrac1: Fix 8 and 4-channel ATRAC1 support

2024-06-14 Thread asivery via ffmpeg-devel
->bit_rate = 146000 * channels; -if (channels != 1 && channels != 2) { +if (channels < 1 || channels > 8) { av_log(s, AV_LOG_ERROR, "Channels %d not supported!\n", channels); return AVERROR_INVALIDDATA; } -- 2.34.1 ___

[FFmpeg-devel] [PATCH 1/6] aacdec_usac: apply specification fix M55715

2024-06-16 Thread Lynne via ffmpeg-devel
ts(gb, 4); ue1->scale_factor_grouping = ue2->scale_factor_grouping = get_bits(gb, 7); -- 2.45.1.288.g0e0cd299f1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 2/6] aac: expose ff_aac_sample_rate_idx() in aac.h

2024-06-16 Thread Lynne via ffmpeg-devel
= avctx->ch_layout.nb_channels; ac->oc[1].m4ac.sbr = -1; -- 2.45.1.288.g0e0cd299f1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 3/6] aacdec_ac: fix an overread

2024-06-16 Thread Lynne via ffmpeg-devel
- 2.45.1.288.g0e0cd299f1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 4/6] aacdec_usac: rename noise_scale to noise_bands

2024-06-16 Thread Lynne via ffmpeg-devel
;sbr.dflt.limiter_bands = 2; -- 2.45.1.288.g0e0cd299f1 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 5/6] aacdec_usac: remove custom rate_idx and use standard variable for it

2024-06-16 Thread Lynne via ffmpeg-devel
ff_aac_num_swb_1024[sampling_index]; } -ics->tns_max_bands = ff_tns_max_bands_usac_1024[usac->rate_idx]; +ics->tns_max_bands = ff_tns_max_bands_usac_1024[sampling_index]; ics->group_len[0] = 1; ics->num_window_groups = 1; -- 2.45.1.288.g0e0cd299f1 _

[FFmpeg-devel] [PATCH 6/6] aacdec_usac, aacsbr: implement SBR support for USAC

2024-06-16 Thread Lynne via ffmpeg-devel
* @name Variables associated with bs_header_extra_2 * @{ @@ -196,18 +202,18 @@ struct SpectralBandReplication { ///First coefficient used to filter the subband signals DECLARE_ALIGNED(16, INTFLOAT, alpha1)[64][2]; ///Dequantized envelope scalefactors, remapped -AAC_FLOAT e_origmapped[7][48]; +AAC_FLOAT e_origmapped[8][48]; ///Dequantized noise scalefactors, remapped -AAC_FLOAT q_mapped[7][48]; +AAC_FLOAT q_mapped[8][48]; ///Sinusoidal presence, remapped -uint8_ts_mapped[7][48]; +uint8_ts_mapped[8][48]; ///Estimated envelope -AAC_FLOAT e_curr[7][48]; +AAC_FLOAT e_curr[8][48]; ///Amplitude adjusted noise scalefactors -AAC_FLOAT q_m[7][48]; +AAC_FLOAT q_m[8][48]; ///Sinusoidal levels -AAC_FLOAT s_m[7][48]; -AAC_FLOAT gain[7][48]; +AAC_FLOAT s_m[8][48]; +AAC_FLOAT gain[8][48]; DECLARE_ALIGNED(32, INTFLOAT, qmf_filter_scratch)[5][64]; AVTXContext *mdct_ana; av_tx_fn mdct_ana_fn; -- 2.45.1.288.g0e0cd299f1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 6/6] aacdec_usac, aacsbr: implement SBR support for USAC

2024-06-17 Thread Lynne via ffmpeg-devel
OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

Re: [FFmpeg-devel] [PATCH 6/6] aacdec_usac, aacsbr: implement SBR support for USAC

2024-06-17 Thread Lynne via ffmpeg-devel
ectly take into account encoder SBR delay signalled via MP4. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpe

Re: [FFmpeg-devel] [RFC] 5 year plan & Inovation

2024-06-18 Thread Lynne via ffmpeg-devel
y OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 6/6] aacdec_usac, aacsbr: implement SBR support for USAC

2024-06-19 Thread Lynne via ffmpeg-devel
nly /** * @name Variables associated with bs_header_extra_2 * @{ @@ -196,18 +202,18 @@ struct SpectralBandReplication { ///First coefficient used to filter the subband signals DECLARE_ALIGNED(16, INTFLOAT, alpha1)[64][2]; ///Dequantized envelope scalefactor

[FFmpeg-devel] [PATCH] lavu/stereo3d: change baseline and horizontal FOV to rationals

2024-06-22 Thread Lynne via ffmpeg-devel
--git a/tests/ref/fate/mov-spherical-mono b/tests/ref/fate/mov-spherical-mono index b108596350..87f10cd879 100644 --- a/tests/ref/fate/mov-spherical-mono +++ b/tests/ref/fate/mov-spherical-mono @@ -5,9 +5,9 @@ type=2D inverted=0 view=packed primary_eye=none -baseline=0 +baseline=0/0 horizontal_disparit

Re: [FFmpeg-devel] [PATCH] lavu/stereo3d: change baseline and horizontal FOV to rationals

2024-06-22 Thread Lynne via ffmpeg-devel
On 22/06/2024 22:19, James Almer wrote: On 6/22/2024 5:11 PM, Lynne via ffmpeg-devel wrote: This avoids hardcoding any implementation-specific limitiations as part of the API, and allows for future expandability. This also allows API users to more conveniently convert the values into floats

Re: [FFmpeg-devel] [PATCH] lavu/stereo3d: change baseline and horizontal FOV to rationals

2024-06-22 Thread Lynne via ffmpeg-devel
On 22/06/2024 23:30, James Almer wrote: On 6/22/2024 6:26 PM, Lynne via ffmpeg-devel wrote: On 22/06/2024 22:19, James Almer wrote: On 6/22/2024 5:11 PM, Lynne via ffmpeg-devel wrote: This avoids hardcoding any implementation-specific limitiations as part of the API, and allows for future

Re: [FFmpeg-devel] [PATCH 6/6] aacdec_usac, aacsbr: implement SBR support for USAC

2024-06-23 Thread Lynne via ffmpeg-devel
///Dequantized envelope scalefactors, remapped -    AAC_FLOAT  e_origmapped[7][48]; +    AAC_FLOAT  e_origmapped[8][48];   ///Dequantized noise scalefactors, remapped -    AAC_FLOAT  q_mapped[7][48]; +    AAC_FLOAT  q_mapped[8][48];   ///Sinusoidal presence, remapped -    uint8_t    s_mapped[7][48]; +    uint8_t    s_mapped[8][48];   ///Estimated envelope -    AAC_FLOAT  e_curr[7][48]; +    AAC_FLOAT  e_curr[8][48];   ///Amplitude adjusted noise scalefactors -    AAC_FLOAT  q_m[7][48]; +    AAC_FLOAT  q_m[8][48];   ///Sinusoidal levels -    AAC_FLOAT  s_m[7][48]; -    AAC_FLOAT  gain[7][48]; +    AAC_FLOAT  s_m[8][48]; +    AAC_FLOAT  gain[8][48];   DECLARE_ALIGNED(32, INTFLOAT, qmf_filter_scratch)[5][64];   AVTXContext   *mdct_ana;   av_tx_fn   mdct_ana_fn; I'll wait 2 more days before merging this patch, but I'll push the other 5 fix/prep patches tomorrow. Last patch pushed. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v2] lavu/stereo3d: change the horizontal FOV field to a rational

2024-06-23 Thread Lynne via ffmpeg-devel
7,7 @@ view=packed primary_eye=none baseline=0 horizontal_disparity_adjustment=0/1 -horizontal_field_of_view=0 +horizontal_field_of_view=0/1 [/SIDE_DATA] [SIDE_DATA] side_data_type=Spherical Mapping -- 2.45.1.288.g0e0cd299f1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] lavu/stereo3d: change baseline and horizontal FOV to rationals

2024-06-23 Thread Lynne via ffmpeg-devel
On 23/06/2024 13:05, Derek Buitenhuis wrote: On 6/22/2024 9:11 PM, Lynne via ffmpeg-devel wrote: The API was committed 2 days ago, so changing these fields now is within the realms of acceptable. --- You also had weeks to comment on 3 revisions of the set, and it would have been nice to hear

Re: [FFmpeg-devel] [PATCH v2] lavu/stereo3d: change the horizontal FOV field to a rational

2024-06-24 Thread Lynne via ffmpeg-devel
On 24/06/2024 17:51, Derek Buitenhuis wrote: On 6/24/2024 1:13 AM, James Almer wrote: If Derek is also ok with this then LGTM. I do not object. - Derek ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg

Re: [FFmpeg-devel] [PATCH] fftools/ffplay_renderer: use correct NULL value for Vulkan type

2024-06-24 Thread Lynne via ffmpeg-devel
________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/aac/aacdec_usac: Test ac in usac

2024-06-25 Thread Lynne via ffmpeg-devel
OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/aac/aacdec_usac: Test ac in usac

2024-06-25 Thread Lynne via ffmpeg-devel
On 26/06/2024 01:57, Michael Niedermayer wrote: On Wed, Jun 26, 2024 at 01:35:18AM +0200, Lynne via ffmpeg-devel wrote: On 24/06/2024 01:01, Michael Niedermayer wrote: ff_aac_usac_config_decode() needs AACDecContext to be set but some callers pass NULL. I have no real testcase to implement

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/aac/aacdec_usac: Test ac in usac

2024-06-26 Thread Lynne via ffmpeg-devel
On 26/06/2024 21:45, Andreas Rheinhardt wrote: Lynne via ffmpeg-devel: On 26/06/2024 01:57, Michael Niedermayer wrote: On Wed, Jun 26, 2024 at 01:35:18AM +0200, Lynne via ffmpeg-devel wrote: On 24/06/2024 01:01, Michael Niedermayer wrote: ff_aac_usac_config_decode() needs AACDecContext to be

[FFmpeg-devel] [RFC] patch for LTS release

2024-06-27 Thread jfrederich via ffmpeg-devel
Hello, we have found a minor bug in dshow.c that we would like to submit as a patch. Is it possible to submit a patch for 5.1.x LTS? Do I have to consider anything special for this? Best regards Jens ___ ffmpeg-devel mailing list ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2] avcodec/aacdec_lpd: remove unused local variables

2024-06-27 Thread Lynne via ffmpeg-devel
k += (1 << (mod[k] - 1)); -first_tcx_flag = 0; } } Sorry, missed this patch, LGTM. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___________ ff

[FFmpeg-devel] [PATCH] lavc/hevcdsp_qpel_neon: using movi.16b instead of movi.2d

2023-11-14 Thread xufuji456 via ffmpeg-devel
{v16.2s}, [x2] // dither_state sxtlv16.2d, v16.2s -moviv29.2d, #0 +moviv29.16b, #0 moviv30.2d, #(1<https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ

[FFmpeg-devel] [PATCH 1/2] avformat/flvenc: support enhanced flv PacketTypeMetadata

2023-11-15 Thread zhupengfei via ffmpeg-devel
; // previous tag size +flv->write_metadata_pkt = 1; +} + static int unsupported_codec(AVFormatContext *s, const char* type, int codec_id) { @@ -878,6 +1035,7 @@ static int flv_write_packet(AVFormatContext *s, AVPacket *pkt) memcpy(par->extradata, side, side_size); flv_write_codec_header(s, par, pkt->dts); } +flv_write_metadata_packet_if_needed(s, par, pkt->dts); } if (flv->delay == AV_NOPTS_VALUE) -- 2.42.1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 2/2] avformat/flvdec: support enhanced flv PacketTypeMetadata

2023-11-15 Thread zhupengfei via ffmpeg-devel
int ret = flv_parse_video_color_info(s, st, next); +av_log(s, AV_LOG_INFO, "enhanced flv parse metadata ret %d and skip\n", ret); +} +goto skip; +} else if ((flags & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_VIDEO_INFO_CMD) {

[FFmpeg-devel] [PATCH 2/2] avcodec/amd: fix pict_type, match it with amf & ffmpeg. add sps pps when frame->keyframe

2023-11-15 Thread reito via ffmpeg-devel
res = ctx->encoder->pVtbl->SubmitInput(ctx->encoder, (AMFData*)surface); if (res == AMF_INPUT_FULL) { // handle full queue -- 2.38.1.windows.1 -- 这封电子邮件已由 Avast 防病毒软件检查过病毒。 www.avast.com _______ ffmpeg-devel mailing list ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/qsv: add sps pps header whenframe->key_frame is true

2023-11-18 Thread Reito via ffmpeg-devel
Hi, I'm new to here, what else should I do to finish this patch? Also, does another patch (PATCH 2/2 avcodec/amf) also need your signature?  Thanks 发自我的iPhone -- Original -- From: Michael Niedermayer https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

[FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-04 Thread xufuji456 via ffmpeg-devel
Name] UTF8String], strlen(ctx->audio_filename))) { -- 2.32.0 (Apple Git-132) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avdevice/avfoundation: replace AVCaptureDevice with new api

2023-12-05 Thread xufuji456 via ffmpeg-devel
NSArray *devices = getDevicesWithMediaType(AVMediaTypeAudio); for (AVCaptureDevice *device in devices) { if (!strncmp(ctx->audio_filename, [[device localizedName] UTF8String], strlen(ctx->audio_filename))) { -- 2.32.0 (Apple Git-132) __

[FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-06 Thread xufuji456 via ffmpeg-devel
vice *device in devices) { if (!strncmp(ctx->audio_filename, [[device localizedName] UTF8String], strlen(ctx->audio_filename))) { -- 2.32.0 (Apple Git-132) _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mai

[FFmpeg-devel] [PATCH] avdevice/avfoundation: replace deprecated AVCaptureDevice

2023-12-09 Thread xufuji456 via ffmpeg-devel
]; } else { -NSArray *devices = [AVCaptureDevice devicesWithMediaType:AVMediaTypeAudio]; +NSArray *devices = getDevicesWithMediaType(AVMediaTypeAudio); for (AVCaptureDevice *device in devices) { if (!strncmp(ctx->audio_filename, [[device localize

[FFmpeg-devel] [PATCH] avdevice/audiotoolbox: silence warning with new api

2023-12-09 Thread xufuji456 via ffmpeg-devel
ze(kAudioObjectSystemObject, &prop, 0, NULL, &data_size); if (check_status(avctx, &err, "AudioObjectGetPropertyDataSize devices")) return AVERROR(EINVAL); -- 2.32.0 (Apple Git-132) ___________ ffmpeg-devel mailing list f

[FFmpeg-devel] [PATCH] gdigrab: Allow capturing a window by its handle

2023-12-10 Thread Lena via ffmpeg-devel
quot;title=\" to specify your target.\n"); + "Please use \"desktop\", \"title=\" or \"hwnd=\" to specify your target.\n"); ret = AVERROR(EIO); goto error; } -- 2.43.0 ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] gdigrab: Allow capturing a window by its handle

2023-12-10 Thread Lena via ffmpeg-devel
I'm so sorry, will resend immediately. Andreas Rheinhardt via ffmpeg-devel: Lena via ffmpeg-devel: x11grab can capture windows by their ID, but gdigrab can only capture windows by their names, internally calling FindWindowW to lookup its handle. This patch simply allows the user to sp

Re: [FFmpeg-devel] [PATCH] gdigrab: Allow capturing a window by its handle

2023-12-10 Thread Lena via ffmpeg-devel
quot;title=\" to specify your target.\n"); + "Please use \"desktop\", \"title=\" or \"hwnd=\" to specify your target.\n"); ret = AVERROR(EIO); goto error; } -- 2.43.0 ___ ffmpeg-devel

[FFmpeg-devel] [PATCH v2] gdigrab: Allow capturing a window by its handle

2023-12-12 Thread Lena via ffmpeg-devel
rget.\n"); + "Please use \"desktop\", \"title=\" or \"hwnd=\" to specify your target.\n"); ret = AVERROR(EIO); goto error; } -- 2.43.0 _______ ffmpeg-devel mailing list ffmpeg

[FFmpeg-devel] [PATCH v3] gdigrab: Allow capturing a window by its handle

2023-12-14 Thread Lena via ffmpeg-devel
av_log(s1, AV_LOG_ERROR, - "Please use \"desktop\" or \"title=\" to specify your target.\n"); + "Please use \"desktop\", \"title=\" or \"hwnd=\" to specify your target.\n"); ret = AVERR

[FFmpeg-devel] [PATCH] avfilter/metal: fix compile below iOS 13

2023-12-16 Thread xufuji456 via ffmpeg-devel
*)) { if ([device supportsFamily:MTLGPUFamilyCommon3]) { MTLSize threadsPerGrid = MTLSizeMake(width, height, 1); [encoder dispatchThreads:threadsPerGrid threadsPerThreadgroup:threadsPerThreadgroup]; -- 2.39.3 (Apple Git-145) _______

[FFmpeg-devel] [PATCH v2 1/2] avformat/flvenc: support enhanced flv PacketTypeMetadata

2023-12-17 Thread zhupengfei via ffmpeg-devel
; +avio_tell(pb); +avio_skip(pb, total_size + 10 - 3); +avio_tell(pb); +avio_wb32(pb, total_size + 11); // previous tag size +flv->write_metadata_pkt = 1; + } +} + static int unsupported_codec(AVFormatContext *s, const char* type, int

[FFmpeg-devel] [PATCH v2 2/2] avformat/flvdec: support enhanced flv PacketTypeMetadata

2023-12-17 Thread zhupengfei via ffmpeg-devel
s & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_VIDEO_INFO_CMD) { goto skip; +} } else if (type == FLV_TAG_TYPE_META) { stream_type=FLV_STREAM_TYPE_SUBTITLE; if (size > 13 + 1 + 4) { // Header-type metadata stuff @@ -1287,6 +1458,11 @@ retry_duration: goto leave; } +if (enhanced_flv && stream_type == FLV_STREAM_TYPE_VIDEO && flv->meta_color_info_flag) { +flv_update_video_color_info(s, st); // update av packet side data +flv->meta_color_info_flag = 0; +} + if (st->codecpar->codec_id == AV_CODEC_ID_H264 || st->codecpar->codec_id == AV_CODEC_ID_MPEG4 || (st->codecpar->codec_id == AV_CODEC_ID_HEVC && type == PacketTypeCodedFrames)) { // sign extension -- 2.42.1 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v4] gdigrab: Allow capturing a window by its handle

2023-12-17 Thread Lena via ffmpeg-devel
r \"hwnd=\" to specify your target.\n"); ret = AVERROR(EIO); goto error; } -- 2.43.0 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] lavc/videotoolboxenc: add MJPEG support

2024-03-28 Thread gnattu via ffmpeg-devel
CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY | +AV_CODEC_CAP_HARDWARE, +.priv_data_size = sizeof(VTEncContext), +.p.pix_fmts = prores_pix_fmts, +.init = vtenc_init, +FF_CODEC_ENCODE_CB(vtenc_frame), +.close = vtenc_close, +.p.priv_class = &mjpeg

Re: [FFmpeg-devel] 7.0 Name

2024-04-03 Thread RaDSL via ffmpeg-devel
can resolve a tie if one occurs. Voltaire ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe&qu

[FFmpeg-devel] [PATCH] aacdec: restore arm32 dequantization optimizations

2024-05-11 Thread Lynne via ffmpeg-devel
" +#if ARCH_ARM +#include "libavcodec/arm/aac.h" +#endif + #ifndef VMUL2 static inline float *VMUL2(float *dst, const float *v, unsigned idx, const float *scale) -- 2.43.0.381.gb435a96ce8 ___________ ffmpeg-devel ma

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/lpc: copy levenson coeffs only when they have been computed

2024-05-11 Thread Lynne via ffmpeg-devel
ht place to fix this. _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/lpc: copy levenson coeffs only when they have been computed

2024-05-11 Thread Lynne via ffmpeg-devel
On 12/05/2024 02:18, Michael Niedermayer wrote: On Sun, May 12, 2024 at 02:13:06AM +0200, Lynne via ffmpeg-devel wrote: On 12/05/2024 02:03, Michael Niedermayer wrote: Fixes: CID1473514 Uninitialized scalar variable Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] [PATCH] avcodec/aacenc_tns: remove unreachable code branch

2024-05-12 Thread Lynne via ffmpeg-devel
than just dead code here? quantize_coefs(&coefs[oc_start], tns->coef_idx[w][g], tns->coef[w][g], tns->order[w][g], c_bits); oc_start += tns->order[w][g]; -os_start += tns->length[w][g]; }

Re: [FFmpeg-devel] [PATCH 6/8 v2] x86/flacdsp: add a SSE2 version of wasted32

2024-05-12 Thread Lynne via ffmpeg-devel
-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] aacdec: restore arm32 dequantization optimizations

2024-05-13 Thread Lynne via ffmpeg-devel
On 13/05/2024 12:13, Martin Storsjö wrote: On Sat, 11 May 2024, Lynne via ffmpeg-devel wrote: Unintentionally removed as part of 03cf10164578aed33f4d0cb5b69d63669c01a538. Untested, but its assumed that unlike most of the old ARM code, this one was still working. --- libavcodec/aac

Re: [FFmpeg-devel] [PATCH] Revert "lavc/sbrdsp: R-V V neg_odd_64"

2024-05-13 Thread Lynne via ffmpeg-devel
ription: OpenPGP digital signature ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v3 2/2] avcodec: add external dec libvvdec for H266/VVC

2024-05-14 Thread Lynne via ffmpeg-devel
/libvvdec.c I would prefer to have this one skipped, as initially suggested. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected]

[FFmpeg-devel] [PATCH] aacdec: move from scalefactor ranged arrays to flat arrays

2024-05-14 Thread Lynne via ffmpeg-devel
+ac->fdsp->vector_fmul_scalar(coef1 + group * 128 + offsets[sfb], + coef0 + group * 128 + offsets[sfb], + scale, + offsets[sfb + 1] - offsets[sfb]); #endif /* USE_FIXED */ -} -} else { -int bt_run_end = sce1->band_type_run_end[idx]; -idx += bt_run_end - i; -i= bt_run_end; } } coef0 += ics->group_len[g] * 128; -- 2.43.0.381.gb435a96ce8 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v4 3/4] all: Link to "context" from all contexts with documentation

2024-05-15 Thread Lynne via ffmpeg-devel
public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 0/8] aacdec: add a native xHE-AAC decoder

2024-05-16 Thread Lynne via ffmpeg-devel
ate mode 100644 libavcodec/aac/aacdec_lpd.c create mode 100644 libavcodec/aac/aacdec_lpd.h create mode 100644 libavcodec/aac/aacdec_usac.c create mode 100644 libavcodec/aac/aacdec_usac.h -- 2.43.0.381.gb435a96ce8 _______ ffmpeg-devel mailing list ffmpeg-devel@f

[FFmpeg-devel] [PATCH 1/8] aacdec: move from scalefactor ranged arrays to flat arrays

2024-05-16 Thread Lynne via ffmpeg-devel
scale, -offsets[i + 1] - offsets[i]); +ac->fdsp->vector_fmul_scalar(coef1 + group * 128 + offsets[sfb], + coef0 + group * 128 + offsets[sfb], +

[FFmpeg-devel] [PATCH 3/8] aacdec: expose decode_tns

2024-05-16 Thread Lynne via ffmpeg-devel
____ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 2/8] aacdec: expose channel layout related functions

2024-05-16 Thread Lynne via ffmpeg-devel
nnel_config(AACDecContext *ac, AVCodecContext *avctx, + uint8_t (*layout_map)[3], + int *tags, + int channel_config); + +int ff_aac_output_configure(AACDecContext *ac, + uint8_t la

[FFmpeg-devel] [PATCH 4/8] aacdec_dsp: implement 768-point transform and windowing

2024-05-16 Thread Lynne via ffmpeg-devel
ine_window_init_fixed(int *window, int n) static av_cold void init_sine_windows_fixed(void) { +sine_window_init_fixed(sine_96_fixed, 96); sine_window_init_fixed(sine_120_fixed, 120); sine_window_init_fixed(sine_128_fixed, 128); sine_window_init_fixed(sine_480_fixed, 480); sine

[FFmpeg-devel] [PATCH 5/8] aactab: add deemphasis tables for USAC

2024-05-16 Thread Lynne via ffmpeg-devel
ff_aac_float_common_init(void); -- 2.43.0.381.gb435a96ce8 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 6/8] aactab: add tables for the new USAC arithmetic coder

2024-05-16 Thread Lynne via ffmpeg-devel
___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Add support for A_ATRAC/AT1

2024-02-11 Thread asivery via ffmpeg-devel
RROR(ENOMEM); > > > + } else if (codec_id == AV_CODEC_ID_ATRAC1) { > > > + st->codecpar->block_align = track->audio.channels * 212; / Constant > > > ATRAC frame size */ > > > } else if (codec_id == AV_CODEC_ID_FLAC && track->codec_priv.size) { >

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Add support for A_ATRAC/AT1

2024-02-12 Thread asivery via ffmpeg-devel
I've attached the updated patch. Both new entries are now placed in an alphabetically correct way in their appropriate lists. On Monday, February 12th, 2024 at 11:53 AM, Andreas Rheinhardt wrote: > asivery via ffmpeg-devel: > > > I apologize for not having responded

[FFmpeg-devel] [PATCH] libavformat/rtpenc_jpeg.c: Added support for DRI frames in MJPEG RTP packetization

2024-02-19 Thread rayjay via ffmpeg-devel
, restart_interval); +bytestream_put_byte(&p, 0xff); +bytestream_put_byte(&p, 0xff); +} + if (off == 0 && nb_qtables) { /* set quantization tables header */ bytestream_put_byte(&p, 0); -- 2.40.0.windows.1 ___

[FFmpeg-devel] [PATCH] avfilter: add vf_overlay_videotoolbox

2024-02-20 Thread gnattu via ffmpeg-devel
.type = AVMEDIA_TYPE_VIDEO, +.config_props = config_input, +}, +{ +.name = "overlay", +.type = AVMEDIA_TYPE_VIDEO, + .config_props = config_input, +}, +}; + +static const AVFilterPad overlay_videotoolbox_outputs[] = { +{ +.name = &q

[FFmpeg-devel] [PATCH v2] Overlay filter for VideoToolbox hwframes. Unlike most hardware overlay filters, this filter does not require the two inputs to have the same pixel format; instead, it will pe

2024-02-20 Thread gnattu via ffmpeg-devel
), -CVPixelBufferGetHeightOfPlane(pixbuf, plane), +width, +height, plane, &tex ); -- 2.39.3 (Apple Git-145) _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v2] avfilter: add vf_overlay_videotoolbox

2024-02-20 Thread gnattu via ffmpeg-devel
OfPlane(pixbuf, plane), +width, +height, plane, &tex ); -- 2.39.3 (Apple Git-145) _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v3] avfilter: add vf_overlay_videotoolbox

2024-02-20 Thread gnattu via ffmpeg-devel
fs); + +static const AVFilterPad overlay_videotoolbox_inputs[] = { +{ + .name = "main", +.type = AVMEDIA_TYPE_VIDEO, +}, +{ +.name = "overlay", +.type = AVMEDIA_TYPE_VIDEO, +}, +}; + +static const AVFilterPad overlay_videotoolbox_outputs[] = { +{ +.name = "default", +.type = AVMEDIA_TYPE_VIDEO, +.config_props = config_output, +}, +}; + +const AVFilter ff_vf_overlay_videotoolbox = { +.name = "overlay_videotoolbox", +.description= NULL_IF_CONFIG_SMALL("Overlay filter for VideoToolbox frames using Metal compute"), +.priv_size = OVERLAY_VT_CTX_SIZE, +.priv_class = &overlay_videotoolbox_class, +.init = overlay_videotoolbox_init, +.uninit = overlay_videotoolbox_uninit, +.activate = overlay_videotoolbox_activate, +.preinit= overlay_videotoolbox_framesync_preinit, +FILTER_SINGLE_PIXFMT(AV_PIX_FMT_VIDEOTOOLBOX), +FILTER_INPUTS(overlay_videotoolbox_inputs), +FILTER_OUTPUTS(overlay_videotoolbox_outputs), +.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, +}; -- 2.39.3 (Apple Git-145) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] hwcontext_videotoolbox: add vt_device_derive

2024-02-22 Thread gnattu via ffmpeg-devel
le Git-145) _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] hwcontext_videotoolbox: add vt_device_derive

2024-02-22 Thread ChenLiucheng via ffmpeg-devel
to upload to the OpenCL device without `device_derive` set if it comes after an OpenCL filter. > On Feb 23, 2024, at 03:28, Mark Thompson wrote: > > On 22/02/2024 18:46, gnattu via ffmpeg-devel wrote: >> There is no device context to be setup, nor devices to be >> selec

[FFmpeg-devel] [PATCH v4] avfilter: add vf_overlay_videotoolbox

2024-02-27 Thread gnattu via ffmpeg-devel
rlay_videotoolbox, OverlayVideoToolboxContext, fs); + +static const AVFilterPad overlay_videotoolbox_inputs[] = { +{ +.name = "main", +.type = AVMEDIA_TYPE_VIDEO, +}, +{ +.name = "overlay", +.type = AVMEDIA_TYPE_VIDEO, +}, +}; + +static const AVFilterPad overlay_videotoolbox_outputs[] = { +{ +.name = "default", +.type = AVMEDIA_TYPE_VIDEO, +.config_props = config_output, +}, +}; + +const AVFilter ff_vf_overlay_videotoolbox = { +.name = "overlay_videotoolbox", +.description= NULL_IF_CONFIG_SMALL("Overlay filter for VideoToolbox frames using Metal compute"), +.priv_size = OVERLAY_VT_CTX_SIZE, +.priv_class = &overlay_videotoolbox_class, +.init = overlay_videotoolbox_init, +.uninit = overlay_videotoolbox_uninit, +.activate = overlay_videotoolbox_activate, +.preinit= overlay_videotoolbox_framesync_preinit, +FILTER_SINGLE_PIXFMT(AV_PIX_FMT_VIDEOTOOLBOX), +FILTER_INPUTS(overlay_videotoolbox_inputs), +FILTER_OUTPUTS(overlay_videotoolbox_outputs), +.flags_internal = FF_FILTER_FLAG_HWFRAME_AWARE, +}; -- 2.39.3 (Apple Git-145) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v4 1/3] avformat/flvdec: support enhanced flv PacketTypeMetadata

2024-03-02 Thread zhupengfei via ffmpeg-devel
s & FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_VIDEO_INFO_CMD) { goto skip; +} } else if (type == FLV_TAG_TYPE_META) { stream_type=FLV_STREAM_TYPE_SUBTITLE; if (size > 13 + 1 + 4) { // Header-type metadata stuff @@ -1287,6 +1458,11 @@ retry_duration: goto leave; } +if (enhanced_flv && stream_type == FLV_STREAM_TYPE_VIDEO && flv->meta_color_info_flag) { +flv_update_video_color_info(s, st); // update av packet side data +flv->meta_color_info_flag = 0; +} + if (st->codecpar->codec_id == AV_CODEC_ID_H264 || st->codecpar->codec_id == AV_CODEC_ID_MPEG4 || (st->codecpar->codec_id == AV_CODEC_ID_HEVC && type == PacketTypeCodedFrames)) { // sign extension -- 2.44.0 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v4 2/3] avformat/flvenc: support enhanced flv PacketTypeMetadata

2024-03-02 Thread zhupengfei via ffmpeg-devel
etadata_size_pos - 10; +avio_seek(pb, metadata_size_pos, SEEK_SET); +avio_wb24(pb, total_size); +avio_tell(pb); +avio_skip(pb, total_size + 10 - 3); +avio_tell(pb); +avio_wb32(pb, total_size + 11); // previous tag size +flv->write_metadata_pkt = 1; +

[FFmpeg-devel] [PATCH v4 3/3] fate/flvenc: support enhanced flv PacketTypeMetadata

2024-03-02 Thread zhupengfei via ffmpeg-devel
ull +++ b/tests/ref/lavf-fate/hevc.flv @@ -0,0 +1,3 @@ +eca3b99e846e509c6957260b1ce4d82d *tests/data/lavf-fate/lavf.hevc.flv +11784 tests/data/lavf-fate/lavf.hevc.flv +tests/data/lavf-fate/lavf.hevc.flv CRC=0xd29da885 -- 2.44.0 _______ ffmpeg-devel maili

Re: [FFmpeg-devel] [PATCH v4 2/3] avformat/flvenc: support enhanced flv PacketTypeMetadata

2024-03-02 Thread zhupengfei via ffmpeg-devel
> 2024年3月2日 22:59,Andreas Rheinhardt 写道: > > zhupengfei via ffmpeg-devel: >> From: Zhu Pengfei <[email protected]> >> >> Signed-off-by: Zhu Pengfei <[email protected]> >> --- >> libavformat/flvenc.c | 142 ++

[FFmpeg-devel] [PATCH v5 1/3] avformat/flvdec: support enhanced flv PacketTypeMetadata

2024-03-04 Thread zhupengfei via ffmpeg-devel
amp; FLV_VIDEO_FRAMETYPE_MASK) == FLV_FRAME_VIDEO_INFO_CMD) { goto skip; +} } else if (type == FLV_TAG_TYPE_META) { stream_type=FLV_STREAM_TYPE_SUBTITLE; if (size > 13 + 1 + 4) { // Header-type metadata stuff @@ -1287,6 +1457,11 @@ retry_duration: goto leave; } +if (enhanced_flv && stream_type == FLV_STREAM_TYPE_VIDEO && flv->meta_color_info_flag) { +flv_update_video_color_info(s, st); // update av packet side data +flv->meta_color_info_flag = 0; +} + if (st->codecpar->codec_id == AV_CODEC_ID_H264 || st->codecpar->codec_id == AV_CODEC_ID_MPEG4 || (st->codecpar->codec_id == AV_CODEC_ID_HEVC && type == PacketTypeCodedFrames)) { // sign extension -- 2.44.0 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v5 2/3] avformat/flvenc: support enhanced flv PacketTypeMetadata

2024-03-04 Thread zhupengfei via ffmpeg-devel
_size_pos - 10; +avio_seek(pb, metadata_size_pos, SEEK_SET); +avio_wb24(pb, total_size); +avio_skip(pb, total_size + 10 - 3); +avio_wb32(pb, total_size + 11); // previous tag size +flv->metadata_pkt_written = 1; + } +} + static int unsupported_codec(AV

[FFmpeg-devel] [PATCH v5 3/3] fate/flvenc: support enhanced flv PacketTypeMetadata

2024-03-04 Thread zhupengfei via ffmpeg-devel
ull +++ b/tests/ref/lavf-fate/hevc.flv @@ -0,0 +1,3 @@ +eca3b99e846e509c6957260b1ce4d82d *tests/data/lavf-fate/lavf.hevc.flv +11784 tests/data/lavf-fate/lavf.hevc.flv +tests/data/lavf-fate/lavf.hevc.flv CRC=0xd29da885 -- 2.44.0 _______ ffmpeg-devel maili

[FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-08 Thread asivery via ffmpeg-devel
index b04b43cab3..1a50181447 100644 --- a/libavformat/allformats.c +++ b/libavformat/allformats.c @@ -46,6 +46,7 @@ extern const FFOutputFormat ff_adts_muxer; extern const AVInputFormat ff_adx_demuxer; extern const FFOutputFormat ff_adx_muxer; extern const AVInputFormat ff_aea_demuxer; +extern const

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-08 Thread asivery via ffmpeg-devel
Apologies for my oversight. I've attached the new patch. - asivery On Friday, March 8th, 2024 at 12:22 PM, Andreas Rheinhardt wrote: > asivery via ffmpeg-devel: > > > diff --git a/libavformat/allformats.c b/libavformat/allformats.c > > index b04b43cab3..1a50

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-08 Thread asivery via ffmpeg-devel
; asivery via ffmpeg-devel: > > > +typedef struct { > > + int block_count; > > +} AeaMuxerContext; > > + > > +static int aea_init(AVFormatContext *s) > > +{ > > + AeaMuxerContext *c = s->priv_data; > > + c->block_count = 0; > > >

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-09 Thread asivery via ffmpeg-devel
uncated to UINT32_MAX if needed. Is there anything else that needs changes? - asivery On Saturday, March 9th, 2024 at 1:06 PM, Andreas Rheinhardt wrote: > asivery via ffmpeg-devel: > > > +#include "libavutil/intreadwrite.h" > > +#include "libavutil/avstri

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-09 Thread asivery via ffmpeg-devel
I see, I've changed title_length to size_t, but left the warning as is to inform the user in case truncation needs to take place. On Saturday, March 9th, 2024 at 6:48 PM, Andreas Rheinhardt wrote: > asivery via ffmpeg-devel: > > > + const char *title_contents = t

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-10 Thread asivery via ffmpeg-devel
24-03-09 17:20:49 +, ffmpeg-devel Mailing List wrote: > > > Thank you both for the suggestions. I've updated the code as requested, and > > I apologize for the AV_LOG_WARNING instead of AV_LOG_ERROR - it was an > > oversight on my part. > > I have also added

Re: [FFmpeg-devel] [PATCH] avformat/aea: Add aea muxer

2024-03-12 Thread asivery via ffmpeg-devel
Thank you Stefano Sabatini and Andreas Rheinhardt - you guys have the patience of saints. On Tuesday, March 12th, 2024 at 11:27 AM, Stefano Sabatini wrote: > On date Sunday 2024-03-10 16:10:15 +0100, Stefano Sabatini wrote: > > > On date Sunday 2024-03-10 14:20:12 +0000, ffmpeg-d

Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base layer

2024-07-02 Thread Lynne via ffmpeg-devel
On 15/06/2024 18:05, Tong Wu wrote: From: ffmpeg-devel On Behalf Of Lynne via ffmpeg-devel Sent: Monday, June 10, 2024 10:01 AM To: FFmpeg development discussions and patches Cc: Lynne Subject: Re: [FFmpeg-devel] [PATCH v13 06/15] avcodec/vaapi_encode: move the dpb logic from VAAPI to base

Re: [FFmpeg-devel] [PATCH] avcodec/aacdec_usac: Fix array size

2024-07-02 Thread Lynne via ffmpeg-devel
-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 11/11] avcodec/aac/aacdec_usac: Remove check for impossible sbr_ratio

2024-07-02 Thread Lynne via ffmpeg-devel
.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/aaccoder_twoloop: remove unread max scaler

2024-07-02 Thread Lynne via ffmpeg-devel
} Thanks, pushed both patches. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/l

<    1   2   3   4   5   6   7   8   9   10   >