LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   General (https://www.linuxquestions.org/questions/general-10/)
-   -   High definition video (https://www.linuxquestions.org/questions/general-10/high-definition-video-4175581799/)

Fixit7 06-08-2016 05:09 PM

High definition video
 
Is there a way to tell if a video such as a mp4 is high definition ?

Emerson 06-08-2016 05:10 PM

Yea, run a utility like ffprobe on it.

Fixit7 06-08-2016 05:49 PM

Way too much info. :-)

I do not see anything to indicate whether it is high definition. ??

Quote:

High-definition video is video of higher resolution and quality than standard-definition. While there is no standardized meaning for high-definition, generally any video image with considerably more than 480 horizontal lines (North America) or 576 horizontal lines (Europe) is considered high-definition. 480 scan lines is generally the minimum even though the majority of systems greatly exceed that.
ffprobe version 2.2.16 Copyright (c) 2007-2015 the FFmpeg developers
built on Oct 8 2015 14:32:29 with gcc 4.8.2 (GCC)
configuration: --prefix=/usr --libdir=/usr/lib --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-pthreads --enable-small --enable-postproc --enable-libvorbis --enable-gpl --enable-shared --enable-nonfree --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-debug --enable-bzlib --enable-zlib --enable-libspeex --enable-version3 --enable-runtime-cpudetect --enable-x11grab --enable-libschroedinger --enable-libtheora --enable-libxvid --enable-swscale --enable-libvpx
libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Lift.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:10:56.33, start: 0.000000, bitrate: 1339 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1280x720, 1198 kb/s, 59.94 fps, 59.94 tbr, 60001 tbn, 119.88 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata:
handler_name : SoundHandler

ferrari 06-08-2016 06:02 PM

Some useful analysis tips here
https://trac.ffmpeg.org/wiki/FFprobeTips

Quote:

Width x Height

Using eval:

eval $(ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width input.mkv)
size=${streams_stream_0_width}x${streams_stream_0_height}
echo $size

Example output:

1280x720

Fixit7 06-08-2016 06:09 PM

Quote:

Originally Posted by ferrari (Post 5558035)
Some useful analysis tips here
https://trac.ffmpeg.org/wiki/FFprobeTips

Slacko Puppy does not have eval nor is it available in their package manager.

jamison20000e 06-08-2016 06:17 PM

In VLC you can click on "Tools" then "Codec Information". ;)

jamison20000e 06-08-2016 06:19 PM

Then: https://en.wikipedia.org/wiki/High-definition_video

Edit; from searching: "what is HD" :)

Fixit7 06-08-2016 06:48 PM

Thanks gentlemen.

656x368 is what VLC says.

It looks that H.D. has no standard resolution.

----------------------

On another topic.

I have a Blue Ray player.

I have NOT noticed any increase in resolution compared to a normal DVD.

It may show up in screens in excess of 42 inches.

Super HD screens in stores look more clearer, but no stations broadcast in Super H.D.

So why spend the extra money.

ferrari 06-08-2016 06:59 PM

You don't actually need the eval command (it is only used for output formatting here), just do the ffprobe...
Code:

ffprobe -v error -of flat=s=_ -select_streams v:0 -show_entries stream=height,width /path/to/foo.mp4

Fixit7 06-08-2016 07:04 PM

So, what does this tell me ?

Quote:

streams_stream_0_width=1280
streams_stream_0_height=720

ferrari 06-08-2016 07:07 PM

The resolution is 1280x720 (a 16:9 HD display mode)

ferrari 06-08-2016 07:10 PM

Also referred to as 720p (progressive) in TV land

https://en.wikipedia.org/wiki/High-d...ay_resolutions

Fixit7 06-08-2016 09:38 PM

Quote:

1280×720
921,600 0.9 16:9 1:1 Standard HDTV resolution and a typical PC resolution (WXGA), frequently used by high-end video projectors; also used for 750-line video, as defined in SMPTE 296M, ATSC A/53, ITU-R BT.1543.
1366×768
WXGA 1,049,088 1.0 683:384
(approx. 16:9) 1:1 A typical PC resolution (WXGA); also used by many HD ready TV displays based on LCD technology.
1080p/i
1920×1080 1920×1080
2,073,600 2.1 16:9 1:1 Standard HDTV resolution, used by Full HD and HD ready 1080p TV displays such as high-end LCD, plasma and rear projection TVs, and a typical PC resolution (lower than WUXGA); also used for 1125-line video, as defined in SMPTE 274M, ATSC A/53, ITU-R BT.709;
A little confusing.

Not trying to make things difficult....just want to understand.

Two different resolutions are shown as Standard HD.

My monitor can show up to
Quote:

X Server: Xorg Driver used: intel
X.Org version: 1.14.3
dimensions: 1366x768 pixels (361x203 millimeters)
depth of root window: 24 planes
My TV is 1080p which apparently shows a higher resolution.

Are there computer monitors that show a 1920×1080 resolution ?

ferrari 06-08-2016 09:57 PM

Quote:

My monitor can show up to
Quote:
X Server: Xorg Driver used: intel
X.Org version: 1.14.3
dimensions: 1366x768 pixels (361x203 millimeters)
depth of root window: 24 planes
My TV is 1080p which apparently shows a higher resolution.
Some TVs did (do?) employ 1366*768 (native) screens but accept up to 1080p input and use internal scaling to scale down to 720p.

Quote:

Are there computer monitors that show a 1920×1080 resolution ?
Yes, monitors are available with Full HD 1920x1080 native display resolution, ...and beyond of course.

jamison20000e 06-08-2016 11:26 PM

My desktop display is a HP 2210m at 1920x1080, 16:9,,, it does okay but is glossy and sucks viewing at sharp angles.


All times are GMT -5. The time now is 05:43 AM.