1
example in python to parse ffmpeg2theora in frontend mode:
6
cmd = "ffmpeg2theora --frontend ..."
7
f_stdout, f_stdin, f = os.popen3(cmd)
11
if line.startswith('f2t'):
12
for o in line.split(';')[1:]:
15
info[oo[0]] = ": ".join(oo[1:]).strip()
17
#do something with info dict here