[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mplayer-users
Subject:    Re: [MPlayer-users] command for know length of video files
From:       Krzysztof Duchnowski <amidk75 () gmail ! com>
Date:       2008-02-19 17:18:36
Message-ID: 47BB0F6C.3060607 () gmail ! com
[Download RAW message or body]

Wesley S. pisze:
> 2008/2/19, Pierpaolo Gullˆa <airteknology@gmail.com>:
>> Thansk for your help Wesley , it works but i'm using maplyer via ssh ,
>> and the output it's ok , but maplyer try to play the files in the remote
>> server , and i must to kill mplayer after this option.

>> How I can use the identify command without playing of file?


> That's what the "-ao null -vo null -frames 0" options are for.

> -ao and -vo null tell mplayer not to use an audio or video output and
> -frames 0 tells mplayer not to play any frame
> so mplayer should just exit after reading out what you want.

It sould be: mplayer -ao null -vo null -endpos 1 -identify file.avi

Why?

1. "-frame 0" or "-frame 1" not always works and movie is still played 
after;
2. "-frame 0" do not decode a thing and sometimes information isn't 
stored in the file header;

Thus why.

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/
_______________________________________________
MPlayer-users mailing list
MPlayer-users@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic