start decoding the video from some specified location

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

start decoding the video from some specified location

smitaw
HI,

I want to decode the video not from start but from some specified time
/frame( lets say 10 secs / 200th frame).

while decoding i get packets , how to start decoding from specified location
, without decoding from starting.

Thanks in advance,
Smita
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: start decoding the video from some specified location

Michel Bardiaux-2
SMITA WADHWA a écrit :
> HI,
>
> I want to decode the video not from start but from some specified time
> /frame( lets say 10 secs / 200th frame).
>
> while decoding i get packets , how to start decoding from specified location
> , without decoding from starting.
>
With ffmpeg CLI: -ss

 From C code: av_seek_frame

--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:[hidden email]

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user