rodnaph / sockso-website

The Sockso website
http://sockso.pu-gh.com
5 stars 0 forks source link

Encoders -> Custom #14

Open waynetrain opened 10 years ago

waynetrain commented 10 years ago

Hi, i use ffmpeg to transcode flac files into mp3 doing by batch ffmpeg -i %1 -vn -f mp3 -ab 320k -

This works well in most cases but somestimes audiostream truncates and ffmpeg remains in idle state. Then the only thing helping is to kill ffmpeg instance.

My Question: Is my Batch possibly wrong? All truncated tracks play very well when i do

ffmpeg -i music.flac -vn -f mp3 -ab -320k - | vlc -

Furthermore, my files contain in addation to the flac audiostream, cover art jpg 500x500 and id3 tags. People from #ffmpeg say possibly this could be an issue.

thx

waynetrain commented 10 years ago

SoX - Sound eXchange works!

So far I have tried besides ffmpeg, libav and finally Sox audio proessing software. I ll give a short howto:

  1. download sox-14.4.1a-win32.zip from http://sourceforge.net/projects/sox/files/sox/14.4.1/
  2. donwload libav-win32-20140428.7z from http://win32.libav.org/win32/
  3. unzip both archives, see into libav folder and search for libmp3lame-0.dll lame encoder library
  4. put libm3lame-0.dll in sox folder
  5. set up batch script like this: sox %1 -C 320 -t mp3 -

flacs are converted to mp3 on the fly with 320 kb/s by lame encoder

I dont know what is the issue with ffmpeg or libav approach. no matter what of them you use, some streams will be truncated immediately.

rodnaph commented 10 years ago

Hey, thanks for posting this information. I'm afraid I don't have the time to maintain Sockso any more, but hopefully other people will find this useful.