<div dir="rtl">Hello<br>What are ffmbeg commands to remove noise from the sound<br><div dir="ltr">thanks</div></div><br><div class="gmail_quote"><div dir="rtl" class="gmail_attr">‫في الأحد، 30 أغسطس 2020 في 9:18 ص تمت كتابة ما يلي بواسطة ‪Paul B Mahol‬‏ <‪<a href="mailto:onemda@gmail.com">onemda@gmail.com</a>‬‏>:‬<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/29/20, <a href="mailto:nji9@arcor.de" target="_blank">nji9@arcor.de</a> <<a href="mailto:nji9@arcor.de" target="_blank">nji9@arcor.de</a>> wrote:<br>
> For dev I'm using v. 4.3.1. and also the latest Git version of ffmpeg<br>
> (Zeranoe's Windows 64 builds).<br>
><br>
> I get "strange" problems when running the official example code for decoding<br>
> audio<br>
><br>
> <a href="https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_audio.c" rel="noreferrer" target="_blank">https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/decode_audio.c</a><br>
><br>
> MP3DirectCut(Lib-bass).mp3<br>
><br>
> <a href="http://www.mediafire.com/file/ozmjjcpwyhhdnr7/MP3DirectCut(Lib-bass).mp3/file" rel="noreferrer" target="_blank">http://www.mediafire.com/file/ozmjjcpwyhhdnr7/MP3DirectCut(Lib-bass).mp3/file</a><br>
><br>
> Generates pcm, but outputs:<br>
><br>
> "Warning: the sample format the decoder produced is planar (s16p).<br>
> This example will output the first channel only."<br>
><br>
> But the output pcm has both channels!??<br>
><br>
> When recoding the above mp3 to wav with ffmpeg (4.1.4, no error message)<br>
><br>
> <a href="http://www.mediafire.com/file/gcq7ryg43pd57q5/ffmpeg4.1.4.wav/file" rel="noreferrer" target="_blank">http://www.mediafire.com/file/gcq7ryg43pd57q5/ffmpeg4.1.4.wav/file</a><br>
><br>
> and also when recoding the latter to mp3 again<br>
><br>
> <a href="http://www.mediafire.com/file/ij865dkrprn2lta/ffmpeg4.1.4_recode.mp3/file" rel="noreferrer" target="_blank">http://www.mediafire.com/file/ij865dkrprn2lta/ffmpeg4.1.4_recode.mp3/file</a><br>
><br>
> the example code breaks and produces these error messages ("mp2 @ ..." also<br>
> for the wav file):<br>
><br>
> avcodec_send_packet ()<br>
> from within:<br>
> "[mp2 @ <someAddress>] Header missing"<br>
> and returns error code -1094995529<br>
> (= "Invalid data found when processing input")<br>
><br>
> It produces that error message for literally all other formats I tried, and<br>
> also when written with another editor (Audition 3.0).<br>
> But all the files play and show fine on all programs I have.<br>
><br>
> I'm at a lost at this point. What is going on and wrong here?<br>
<br>
Just because decode_audio does not skip ID3 metadata from start of<br>
later mp3 file.<br>
That is reasonably as program is just demonstration and not full blown solution.<br>
<br>
><br>
> _______________________________________________<br>
> Libav-user mailing list<br>
> <a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
> <a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>
> To unsubscribe, visit link above, or email<br>
> <a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br>
<a href="https://ffmpeg.org/mailman/listinfo/libav-user" rel="noreferrer" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br>
To unsubscribe, visit link above, or email<br>
<a href="mailto:libav-user-request@ffmpeg.org" target="_blank">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".</blockquote></div>