LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-27-2021, 11:53 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Question Video aspect ratio, SAR, DAR - can someone explain using this example


I'm confused - not unusual for me I know

I've examined this video with ffprobe, ffmpeg cropdetect, mediainfo and a screencap from vlc:
Code:
ffprobe TalkingPictures_TV-05192021-1730.mts 
 Stream #0:0[0x32b]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 544x576 [SAR 24:17 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc

ffmpeg  -ss 1:00 -i TalkingPictures_TV-05122021-1400.mts -t 1 -vf cropdetect -f null - 2>&1 | awk '/crop/ { print $NF }' | tail -1
crop=544:560:0:10

mediainfo TalkingPictures_TV-05192021-1730.mts 
Width                        : 544 pixels
Height                       : 576 pixels
Display aspect ratio         : 4:3
Active Format Description    : Full frame 16:9 image

From the VLC screenshot - Properties - image 768x576 pixels  4:3
Only the screencap properties of the png file and the DAR setting makes any sense - it does have an aspect ratio of 4:3.

I don't see where 544 x 576 or 544 x 560 get calculated.

Can someone smarter than me explain how these other numbers fit?
Attached Thumbnails
Click image for larger version

Name:	vlcsnap-2021-12-27-17h36m39s621.jpg
Views:	7
Size:	33.3 KB
ID:	37938  

Last edited by GPGAgent; 12-27-2021 at 11:57 AM.
 
Old 12-27-2021, 12:18 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
/Just guessing wildly.

It looks like total nonsense in the information output, and is definitely not 16:9 but nearer 4:3.

I'm an ex-tv repair man back in the days of analog tv, when hardware was expensive and labour was cheap. Those numbers in the 500s (544 particularly) seem reminiscent of some NTSC statistic? I'm on PAL here and there was also Secam, all different. They used Analogue TVs with tubes instead of flatscreen and had large invisible portions on the horizontal.

I'm thinking 544 was the horizontal information width on NTSC? - the visible portion. The 576 is for the birds, but they might have done interlaced. There was very small invisible portions top & bottom. It was mainly on the sides, because the dot travelled faster left to right than up & down.
 
Old 12-27-2021, 12:24 PM   #3
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by business_kid View Post
/Just guessing wildly.

It looks like total nonsense in the information output, and is definitely not 16:9 but nearer 4:3.

I'm an ex-tv repair man back in the days of analog tv, when hardware was expensive and labour was cheap. Those numbers in the 500s (544 particularly) seem reminiscent of some NTSC statistic? I'm on PAL here and there was also Secam, all different. They used Analogue TVs with tubes instead of flatscreen and had large invisible portions on the horizontal.

I'm thinking 544 was the horizontal information width on NTSC? - the visible portion. The 576 is for the birds, but they might have done interlaced. There was very small invisible portions top & bottom. It was mainly on the sides, because the dot travelled faster left to right than up & down.
Cheers, it's UK TV that I recorded with a cheap chinese set tip bax that records to a USB stick, being Chinese they totally ignore any DRM settings so the video it saves is in mts format. And I'm sure it's 4:3 format.
 
Old 12-28-2021, 06:15 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
UK tv I am familiar with.

I Can confirm that you can ignore the output. The UK and Ireland doesn't issue a dpi spec, but it was close to 640×480 @50Hz interlaced last time I did the math. Pal is interlaced vertically, so you get lines 1,3,5, etc. on one frame and 2,4,6 next time. The actual picture refresh is 25Hz but it's acceptable because of interlacing and persistence on the tv tubes, now mimicked in flatscreen monitors.

Ignore the numbers that don't make sense, and use the ones that do. That's all you can do. Be glad the thing works at all, and if it works, don't fix it
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Video aspect ratio and scale GPGAgent Linux - Software 2 09-10-2020 12:29 PM
Changing the aspect ratio while you watch a DVD title (DVD-Video). stf92 General 10 10-31-2012 01:46 PM
Video Aspect Ratio Problem Lindy Linux - Software 2 08-24-2008 08:30 PM
problem on converting photos of different aspect ratio into a video with mencoder jackandking Linux - Software 1 04-27-2007 12:10 AM
LXer: Disk ARchive (Backup and Restore) using dar and kdar(dar Frontend) LXer Syndicated Linux News 0 01-12-2007 05:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration