Please accept my apology for putting a large size msg. I appreciate all the help received.
I have another example with similar behavior. The exact commands used are below. The detailed output is attached in this email. *command 1*: ffmpeg -i call.wav -af "volume=enable='between(t,0,1)':volume=0" output.wav *behaviour: *executed within a second, input file size 2.1 mb, output file size 176 mb *command 2*: ffmpeg -i call.wav -af "volume=enable='between(t,0,1)':volume=0" output.mp3 *behaviour: *executed time approx 40 seconds, input file size 2.1 mb, output file size 15 mb Thanks for the support. Regards, Shubham
~/Downloads/ffprobe -i call.wav ffprobe version 4.4.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2007-2021 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, ogg, from 'call.wav': Duration: 00:15:36.90, start: 0.000000, bitrate: 19 kb/s Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp ------------------------------------------------------------------------------------------------------------------------------------------------------ With WAV output ~/Downloads/ffmpeg -i call.wav -af "volume=enable='between(t,0,1)':volume=0" output.wav ffmpeg version 4.4.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, ogg, from 'call.wav': Duration: 00:15:36.90, start: 0.000000, bitrate: 19 kb/s Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp Stream mapping: Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native)) Press [q] to stop, [?] for help Output #0, wav, to 'output.wav': Metadata: ISFT : Lavf58.76.100 Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s Metadata: encoder : Lavc58.134.100 pcm_s16le [opus @ 0x7f78d8009800] Error parsing the packet header.peed= 609x Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f78d8009800] Error parsing the packet header. [opus @ 0x7f78d8009800] Too many errors when draining, this is a bug. Stop draining and force EOF. Error while decoding stream #0:0: Internal bug, should not have happened size= 175668kB time=00:15:36.87 bitrate=1536.0kbits/s speed= 608x video:0kB audio:175667kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000043% in-shtiwari@in-shtiwari temp % du -sh call.wav 2.1M call.wav in-shtiwari@in-shtiwari temp % du -sh output.wav 176M output.wav ------------------------------------------------------------------------------------------------------------------------------------------------------ With MP3 output in-shtiwari@in-shtiwari temp % ~/Downloads/ffmpeg -i call.wav -af "volume=enable='between(t,0,1)':volume=0" output.mp3 ffmpeg version 4.4.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2021 the FFmpeg developers built with Apple clang version 11.0.0 (clang-1100.0.33.17) configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100 Input #0, ogg, from 'call.wav': Duration: 00:15:36.90, start: 0.000000, bitrate: 19 kb/s Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp Stream mapping: Stream #0:0 -> #0:0 (opus (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help Output #0, mp3, to 'output.mp3': Metadata: TSSE : Lavf58.76.100 Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp Metadata: encoder : Lavc58.134.100 libmp3lame [opus @ 0x7f9678008800] Error parsing the packet header.peed=30.4x Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. Error while decoding stream #0:0: Invalid data found when processing input [opus @ 0x7f9678008800] Error parsing the packet header. [opus @ 0x7f9678008800] Too many errors when draining, this is a bug. Stop draining and force EOF. Error while decoding stream #0:0: Internal bug, should not have happened size= 14640kB time=00:15:36.88 bitrate= 128.0kbits/s speed=30.4x video:0kB audio:14640kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.001581% in-shtiwari@in-shtiwari temp % du -sh output.mp3 15M output.mp3 ------------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
