[FFmpeg-user] How to segment audio recording?

satya gowtham kudupudi satyagowtham.k at gmail.com
Thu Sep 12 10:07:22 CEST 2013


ffmpeg -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -acodec libmp3lame -map 0
-f segment -reset_timestamps 1 -segment_time 10
www/ferryplayer/Sounds/livevoice-%d.mp3

This worked :( This is not i want to do. I will post another question what
I actually want to do.


On Thu, Sep 12, 2013 at 1:28 PM, satya gowtham kudupudi <
satyagowtham.k at gmail.com> wrote:

> I am trying to record from usb mic into mp3 segments. I tried
>
> $ ffmpeg -f alsa -i "plughw:CARD=U0x46d0x825,DEV=0" -acodec libmp3lame -f
> segment -reset_timestamps 1 -segment_time 10
> www/ferryplayer/Sounds/livevoice-%d.mp3
> Guessed Channel Layout for  Input Stream #0.0 : stereo
> Input #0, alsa, from 'plughw:CARD=U0x46d0x825,DEV=0':
>   Duration: N/A, start: 1378972595.994891, bitrate: 1536 kb/s
>     Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
> Output #0, segment, to 'www/ferryplayer/Sounds/livevoice-%d.mp3':
> Output file #0 does not contain any stream
>
> help please...
> --
> *Gowtham*
>



-- 
*Gowtham*


More information about the ffmpeg-user mailing list