codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
TIME_START("Seek"); //av_seek_frame(fmt_ctx, video_stream_idx, video_stream->duration, 0); //int64_t pos = video_stream->duration / 2; int64_t pos = video_stream->duration - 100000; //int errnum = avformat_seek_file(fmt_ctx, video_stream_idx, INT64_MIN, pos, INT64_MAX, 0); int errnum = av_seek_frame(fmt_ctx, video_stream_idx, pos, 0); //if(errnum < 0) printf("Seek result : %s\n", av_err2str(errnum)); TIME_END;
Private
[
?
]
Run code
Submit