From: Marton Balint <cus@passwd.hu> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH v2 9/9] avformat/pcm: decrease target audio frame per sec to 10 Date: Thu, 14 Mar 2024 23:04:00 +0100 (CET) Message-ID: <80cb4f84-da1a-0c65-5271-f174f28cfd67@passwd.hu> (raw) In-Reply-To: <ca09d0bc-0b64-4e63-a578-a85d34d37f05@noa-archive.com> On Thu, 14 Mar 2024, Tobias Rapp wrote: > On 08/03/2024 01:53, Marton Balint wrote: > >> This makes the wav and pcm demuxer demux bigger packets, which is more >> efficient. >> [...] >> +0, 136000, 136000, 2000, 24000, >> f952be1e1c7d48acd73d652ef4ea3aad >> +0, 138000, 138000, 2000, 24000, >> e42cbabef9d9675429dcb6fa28ce39f4 >> +0, 140000, 140000, 2000, 24000, >> 9c6613b980bcbe9ebacbb6a492f53b16 >> +0, 142000, 142000, 2000, 24000, >> 1882d1ae4b08fa7cc848eba60d645463 >> +0, 144000, 144000, 2000, 24000, >> a361b56ba31c90557689631f0e7afc63 >> +0, 146000, 146000, 2000, 24000, >> 341fbe24112c4060bb643750895a9041 >> +0, 148000, 148000, 2000, 24000, >> 38340ef2ef764bb8007efe9cd0af54d7 >> +0, 150000, 150000, 2000, 24000, >> 9b013a00bbedad211ba33326a3cfaa6e >> +0, 152000, 152000, 2000, 24000, >> 9d3469da4442cdfd2b8a5beacb789701 >> +0, 154000, 154000, 2000, 24000, >> cf8e3880ecb46011328135dba1015044 >> +0, 156000, 156000, 2000, 24000, >> 3be9fa7d0e0541269339ee032bda4021 >> +0, 158000, 158000, 2000, 24000, >> ffd2646acf86524651416bc412afd846 >> +0, 160000, 160000, 2000, 24000, >> 715163d8f82f007b1b6c42b06bd08b5a >> +0, 162000, 162000, 1840, 22080, >> c2079a237d021d7aa27e44acf979b1f0 > > Noob question: Isn't a much larger total number of samples produced here? The command line which generates the daud file specifies -frames:a 20, and 20 from bigger packets will cause a longer output file. > > Also it might be good to mention in the commit that the audio duration is > less exact when using commands like "ffmpeg -i $INPUT -c:a copy -t 1.0 > $OUTPUT". Ok, will add this to the commit message. Regards, Marton _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2024-03-14 22:04 UTC|newest] Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top 2024-03-05 22:51 [FFmpeg-devel] [PATCH 1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list Marton Balint 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 2/9] avcodec/bsf/pcm_rechunk: add some more supported PCM formats Marton Balint 2024-03-06 14:18 ` Stefano Sabatini 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 3/9] avformat/daudenc: force 2000 sample packet size with a bsf Marton Balint 2024-03-06 14:24 ` Stefano Sabatini 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 4/9] fate: make filter-channelsplit test use a fixed frame size Marton Balint 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 5/9] fate: use a fixed wav demux packet size for amix tests Marton Balint 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 6/9] fate: use atrim filter instead of -frames:a 20 for fate-filter-tremolo Marton Balint 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 7/9] avformat/pcm: use a common default packet size function for both wav and pcm Marton Balint 2024-03-06 20:37 ` Michael Niedermayer 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 8/9] avformat/pcm: remove max samples cap when calculating the default packet size Marton Balint 2024-03-05 22:51 ` [FFmpeg-devel] [PATCH 9/9] avformat/pcm: decrease target audio frame per sec to 10 Marton Balint 2024-03-06 13:47 ` [FFmpeg-devel] [PATCH 1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list Stefano Sabatini 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 " Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 2/9] avcodec/bsf/pcm_rechunk: add some more supported PCM formats Marton Balint 2024-03-09 16:21 ` Stefano Sabatini 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 3/9] avformat/daudenc: force 2000 sample packet size with a bsf Marton Balint 2024-03-09 16:23 ` Stefano Sabatini 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 4/9] fate: make filter-channelsplit test use a fixed frame size Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 5/9] fate: use a fixed wav demux packet size for amix tests Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 6/9] fate: use atrim filter instead of -frames:a 20 for fate-filter-tremolo Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 7/9] avformat/pcm: factorize and improve determining the default packet size Marton Balint 2024-03-12 21:31 ` Marton Balint 2024-03-14 23:18 ` [FFmpeg-devel] [PATCH v3 " Marton Balint 2024-03-16 8:45 ` Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 8/9] avformat/wavdec: use ff_pcm_default_packet_size for " Marton Balint 2024-03-08 0:53 ` [FFmpeg-devel] [PATCH v2 9/9] avformat/pcm: decrease target audio frame per sec to 10 Marton Balint 2024-03-14 8:10 ` Tobias Rapp 2024-03-14 11:12 ` Paul B Mahol 2024-03-14 22:30 ` Marton Balint 2024-03-17 12:44 ` Paul B Mahol 2024-03-14 22:04 ` Marton Balint [this message] 2024-03-15 7:54 ` Tobias Rapp 2024-03-09 16:20 ` [FFmpeg-devel] [PATCH v2 1/9] avcodec/bsf/pcm_rechunk: reorder supported codec list Stefano Sabatini
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=80cb4f84-da1a-0c65-5271-f174f28cfd67@passwd.hu \ --to=cus@passwd.hu \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git