ffmpeg mp3 downsampling problem [Resolved]

Need help? Post your questions here.

Moderator: moderators

ffmpeg mp3 downsampling problem [Resolved]

Postby omer33 » Wed Jun 20, 2012 8:30 am

Hi,
I'm using the new 4.7-beta2 version on an feral hosting debian (no root access)

I left the downsampling command as the default: ffmpeg -i %s -ab %bk -v 0 -f mp3 -

The problem is when I try to downsample an mp3 (320) to a lower bitrate (128/96):

Code: Select all
DEBUG   TranscodeInputStream   Starting transcoder: [/../subsonic/transcode/ffmpeg] [-i] [/../music/Arcade Fire/The Suburbs/Ready To Start.mp3] [-ab] [160k] [-v] [0] [-f] [mp3] [-]
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) configuration: --extra-version=4:0.5.6-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libavutil 49.15. 0 / 49.15. 0
DEBUG   InputStreamReaderThread   (/../ffmpeg) libavcodec 52.20. 1 / 52.20. 1
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libavformat 52.31. 0 / 52.31. 0
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libavfilter 0. 4. 0 / 0. 4. 0
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libswscale 0. 7. 1 / 0. 7. 1
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) built on Dec 31 2011 16:14:46, gcc: 4.4.5
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Input #0, mp3, from '/../music/Arcade Fire/The Suburbs/Ready To Start.mp3':
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Duration: 00:03:20.95, start: 0.000000, bitrate: 320 kb/s
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Stream #0.0: Audio: mp3, 48000 Hz, stereo, s16, 320 kb/s
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Stream mapping:
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
DEBUG   InputStreamReaderThread   (/../subsonic/transcode/ffmpeg) Unsupported codec for output stream


Can anyone please help?
omer33
 
Posts: 4
Joined: Wed Jun 20, 2012 8:20 am

Re: ffmpeg mp3 downsampling problem

Postby BKKKPewsey » Wed Jun 20, 2012 10:03 am

Does any transcoding work?
Try to play a non mp3 or video (non flv)
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: ffmpeg mp3 downsampling problem

Postby omer33 » Wed Jun 20, 2012 11:46 am

I've tried transcoding from wma and m4a to mp3,
I get the same message
omer33
 
Posts: 4
Joined: Wed Jun 20, 2012 8:20 am

Re: ffmpeg mp3 downsampling problem

Postby omer33 » Fri Jun 22, 2012 7:30 am

Can anyone please help?
omer33
 
Posts: 4
Joined: Wed Jun 20, 2012 8:20 am

Re: ffmpeg mp3 downsampling problem

Postby BKKKPewsey » Fri Jun 22, 2012 11:29 am

If you can access the transcode directory see if you can install a later static build ffmpeg there.
But as a windows user that's all I can suggest :|
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: ffmpeg mp3 downsampling problem

Postby omer33 » Sun Jun 24, 2012 1:59 pm

Adding a new static build solved the problem!
Link to the static version I used: http://dl.dropbox.com/u/24633983/ffmpeg/index.html

Thank you!
omer33
 
Posts: 4
Joined: Wed Jun 20, 2012 8:20 am

Re: ffmpeg mp3 downsampling problem [Resolved]

Postby rezsbc » Mon Sep 17, 2012 4:56 pm

Thanks for posting this solution! Been having a couple of transcoding issues, tunes not playing, occasional audio glitches and this solved it for me!!
rezsbc
 
Posts: 10
Joined: Tue Jul 19, 2011 12:44 am


Return to Help

Who is online

Users browsing this forum: No registered users and 30 guests