Open Osub opened 4 months ago
ffmpeg version 7.0 Copyright (c) 2000-2024 the FFmpeg developers built with Apple clang version 15.0.0 (clang-1500.1.0.2.5) configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.0 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopenvino --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100
const ffmpeg = require('fluent-ffmpeg'); const { Transform } = require('stream'); let dest = new Transform({ transform: (chunk, enc, next) => { console.log('chunk coming',chunk.length); next(null, chunk); } }).on('data', (data) => {}); let livestream_endpoint = 'https://svipsvip.ffzy-online5.com/20240516/27330_9f5869dd/2000k/hls/mixed.m3u8'; //sample m3u8 stream let command = ffmpeg(livestream_endpoint) .on('start', () => { console.log("ffmpeg : processing Started"); }) .on('progress', (progress) => { console.log('ffmpeg : Processing: ' + progress.targetSize + ' KB converted'); }) .on('end', () => { console.log('ffmpeg : Processing finished !'); }) .on('error', (err) => { console.log('ffmpeg : ffmpeg error :' + err.message); }) .noVideo() .audioCodec('flav') .format('flav') .output(dest) command.run();
(note: if the problem only happens with some inputs, include a link to such an input file)
ffmpeg : ffmpeg error :Output format flav is not available
wav / mp3/aac same error
@njoyard Old issue
Version information
Code to reproduce
(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
Observed results
ffmpeg : ffmpeg error :Output format flav is not available
Checklist
wav / mp3/aac same error