Open GoogleCodeExporter opened 9 years ago
Just as a follow-up, I tried using both Libav and Gstreamer back-ends. Both
took extended times if the seek was large.
Using a file with a play time of 5179s:
Seek Time until play starts
---- ----------------------
0 1s
50 4s
100 8s
500 42s
1000 84s
3000 253s
Original comment by SteelCit...@gmail.com
on 31 Jan 2015 at 7:21
Hi SteelCityScores,
thanks for reporting.
WS is based upon avconv/ffmpeg and gst-launch 0.10/1.x commands for the
Audio/Video Capture.
Unfortunately Avconv/ffmpeg seek (-ss) option is really really slow, and maybe
the associated command cam be improved (the actual avconv video part):
$ avconv -v 0 -vsync cfr -i /home/karl/Videos/Video.flv -an -ss 0 -strict
experimental -f rawvideo -vcodec rawvideo -pix_fmt rgb24 -s 640x480 -r 25
tcp://127.0.0.1:56399
I didn't find nothing to make -ss option faster, and if you have any idea is
very welcome.
The gst-launch command (Gstreamer backend) uses Gnonlin to seek video and, in
my tests, the playback starts almost instantly when gstreamer backend is
selected, even with 3000 secs of seek value.
I think that between your tests you try to switch backend using the top three
buttons with the logos. Those buttons only switch backends for the outputs
streams (the ones on the right: "Audio Output", "Record", "WSVideodevice", etc
..)
To change the backend for the current loaded stream you have to use the "light
bulb" icon located in the Stream-Panel menu bar (the one you use to "show more
options" and get the seek field shown).
If I’m wrong please share more infos about the video format, and your HW
specs.
Thanks.
karl
Original comment by soylent...@gmail.com
on 4 Feb 2015 at 5:08
Original issue reported on code.google.com by
SteelCit...@gmail.com
on 31 Jan 2015 at 4:33