# Stop Processing

When you process a file, the `process` action finishes when Media Server reaches the end of the file. However, you might be processing a video stream that does not end. In this case, you might want to stop processing.

To stop processing video

- Use the `QueueInfo` action, with the following parameters:

  `QueueName` | The name of the queue. Processing is initiated using the `process` action, so set `QueueAction=process`.
  `QueueAction` | The action to perform on the queue. To stop processing, set `QueueAction=stop`.
  `Token` | (Optional) The token for the request that you want to stop. If you don't specify a token, Media Server stops the task that is currently processing.

  For example,

      http://localhost:14000/action=queueinfo
                                &queuename=process
                                &queueaction=stop
                                &token=MTAuMi4xMDQuODI6MTQwMDA6UFJPQ0VTUzoxMTgzMzYzMjQz

  Media Server returns a response stating whether the request was successfully completed.

_FT_HTML5_bannerTitle.htm