Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Baptiste COUDURIER <baptiste.coudurier <at> smartjog.com>
Subject: [BUG] NTSC fps detection bug mpeg ps
Newsgroups: gmane.comp.video.transcode.devel
Date: Friday 20th January 2006 10:37:18 UTC (over 11 years ago)
I noticed tcprobe has problems probing fps from NTSC MPEG2 files.

These lines are causing the problem :

if(ipipe->probe_info->codec==TC_CODEC_MPEG2
	 && ipipe->probe_info->height==480 &&
 	         ipipe->probe_info->width==720) {

	if(ipipe->probe_info->ext_attributes[0] > 2 *
		ipipe->probe_info->ext_attributes[1] ||
		ipipe->probe_info->ext_attributes[1] == 0)
		ipipe->probe_info->is_video=1;

	if(ipipe->probe_info->is_video) {
	  ipipe->probe_info->fps=NTSC_VIDEO;
	  ipipe->probe_info->frc=4;
	} else {
	  ipipe->probe_info->fps=NTSC_FILM;
	  ipipe->probe_info->frc=1;
	}
      }

Where transcode finally computes input fps as 23.974 (NTSC_FILM).

Removing those lines fixes all problems. Btw, it seems fps are correctly
probed from elementary stream.

Do you have any idea ?

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312
 
CD: 2ms