summaryrefslogtreecommitdiff
path: root/tools/aviocat.c
Commit message (Collapse)AuthorAge
* tools: Use av_gettime_relative()Olivier Langlois2014-05-17
| | | | | | | | | Whenever av_gettime() is used to measure relative period of time, av_gettime_relative() is prefered as it guarantee monotonic time on supported platforms. Signed-off-by: Olivier Langlois <olivier@trillion01.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '87acd33c092ab9e7d73686627e9105d99c1e4928'Michael Niedermayer2014-01-17
|\ | | | | | | | | | | | | * commit '87acd33c092ab9e7d73686627e9105d99c1e4928': aviocat: Add support for specifying the input duration Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aviocat: Add support for specifying the input durationMartin Storsjö2014-01-17
| | | | | | | | | | | | | | This avoids the caller having to calculate the byte rate if wanting to push a file in a rate resembling realtime. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '03f2de5856ec8571fcf5f4cf6dccc713294af545'Michael Niedermayer2014-01-17
|\| | | | | | | | | | | | | * commit '03f2de5856ec8571fcf5f4cf6dccc713294af545': aviocat: Check the argv array length before reading element i+1 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * aviocat: Check the argv array length before reading element i+1Martin Storsjö2014-01-17
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
|/
* Replace usleep() calls with av_usleep()Mans Rullgard2012-06-22
| | | | | | | This reduces the dependency on unistd.h which is not available on all systems. Signed-off-by: Mans Rullgard <mans@mansr.com>
* tools: K&R reformatting cosmeticsDiego Biurrun2012-01-25
|
* aviocat: Remove useless includesMartin Storsjö2012-01-21
| | | | | | | Also include stdlib.h explicitly - currently it is used implicitly via avformat.h. Signed-off-by: Martin Storsjö <martin@martin.st>
* aviocat: Flush the output before closingMartin Storsjö2012-01-21
| | | | | | Without this, the end of the file might not be transmitted/written. Signed-off-by: Martin Storsjö <martin@martin.st>
* Add a tool that uses avio to read and write, doing a plain copy of dataMartin Storsjö2012-01-20
It also optionally can throttle its operation to a particular speed, to simulate realtime writing. Signed-off-by: Martin Storsjö <martin@martin.st>