command line parameter: stop playing, play A-B range
2 posters
Page 1 of 1
command line parameter: stop playing, play A-B range
Very often the video is large, and you need to play part of it. You can make a command line parameter to stop playing at a specified time, play in a range of positions A-B?
kaiu- Posts : 4
Join date : 2024-09-09
Re: command line parameter: stop playing, play A-B range
If you enable file history then it will remember A-B repeat settings from your last play.
There is /startpos parameter.
There is no parameter for stopping early and the developers are not interested in implementing it.
If you want to control it from another application, then you should know that MPC has an API for remote control with /slave parameter and window messages.
You could copy the part of video that is important into a new file:
https://forum.videohelp.com/threads/359121-How-to-extract-cut-parts-from-a-mkv-including-all-audio-and-subtitle-tracks
There is /startpos parameter.
There is no parameter for stopping early and the developers are not interested in implementing it.
If you want to control it from another application, then you should know that MPC has an API for remote control with /slave parameter and window messages.
You could copy the part of video that is important into a new file:
https://forum.videohelp.com/threads/359121-How-to-extract-cut-parts-from-a-mkv-including-all-audio-and-subtitle-tracks
Re: command line parameter: stop playing, play A-B range
Then if the start time is specified in the command line, but the user enabled A-B, then the start will be from the time specified in A, and this is a violation of the start logic. I needed the user to be able to specify the start and stop time, and not cut it out of the video, since he can change the time each time by choosing something else, and so each time the program will enable the start by time A and the parameter "/startpos" is not working.Admin wrote:If you enable file history then it will remember A-B repeat settings from your last play.
There is /startpos parameter.
kaiu- Posts : 4
Join date : 2024-09-09
Re: command line parameter: stop playing, play A-B range
The answer is NO and remains NO.
You ignored my comment about the remote control API which allows you to easily do what you want.
You ignored my comment about the remote control API which allows you to easily do what you want.
Re: command line parameter: stop playing, play A-B range
I understand your answer. Thank you.Admin wrote:The answer is NO and remains NO.
You ignored my comment about the remote control API which allows you to easily do what you want.
You did not respond to the parameter error.
kaiu- Posts : 4
Join date : 2024-09-09
Re: command line parameter: stop playing, play A-B range
Startpos must be within A-B range.
There also is /ab_start and /ab_end parameters.
There also is /ab_start and /ab_end parameters.
Re: command line parameter: stop playing, play A-B range
This works very well!Admin wrote:Startpos must be within A-B range.
There also is /ab_start and /ab_end parameters.
If it was remembered by the user, it is saved even if it was launched with other parameters.
In the program, these parameters were not in the menu. It would also be good to sort these parameters alphabetically there, so that they can be searched faster.
Thank you very much
kaiu- Posts : 4
Join date : 2024-09-09
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum