FORUMS: list search recent posts

How to reduce audio frequency in mp3 format through FFMPEG

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
moahammad yazdian
How to reduce audio frequency in mp3 format through FFMPEG
on Oct 25, 2014 at 6:37:35 am

I want to reduce audio bitrate of my movie in FFMPEG when I use libmp3lame -b:a 16k -ac 1 -ar 44100 it works correctly but when I reduce those to libmp3lame -b:a -16k -ac 1 -ar 8000 I get the error:


Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input


please advise me how to reduce audio frequency from 44100 to 8000 mp3lame.

The following code is working


ffmpeg -re -ss 00:30:00 -i j:\movie\need4speed.mp4 -preset ultrafast -threads 1 -vcodec libx264 -b:v 20000k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 10265*4320 -acodec libmp3lame -b:a 16k -ac 1 -ar 44100 -f flv rtmp://12.11.1.2/livepkgr/need4speed4320p?adbe-live-event=liveevent


The following code **IS NOT** working


ffmpeg -re -ss 00:30:00 -i j:\movie\need4speed.mp4 -preset ultrafast -threads 1 -vcodec libx264 -b:v 20000k -r 24 -g 24 -keyint_min 4 -x264opts "keyint=4:min-keyint=48:no-scenecut" -s 10265*4320 -acodec libmp3lame -b:a 16k -ac 1 -ar 8000 -f flv rtmp://12.11.1.2/livepkgr/need4speed4320p?adbe-live-event=liveevent


Thanks


Return to posts index

Lou Logan
Re: How to reduce audio frequency in mp3 format through FFMPEG
on Oct 28, 2014 at 7:13:43 pm

You should always include the complete console output from each command.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]