Mombu the GNU Linux Forum

  Mombu the GNU Linux Forum > GNU_Linux > utility to identify PAL or NTSC


User Name
Password
REGISTER NOW! Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread Display Modes
1 17th May 23:26
freemont
External User
 
Posts: 1
Default utility to identify PAL or NTSC



Does anyone know a quick way to tell which encoding is used on a VOB file
- PAL or NTSC - from a console?

Avi's are easy:

[paul@lpt-120107 nzb]$ file jfk.avi
jfk.avi: RIFF (little-endian) data, AVI, 640 x 272, 25.00 fps, video:
XviD, audio: Dolby AC3 (5 channels, 48000 Hz)

But VOB produces:

[paul@lpt-120107 VIDEO_TS]$ file VIDEO_TS.VOB
VIDEO_TS.VOB: MPEG sequence,v2, program multiplex

Doesn't give me what I want. However,

[paul@lpt-120107 VIDEO_TS]$ mplayer VTS_01_1.VOB
<a whole bunch of output as mplayer begins playback of the file, then>
demux_mpg: 24000/1001fps progressive NTSC content detected, switching
framerate.

That tells me that it's NTSC, but it'd be nice to learn this without
beginning playback.

--
"Because all you of Earth are idiots!"
¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


2 19th August 16:44
amund
External User
 
Posts: 1
Default utility to identify PAL or NTSC



You can try to ask Google:
http://www.google.com/search?hl=en&q...ux&btnG=Search

If you install libextractor as root:
urpmi libextractor
Then you can try to run extract and see if your information appear:
extract jfk.avi

I don't know if it works, but if it does, you can grep out the information
you want.
Another option, could be to right click on the file in konqueror, and look
at the metainfo there.
  Reply With Quote
SPONSORED LINKS BY GOOGLE

 


3 19th August 16:44
gringo
External User
 
Posts: 1
Default utility to identify PAL or NTSC


$ rpm -qf `which midentify`
mplayer-1.0-1.rc2.10plf2008.1

$ midentify my_ntsc_movie.vob | grep FPS
ID_VIDEO_FPS=29.970

$ midentify my_pal_movie.vob | grep FPS
ID_VIDEO_FPS=25.000
  Reply With Quote
4 19th August 16:45
freemont
External User
 
Posts: 1
Default utility to identify PAL or NTSC


On Fri, 16 May 2008 18:19:40 +1000, Gringo writ:

Thank you, this'll do.

--
"Because all you of Earth are idiots!"
¯`·.¸¸.·´¯`·-> freemont© <-·´¯`·.¸¸.·´¯
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes







Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
Also visit Ogoun the Usenet Archive
666