Log in

View Full Version : Generate a 1frame file


D3s7
14th January 2004, 18:20
This might need to go into the dev forum but I'll start here

anyone have/know of a program that if passed channels/bitrate/type it will generate a 1frame file of that type?

I need to generate dummy ac3 / dts files for an app I'm working with and short of figuring out how to code my own, i'm hoping someone already knows of a program that'll do it

jsoto
14th January 2004, 21:37
I've coded these blank_tools.zip (http://www.iespana.es/jsoto/tools/blank_tools.zip).
Just for learning VC.
zip includes a blank vob generator + silence ac3 generator.
I'm still working (slowly) on them, so they are not officially released, but seems they work.

jsoto

EDIT: No readme included, but they also work from command line. I can give you the syntax, if needed.

D3s7
14th January 2004, 21:40
jsoto : oooh... any chance that silence has commandline support?

or any chance I may get the source to it?

jsoto
14th January 2004, 21:42
any chance I may get the source to it?
Yes, I will provide the source (let me clean it before....)
jsoto

EDIT:
In the meantime...
// CLI mode
// silence [-2ch,-6ch] -b <bitrate> {-frames <nuframes>,-seconds <nuseconds>} fileout