[FFmpeg-devel] [PATCH 7/9] avformat/pcm: use a common default packet size function for both wav and pcm
Michael Niedermayer
michael at niedermayer.cc
Wed Mar 6 22:37:04 EET 2024
On Tue, Mar 05, 2024 at 11:51:45PM +0100, Marton Balint wrote:
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
> libavformat/pcm.c | 38 ++++++++++++++++++++++++++------------
> libavformat/pcm.h | 1 +
> libavformat/wavdec.c | 11 ++---------
> 3 files changed, 29 insertions(+), 21 deletions(-)
breaks:
./ffmpeg -i H8Le.xmd -bitexact -f framecrc -
[in#0/xmd @ 0x55737c355980] Error during demuxing: Invalid argument
[aost#0:0/pcm_s16le @ 0x55737c35a0c0] No filtered frames for output stream, trying to initialize anyway.
#tb 0: 1/44100
#media_type 0: audio
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout_name 0: stereo
Output #0, framecrc, to 'pipe:':
Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
Metadata:
encoder : Lavc pcm_s16le
[out#0/framecrc @ 0x55737c357e80] video:0KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: unknown
[out#0/framecrc @ 0x55737c357e80] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
size= 0KiB time=N/A bitrate=N/A speed=N/A
file is here: https://0x0.st/H8Le.xmd
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240306/6d601a84/attachment.sig>
More information about the ffmpeg-devel
mailing list