Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> General pcHDTV topics -> Easiest way to tell HDTV format (e.g.,1080i) from tps files?
Post new topic  This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic 
Easiest way to tell HDTV format (e.g.,1080i) from tps files?
PostPosted: Tue Jul 06, 2004 6:08 pm Reply with quote
enone
Guest
 




What's an easy/nice way to determine the HDTV format from
the raw TPS files?

(Unless I'm missing something) dtvstream doesn't seem to print out this information.

Thanks,

Enone
PostPosted: Wed Jul 07, 2004 5:41 pm Reply with quote
pdicamillo
 
Joined: 09 Mar 2004
Posts: 68
Location: Needham, MA




I'm planning to improve dtvstream so it will display information about the audio and video in a stream. I don't know an easy way to get that information now.
View user's profile Send private message AIM Address
command line way
PostPosted: Tue Aug 10, 2004 2:19 pm Reply with quote
quickening
 
Joined: 05 Nov 2003
Posts: 2




I use a script I call "midentify" based on mplayer:
____________________________________________
#!/bin/sh
mplayer -vo null -ao null -frames 0 -identify "$@" 2>/dev/null |
grep "^ID" |
sed -e 's/[`\\!$"]/\\&/g' |
sed -e '/^ID_FILENAME/ { s/^ID_FILENAME=\(.*\)/ID_FILENAME="\1"/g; }'
_____________________________________________

Example output:

$ midentify jewelry1.tp
ID_FILENAME="jewelry1.tp"
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=18030800
ID_VIDEO_WIDTH=1920
ID_VIDEO_HEIGHT=1088
ID_VIDEO_FPS=29.970
ID_VIDEO_ASPECT=1.7778
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=384000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=67
View user's profile Send private message
Easiest way to tell HDTV format (e.g.,1080i) from tps files?
  pcHDTV Forum Index -> General pcHDTV topics
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  This topic is locked: you cannot edit posts or make replies.  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin