[FFmpeg-user] How to segment audio recording?

satya gowtham kudupudi satyagowtham.k at gmail.com
Thu Sep 12 09:58:41 CEST 2013


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*


More information about the ffmpeg-user mailing list