LEADTOOLS Support
Multimedia
Multimedia SDK Questions
viewing frame-by-frame (NextFrame and PreviousFrame) of a mp4 vídeo with VB.NET (2022) and LEAD MM
#1
Posted
:
Monday, May 16, 2022 4:02:23 AM(UTC)
Groups: Registered
Posts: 10
We need to navigate frame-by-frame of mp4 vídeos (back and forward) with VB.NET and LEAD MM v20
Thank you
#2
Posted
:
Monday, May 16, 2022 12:05:21 PM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 89
Was thanked: 4 time(s) in 4 post(s)
To navigate the LEADTOOLS frames from your MP4 files, you can use the
PlayCtrl's -
NextFrame and
PreviousFrame methods.
The LEAD Online Documentation for each of these methods has an example snippet of how to set this programmatically in VB.NET.
Code: If _playctrl.State = PlayState.Running Then
_playctrl.Pause()
End If
_playctrl.NextFrame()
If _playctrl.State = PlayState.Running Then
_playctrl.Pause()
End If
_playctrl.PreviousFrame()
Additionally, an example of this being implemented can be found in the LEAD Multimedia Player demo included with the LEADTOOLS v20 installation file folder as well.
precompiled demo
C:\LEADTOOLS 20\Shortcuts\Multimedia\Playback\DirectShow\Dotnet Class Library\Multimedia Player 64-bit.lnk
project source files
C:\LEADTOOLS 20\Examples\Multimedia\ltmm\Dotnet\VB\Player
MainFrm.vb line 2954
To test this in the demo itself please do the following:
>> Run the LEAD Player demo
>> File >> Open Media File...
>> Navigate to the example MP4 file included with the LEADTOOLS v20 installation here:
C:\LEADTOOLS 20\Media\DaDa_H264.mp4
>> While the video is playing select pause [ || ]
>> While paused choose to either go forward or backward by frames with these buttons
Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Multimedia
Multimedia SDK Questions
viewing frame-by-frame (NextFrame and PreviousFrame) of a mp4 vídeo with VB.NET (2022) and LEAD MM
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.