VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Member
    Join Date
    Aug 2006
    Location
    Switzerland
    Search Comp PM
    I'm using MPlayer command line tool to gather informations from differents file formats with the "-identify" option (I'm not interested in playing files...). When the parsed media contains a video stream, it is possible to specify the numbers of frames to read with the "-frames" option (and it has to be at least 1 frame in order to get the applied aspect ratio); but when there is no video stream, like MPEG Elementary Stream (or mp3s), the only possible way I found to stop audio playback is to stop the process manually by pressing the 'q' key (?), which is not very convenient because I intend to use this tool as part of a batch and I don't want to use unreliable techniques like killing the process after an arbitrary timeout. So my question is:
    How to stop audio playback after a specific time with MPlayer command line?
    Quote Quote  
  2. Member
    Join Date
    May 2005
    Location
    Toronto ||*||
    Search Comp PM
    use the -endpos switch. For example, to playback 10 secs
    -endpos 10
    Quote Quote  
  3. Member
    Join Date
    Aug 2006
    Location
    Switzerland
    Search Comp PM
    So obvious... Thanks!
    (How did I missed it?)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!