4 ms·
Just details.
by prayag 15y ago
Just details.
- veyron 15y agoCouldnt you do this in one line by taking the output from ffmpeg [specify the output file as '-'] and piping into curl? iirc: 1) ffmpeg supports outfile - to mean stdout 2) curl can post data from stdin No need for temporary file, and I believe it is not necessary to wait for the entire file to finish.
- prayag 15y agoGoogle API expect an entire file to be uploaded before it processes it, hence the need of a temp file.