<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>HI,<br><br></div>I
have done extensive work on cinelerra, a media composing tool, and
recently upgraded its ffmpeg interface. The change now provides the use
of the encoders using a primitive options parsing schema. I do work
with codecs/stream formats... but not like you guys. This is not set in
stone but the current implementation asks the user to select preset
file for audio/video stream coding. The first line is a format codec
pair, where the format must match. There in lies the rub. My knowledge
of the historical use of formats and codecs is limited. I need a big
list of the mainly used combinations that user may want to use so I can
add them to the preset file directories.<br><br></div>here are a few examples which are simple test files.<br></div><div>the lines starting with = are files in the preset directory<br><br></div>=ffmpeg.opts:<br># apply at file open<br>hide_banner=1<br><br>=decode.opts<br># apply at init decode<br>loglevel=fatal<br>formatprobesize=5000000<br>scan_all_pmts=1<br>threads=auto<br><br>=encode.opts <br># apply at init encode<br>threads=auto<br><br></div><div>the first line of these files are format/codec names<br></div><div>the rest of the lines are options for the codec.<br><br></div>=audio/dvd<br>dvd ac3<br><br>=audio/mpeg3<br>mpeg mp3<br><br></div>=video/dvd <br>dvd mpeg2video<br>b 4000000<br><br></div>=video/mpeg<br>mpeg mpeg2video<br>b=4000000<br><br><br></div>I suspect there are some of you that have hoards of cool command<br></div>line stashes which would solve my problem. If you are so inclined,<br></div>send me your recommendations.<br><br></div>The code is just checked in and not well tested yet,<br>but if your of intrepid heart, you can try it here:<br></div></div>git clone <a href="https://code.google.com/p/cinelerra" target="_blank">https://code.google.com/p/cinelerra</a><br><br>Be sure to go to the settings->preferences page and<br></div></div>check ffmpeg early probe, or you will get the old stuff.<br></div>If you want to send in bugs, turn on the segv/intr traps too.<br><br></div>This code is new and not really quite dialed in. Any suggestions<br></div>would be helpful.<br><br></div>Thanks for your attention.<br><br></div>