Hmm, not at the computer at the moment ;-) but I know that mplayer has offen been used in scripts.
What do we need?
Maybe I can find out something...
Thanks for looking at it :-)
Regards Viking
Quote from: posde on July 10, 2012, 01:00:37 PM
Do you know of an easy way to detect the frame rate of a specific file?
Mediainfo. # apt-get install mediainfo
DESCRIPTION
MediaInfo supplies technical and tag information about a video or audio
file
What information can I get from MediaInfo?
- General: title, author, director, album, track number, date, duration...
- Video: codec, aspect, fps, bitrate...
- Audio: codec, sample rate, channels, language, bitrate...
- Text: language of subtitle
- Chapters: number of chapters, list of chapters
What format does MediaInfo support?
- Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2, MPEG-4, DVD (VOB)...
- Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...
- Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
- Subtitles: SRT, SSA, ASS, SAMI...
What can I do with it?
- Read many video and audio file formats
- View information in different formats (text, sheet, tree, HTML...)
- Customise these viewing formats
- Export information as text, CSV, HTML...
- Graphical Interface, Command Line, or library versions available
EXAMPLES
Display information about a video file
$ mediainfo foo.mkv
Display aspect ratio
$ mediainfo --Inform="Video;%DisplayAspectRatio%" foo.mkv
$ mediainfo --Inform="Video;file://Video.txt" foo.mkv
Both forms are equivalent if Video.txt contains:
%DisplayAspectRatio%
Display aspect ration and audio format
$ mediainfo --Inform="file://Text.txt foo.mkv
If Text.txt contains:
- "Video;%DisplayAspectRatio%"
Then the display aspect ratio is printed out.
- "Audio;%Format%"
Then the audio format is printed out.
HTH!
/Mike
It is more about providing a lib that we can use directly. UpdateMedia and/or media plugin must be changed to get the information.
And regarding a great feature: Setting the refresh rate to the same rate as the media is helpful for judderfree playback, but it is not the only thing needed. In essence: It is not possible to get perfect playback atm. But setting the refresh rate is something that helps a lot, especially when people are judder detectors.
/me always thinks the judder is on purpose :D
We won't get judder free playback until we can move either to Wayland or a straight framebuffer.
-Thom
Hmm, might be that the theory does not allow 100% judderfree!? I don't know.
But I have tested a lot on my 0810 with Mythvideo plugin and when it is allowed with this config :
http://www.mythtv.org/wiki/User_Manual:JudderFree
I have also activated both vsync options in nvidia-settings for a long time. And have the feeling it is REALLY judderfree. At least I am pretty feely with that and when playing 23.97 on 24hz I saw "jumps" on some pan's when they were long. Now with the above config I have not noticed anything yet. But it has only been running for a couple of days ;-)
I would say it is really important to implement it as when testing replay with the normal playback of xine and changing the rates I notoced a big difference!
Try it yourself with the above config or my xorg.conf from here (might work) but notice: it is important is changing Option "DynamicTwinView" to "true" !!!
http://wiki.linuxmce.org/index.php/Sony_KDL-46W4500
Regards Viking