I've tried at least a dozen different solutions and none seem to fit my needs:
1) can handle "Latin" characters in tags (e.g., inverted question marks, ellipses)
2) doesn't lose or truncate tags (e.g., podcast URL, podcast description, podcast category)
3) can convert to a constant bit rate of 32kbps @ 44.1K Hz.
conversions I need are from .wav, .mp4 and .m4a to .mp3 (simple huh?)
drag and drop gui would be nice but not necessary
Please limit responses to recommendations on software packages.
Thx
ps I currently use dBpoweramp, but it fails on item #2 and doesn't not have drag & drop
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 30 of 30
			
		- 
	
- 
	Have you already tried Foobar2000  
 
 fb2k handles Unicode fine.1) can handle "Latin" characters in tags (e.g., inverted question marks, ellipses)
 
 I haven't checked that yet2) doesn't lose or truncate tags (e.g., podcast URL, podcast description, podcast category) 
 
 You meant 320kbps, I presume3) can convert to a constant bit rate of 32kbps @ 44.1K Hz. Foobar2000 can be configured to use external encoders (in this case, LAME) with the required command-line switches. Foobar2000 can be configured to use external encoders (in this case, LAME) with the required command-line switches.
- 
	ffmpeg should be able to do this things correctly however 32kbps looks like too low bitrate for mp3 (maybe mono and reduced bandwidth can be ok) - bellow example script - not tested but it should work 
 
 Code:@setlocal @set OUTDIR="out" @if not exist %cd%\%OUTDIR% (mkdir %cd%\%OUTDIR%) @ffmpeg -i %1 -vn -c:a libmp3lame -b:a 32k -ac 1 -af "aformat=sample_fmts=flt,highpass=f=20,aresample=resampler=soxr:osr=44100:dither_method=0,lowpass=f=6000" "%OUTDIR%\%~n1.mp3" 
- 
	I also hope you meant 320K instead of 32K ... not only do I not know of any that go that low it'd be only suitable for speech recorded with lousy microphones. 
- 
	none of the above suggestions meet all the requirements (foobar, lamexp, ffmpg<-fails 2nd & 3rd criteria). I don't recall the specifics on foobar & lamexp, but they too failed. 
 
 i do mean 32, thirty two, trenta y dos kbps ... i listen to podcasts (10 years now) and that level of quality is just fine. constant bit rate is an artifact of the ipod software i use (rockbox) which didn't like vbr for a couple of its functions.
- 
	ffmpeg not failing on 32kbps CBR - i've tested my script with various inputs (even multichannel 88kHz, True HD etc)... 
 about metadata - from my perspective all metadata are copied correctly if container can carry tag - tested on large set of files with some strange meta and IMHO it works quite well.
 
 Quality from my perspective is OK for speech but for music is less than acceptable - plenty issues with smearing even with usable bandwidth reduced to 150 - 5500Hz...
- 
	32kbps is too low a bitrate for decent quality music, whether mp3, mp4/aac, ogg, even opus. 32kbps should be doable with Mpeg 2-Layer 3 (vs. Mpeg 1-Layer 3), but you should expect shitty quality unless encoding speech. 
 
 Scott
- 
	ffmpeg encodes 32kbps @ 44.1K Hz? 
 
 i tried various times from mp4 to mp3 and always had to crank down the -ar to 11025, otherwise -ab 32k was overridden ... please let me know the release of ffmpeg you used to successfully convert mp4 to 32kbps @ 44.1K Hz (hopefully you're using a windows version).
 
 for example, i used your script above and the result came out as 56kbps CBRLast edited by rkovideo; 7th Jun 2016 at 10:34. 
- 
	Well this is strange as i use script with various audio files and i have reproducible CBR 32kbps mp3 as a result - this is exactly script i use: 
 
 btw -ab means average bitrate not audio bitrate - for fixed bitrate you need to use -b:aCode:@setlocal @set OUTDIR="out" @if not exist %cd%\%OUTDIR% (mkdir %cd%\%OUTDIR%) @ffmpeg -y -hide_banner -fflags genpts -err_detect aggressive -i %1 -vn -c:a libmp3lame -b:a 32k -ac 1 -af "aformat=sample_fmts=flt,aresample=resampler=soxr:osr=44100:dither_method=0,dynaudnorm=p=1/sqrt(2):m=100,firequalizer=gain='if(gte(f,154),0,-INF)+if(lte(f,7501),0,-INF)':accuracy=1:fixed=on" "%OUTDIR%\%~n1.mp3" 
- 
	thanks. i hadn't noticed the ab vs.b:a difference. it didn't work when i tried your original script, but when i used an older version of ffmpeg (20150615) it worked. i ended up with a CBR of 32kbps. 
 
 but it automatically takes the sample rate down to 11K Hz.
 
 also, wipes out the tags %unsyncedlyrics%, %subtitle%, %podcastdesc%, %podcastcategory% and %podcasturl%.
 
 so ffmpeg still fails requirements 2 & 3.
- 
	https://ffmpeg.zeranoe.com/builds/ 
 https://sourceforge.net/projects/mplayer-win32/files/FFmpeg/
 
 7.1 audio file converted with script gives something like this:
 
 So you must do something wrong.Code:{ "streams": [ { "index": 0, "codec_name": "mp3", "codec_long_name": "MP3 (MPEG audio layer 3)", "codec_type": "audio", "codec_time_base": "1/44100", "codec_tag_string": "[0][0][0][0]", "codec_tag": "0x0000", "sample_fmt": "s16p", "sample_rate": "44.100000 KHz", "channels": 1, "channel_layout": "mono", "bits_per_sample": 0, "r_frame_rate": "0/0", "avg_frame_rate": "0/0", "time_base": "1/14112000", "start_pts": 353600, "start_time": "0:00:00.025057", "duration_ts": 156303360, "duration": "0:00:11.075918", "bit_rate": "32 Kbit/s", "disposition": { "default": 0, "dub": 0, "original": 0, "comment": 0, "lyrics": 0, "karaoke": 0, "forced": 0, "hearing_impaired": 0, "visual_impaired": 0, "clean_effects": 0, "attached_pic": 0 } } ], "format": { "filename": "hd_dthd_7.1.mp3", "nb_streams": 1, "nb_programs": 0, "format_name": "mp3", "format_long_name": "MP2/3 (MPEG audio layer 2/3)", "start_time": "0:00:00.025057", "duration": "0:00:11.075918", "size": "43.517578 Kibyte", "bit_rate": "32.186000 Kbit/s", "probe_score": 51, "tags": { "title": "HD Dolby TrueHD 7.1", "encoder": "Lavf57.37.101" } } }Last edited by pandy; 7th Jun 2016 at 15:26. 
- 
	Last edited by ConverterCrazy; 27th Sep 2017 at 13:55. Reason: additional text for clarity Sword is no substitute for kitchen-knife.
- 
	@pandy 
 
 Not possible using ffmpeg?Last edited by ConverterCrazy; 30th Sep 2017 at 09:37. Reason: Deleting Sword is no substitute for kitchen-knife.
- 
	
- 
	Sword is no substitute for kitchen-knife.
- 
	Not used before, no need for it, but came across this: 
 
 http://www.inspire-soft.net/software/mp3-quality-modifier
 
 If it's any good Baldrick might add it to the software downloads.
- 
	You must provide source file for this script - simplest way is drag & drop ( https://en.wikipedia.org/wiki/Drag_and_drop ) your files on this batch. 
- 
	Sword is no substitute for kitchen-knife.
- 
	Sword is no substitute for kitchen-knife.
- 
	Sword is no substitute for kitchen-knife.
- 
	Well... conversion is quite simple as you can do something like: 
 
 But if you trying to perform such operation with replicated directory structure then it can be a serious issue for simple batch.Code:for /R %%a in (*.mp4, *.aac, *.mp3, *.m4a, *.flac) do (@ffmpeg -y -v quiet -stats -i "%%a" -vn -sn -c:a libmp3lame -b:a 192k "%%~na.192k.mp3") 
 You can try something like:https://mostlybuggy.wordpress.com/2012/09/25/windows-batch-file-how-to-copy-and-conver...y-with-ffmpeg/ - there are some limitations but it should work.Last edited by pandy; 4th Oct 2017 at 12:30. Reason: fixed missing ending parentheses as pointed by videobruger 
- 
	Thanks. 
 After modification, this code works, but metadata is not saved in new files (Title tag is blanked out):
 
 Perhaps, it might help.Code:@setlocal @set /a cput=(%NUMBER_OF_PROCESSORS%*3)/2 @if not exist %cd%\out (mkdir %cd%\out) for %%a in (*.mp4, *.aac, *.mp3, *.m4a, *.flac) do (@ffmpeg -y -v quiet -stats -i "%%a" -vn -sn -c:a libmp3lame -b:a 192k "%cd%\out\%%~na.192k.mp3") @Echo Done! @pause Last edited by ConverterCrazy; 7th Oct 2017 at 09:43. Reason: Updated with fresh input Sword is no substitute for kitchen-knife.
- 
	Thanks. 
 
 This is the final script for the batch conversion:
 
 Code:@setlocal @set /a cput=(%NUMBER_OF_PROCESSORS%*3)/2 @if not exist %cd%\out (mkdir %cd%\out) for %%a in (*.mp4, *.aac, *.mp3, *.m4a, *.flac) do (@ffmpeg -y -v quiet -stats -i "%%a" -vn -sn -c:a libmp3lame -b:a 192k -map_metadata 0 - id3v2_version 3 "%cd%\out\%%~na.192k.mp3") @Echo Done! @pause Sword is no substitute for kitchen-knife.
Similar Threads
- 
  A simple video conversion failsBy monteverde in forum Video ConversionReplies: 3Last Post: 7th Oct 2013, 05:38
- 
  Wired (non-portable) simple, cheap MP3 playerBy jbartosh in forum AudioReplies: 12Last Post: 10th Mar 2013, 11:09
- 
  A simple MP3 program to edit files?By Artas1984 in forum AudioReplies: 17Last Post: 25th Nov 2011, 12:57
- 
  Simple MKV to MP4 Conversion Guide (Xbox360)By Cloud101 in forum User guidesReplies: 35Last Post: 8th Nov 2011, 17:41
- 
  A MP4 Simple ConversionBy kerb in forum Video ConversionReplies: 7Last Post: 27th Sep 2011, 12:24


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			

 Quote
 Quote 
			
 
			 
						