IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Command-Line Decoder Wrapper, New official component
Peter
post Oct 11 2012, 10:01
Post #1





Group: Admin
Posts: 3269
Joined: 30-September 01
Member No.: 84



Summary
This component allows you to comfortably play or convert any audio format with a standalone command-line decoder available, including various exotic formats that do not have native foobar2000 decoder components.
Check the documentation link below for more details.

Links
Home page
Documentation

Have fun.


--------------------
This job would be great if it wasn't for the users.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
romor
post Jan 16 2013, 03:53
Post #2





Group: Members
Posts: 650
Joined: 16-January 09
Member No.: 65630



I wanted to provide example for decoding two files simultaneously, hopefully as some sort of temporal solution to a thread asking for lossywav correction playback. Then noticed that this component, same as converter, doesn't allow using title formatting functions for input line. Because of that I created batch file (soxdec.cmd):

CODE
@echo off
set input=%~1
sox -m %1 "%input:lossy.flac=lwcdf.flac%" -t .wav -

and instruct decoder to: "soxdec.cmd %s"

It works fine but sox process isn't terminated on playback stop.

If I use sox directly in decoder input line: "sox %s -t .wav -" then decoder closes sox process as expected.


--------------------
scripts: http://goo.gl/M1qVLQ
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 18th April 2014 - 20:12