command line parameter: stop playing, play A-B range

2 posters

Go down

command line parameter: stop playing, play A-B range Empty command line parameter: stop playing, play A-B range

Post by kaiu Mon Sep 09, 2024 8:17 am

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

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by Admin Mon Sep 09, 2024 11:16 am

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

Admin
Admin

Posts : 7608
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by kaiu Tue Sep 10, 2024 8:16 am

Admin wrote:If you enable file history then it will remember A-B repeat settings from your last play.
There is /startpos parameter.
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.

kaiu

Posts : 4
Join date : 2024-09-09

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by Admin Tue Sep 10, 2024 11:25 am

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.

Admin
Admin

Posts : 7608
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by kaiu Tue Sep 10, 2024 12:37 pm

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.
I understand your answer. Thank you.
You did not respond to the parameter error.

kaiu

Posts : 4
Join date : 2024-09-09

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by Admin Tue Sep 10, 2024 10:07 pm

Startpos must be within A-B range.

There also is /ab_start and /ab_end parameters.

Admin
Admin

Posts : 7608
Join date : 2011-06-17

https://codecs.forumotion.net

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by kaiu Wed Sep 11, 2024 9:48 am

Admin wrote:Startpos must be within A-B range.

There also is /ab_start and /ab_end parameters.
This works very well!
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

Back to top Go down

command line parameter: stop playing, play A-B range Empty Re: command line parameter: stop playing, play A-B range

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum