[FFmpeg-user] filter_complex: concat an image to a video, but ALSO xfade

2021-09-22 Thread Arif Driessen
Hi guys, What I have: [0:0] = thumbnail.png [1:0] = aevalsrc="-2+random(0)" (white noise) [2:0][2:1] = IN_VIDEO.avi (mono audio track) What I want: - [0:0] and [1:0] to play/loop unmodified for ${FADE_IN_DURATION_SECONDS} - THEN [0:0] will xfade into [2:0] - (however this

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Carl Zwanzig
On 9/22/2021 6:08 AM, Ashtiani wrote: lame : Unsupported data format: 0x0701 Can't init infile 'input.wav' Please tell us _exactly_ what program or device has created these files. Stop "top-posting" on this list, see the list FAQ or google for more into. z! ___

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
lame : Unsupported data format: 0x0701 Can't init infile 'input.wav' On Wed, Sep 22, 2021 at 4:06 PM Reindl Harald wrote: > > > Am 22.09.21 um 14:09 schrieb Ashtiani: > > It is created by a type of recorder but I need to play it in My Web > > Application . > > browser just support webm, mp3 and

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Reindl Harald
Am 22.09.21 um 14:40 schrieb Paul B Mahol: On Wed, Sep 22, 2021 at 2:36 PM Reindl Harald wrote: Am 22.09.21 um 14:09 schrieb Ashtiani: It is created by a type of recorder but I need to play it in My Web Application . browser just support webm, mp3 and ogg format :( i wouldn't use ffmpe

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Paul B Mahol
On Wed, Sep 22, 2021 at 2:36 PM Reindl Harald wrote: > > > Am 22.09.21 um 14:09 schrieb Ashtiani: > > It is created by a type of recorder but I need to play it in My Web > > Application . > > browser just support webm, mp3 and ogg format :( > > i wouldn't use ffmpeg for mp3 conversion to begin wi

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Reindl Harald
Am 22.09.21 um 14:09 schrieb Ashtiani: It is created by a type of recorder but I need to play it in My Web Application . browser just support webm, mp3 and ogg format :( i wouldn't use ffmpeg for mp3 conversion to begin with [harry@srv-rhsoft:~]$ lame --help LAME 64bits version 3.100 (http:

[FFmpeg-user] Audio to video

2021-09-22 Thread Vax
I am trying to create an audio responsive bar based on the audio file. Like this one: [image: image.png] All I figured out is this command: *ffmpeg -i output.mp3 -filter_complex "[0:a] ahistogram=s=1024x200,format=yuv420p[v]" -map "[v]" -map 0:a ahistogram.mp4*[image: image.png] I will really appr

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
It is created by a type of recorder but I need to play it in My Web Application . browser just support webm, mp3 and ogg format :( On Wed, Sep 22, 2021 at 3:34 PM Paul B Mahol wrote: > On Wed, Sep 22, 2021 at 1:57 PM Ashtiani > wrote: > > > yes the sound is correct and play with MPC-HC

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Paul B Mahol
On Wed, Sep 22, 2021 at 1:57 PM Ashtiani wrote: > yes the sound is correct and play with MPC-HC > player ; > Format : Wave > File size : 356 KiB > Duration : 1 min 50 s > Overall bit rate : 26.4

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
yes the sound is correct and play with MPC-HC player ; Format : Wave File size : 356 KiB Duration : 1 min 50 s Overall bit rate : 26.4 kb/s Audio Format : 701 Codec ID

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Paul B Mahol
On Wed, Sep 22, 2021 at 1:22 PM Ashtiani wrote: > thanks paul : > > *" ffplay -avcodec adpcm_ima_oki input.wav" : * > Failed to set value 'adpcm_ima_oki' for option 'avcodec': Option not found > Sorry, i meant acodec. not avcodec. > > > *"ffmpeg -c:a adpcm_ima_oki -i input.wav out.mp3"* > ff

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
thanks paul : *" ffplay -avcodec adpcm_ima_oki input.wav" : * Failed to set value 'adpcm_ima_oki' for option 'avcodec': Option not found *"ffmpeg -c:a adpcm_ima_oki -i input.wav out.mp3"* ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (GCC) configuration:

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Paul B Mahol
On Wed, Sep 22, 2021 at 11:06 AM Arif Driessen wrote: > Looking at your output it looks like it can't figure out what your > input.wav is. Does your wav file work in other applications? Have you tried > increasing the value for 'analyzeduration'? > If you know the details you could manually speci

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
output of ffprobe is : * ffprobe input.wav*ffprobe version 4.4 Copyright (c) 2007-2021 the FFmpeg developers built with gcc 8 (GCC) configuration: --arch=x86_64 --bindir=/usr/bin --datadir=/usr/share/ffmpeg --disable-debug --disable-static --disable-stripping --enable-avcodec --enable-avdevic

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Ashtiani
thanks for reply I try these codecs in my linux the result is : *"ffmpeg -acodec pcm_s16le -i input.wav out.mp3" : * [pcm_s16le @ 0x1103940] Multiple frames in a packet. 0x [pcm_s16le @ 0x1103940] Invalid PCM packet, data has size 2 but at least a size of 4 was expected Error while decoding str

Re: [FFmpeg-user] need help to convert wav to mp3

2021-09-22 Thread Arif Driessen
Looking at your output it looks like it can't figure out what your input.wav is. Does your wav file work in other applications? Have you tried increasing the value for 'analyzeduration'? If you know the details you could manually specify them, something like: ffmpeg -acodec pcm_s16le -i input.wav o