Re: Proposal: Parameterizing ffmpg.cfg

Francesco Romani <[email protected]>
Newsgroups gmane.comp.video.transcode.user
Message-ID <[email protected]>
On Thu, 2009-03-12 at 15:57 +0000, Geoffrey Clements wrote:
> I often transcode video to put onto a video DVD and I have a script that
> automates the process using transcode to do the donkey work. The problem
> is that I like to collect the videos into a single folder and run a number
> of instances of transcode at once (one for each video file).
> 
> The problem with this is that I'm using "-y ffmpeg" and "--export_prof"
> and when this is used it appears that any parameters for the ffmpeg
> mpeg2video encoder via the -F switch are ignored hence the only way to get
> parameters into ffmpeg is via the ffmpeg.cfg file. This is fine for
> processing one file but when processing multiple files each requiring
> their own parameters to ffmpeg then it becomes a problem. The workaround
> is easy: put the files in their own directory but this becomes a bit of a
> PITA.
> 
> I would like to propose that another command line option, say
> "--ffmpeg_cfg", is added to transcode. This would take a parameter that
> would be the path to a file and would default to ffmpeg.cfg when not used
> thus keeping backward compatibility.

Hi,

This is already implemented into transcode core, and the modules are on
the track too. Take a look to the --config_dir parameter.
In 1.2.x, with the new set of export modules, this will reach its
potential.

> Now transcode probably needs a new command line option like I need another
> hole in my head, however, I have had a look over the transcode code base
> and I think I could do it given a little time (it's been a looong time
> since I coded in C) but I don't want to do it if it has no chance of
> getting into the mainline code (I have no inclination to maintain my own
> fork).

Please no, a fork is really, *REALLY* a bad idea IMHO.
If you plan to hack, extend, or even just look to the transcode sources,
please use the 1.1.x branch, or even better the head/default branch.
Interesting things hare happening here.

Bests,

-- 
Francesco Romani // Ikitt
http://fromani.exit1.org  ::: transcode homepage
http://tcforge.berlios.de ::: transcode experimental forge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.