LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-21-2018, 12:17 PM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Rep: Reputation: 24
Youtube videos whose display is too large for the window they are shown in, firefox, youtube-dl and mplayer


Certain youtube videos, eg "Born to Kill", https://www.youtube.com/watch?v=ulYmXEuOXXk, feature a display size that is too large for whatever window they play in, such as the youtube site in firefox.

Downloading such videos with
Code:
youtube-dl  --all-subs  --sub-lang eng,en url
proceeds normally, but playing the result in mplayer has the same problem as playing it in firefox, the video image is too large to fit in its display window.

Various resizing options with mplayer like -fs, -screenh and -screenw, -vf scale and dsize, have no effect because each resizes the content to fit the specified resized window, whereas what seems to be required is a command that merely resizes the window while leaving the displayed content dimensions unchanged, or vice-versa.

How can I display such videos appropriately?
 
Old 05-21-2018, 01:26 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,148
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
I think. By emailing the uploader to supply you with a better download. May be some one else knows how to video edit singular frames from a whole movie using blender. I don't.

Edit: In the meantime. You might want cruise http://archive.org/web/
till you get a answer you want. They have some cool stuff there as far as films go.

Last edited by rokytnji; 05-21-2018 at 01:34 PM.
 
1 members found this post helpful.
Old 05-22-2018, 12:24 PM   #3
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by rokytnji View Post
I think. By emailing the uploader to supply you with a better download. May be some one else knows how to video edit singular frames from a whole movie using blender. I don't.

Edit: In the meantime. You might want cruise http://archive.org/web/
till you get a answer you want. They have some cool stuff there as far as films go.
Thanks for your help.
 
Old 05-22-2018, 09:29 PM   #4
RPI3dv
LQ Newbie
 
Registered: May 2018
Posts: 9

Rep: Reputation: Disabled
edit

Last edited by RPI3dv; 05-23-2018 at 04:18 AM.
 
Old 05-22-2018, 09:54 PM   #5
Sefyir
Member
 
Registered: Mar 2015
Distribution: Linux Mint
Posts: 634

Rep: Reputation: 316Reputation: 316Reputation: 316Reputation: 316
Youtube provides multiple sizes of every video uploaded

youtube-dl -F 'https://www.youtube.com/watch?v=ulYmXEuOXXk' shows this

Code:
[youtube] ulYmXEuOXXk: Downloading webpage
[youtube] ulYmXEuOXXk: Downloading video info webpage
[youtube] ulYmXEuOXXk: Extracting video information
[info] Available formats for ulYmXEuOXXk:
format code  extension  resolution note
249          webm       audio only DASH audio   59k , opus @ 50k, 28.43MiB
250          webm       audio only DASH audio   85k , opus @ 70k, 39.38MiB
171          webm       audio only DASH audio  124k , vorbis@128k, 57.75MiB
140          m4a        audio only DASH audio  146k , m4a_dash container, mp4a.40.2@128k, 69.44MiB
251          webm       audio only DASH audio  165k , opus @160k, 77.25MiB
278          webm       256x144    144p  123k , webm container, vp9, 25fps, video only, 51.57MiB
160          mp4        256x144    144p  128k , avc1.4d400c, 25fps, video only, 60.56MiB
242          webm       426x240    240p  244k , vp9, 25fps, video only, 83.02MiB
133          mp4        426x240    240p  263k , avc1.4d4015, 25fps, video only, 133.94MiB
243          webm       640x360    360p  484k , vp9, 25fps, video only, 201.90MiB
134          mp4        640x360    360p  642k , avc1.4d401e, 25fps, video only, 275.61MiB
244          webm       854x480    480p  896k , vp9, 25fps, video only, 391.06MiB
135          mp4        854x480    480p 1191k , avc1.4d401e, 25fps, video only, 601.58MiB
247          webm       1280x720   720p 1857k , vp9, 25fps, video only, 870.86MiB
136          mp4        1280x720   720p 2400k , avc1.4d401f, 25fps, video only, 1.19GiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3, mp4a.40.2
43           webm       640x360    medium , vp8.0, vorbis@128k
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
You can select a different size with -f. Trial other resolutions and see if those fit better
 
1 members found this post helpful.
Old 05-22-2018, 10:13 PM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
If your cpu can handle it. Use Handbrake to re-sample your movie down to a smaller size that you tell it to be.
 
Old 05-23-2018, 04:21 AM   #7
RPI3dv
LQ Newbie
 
Registered: May 2018
Posts: 9

Rep: Reputation: Disabled
@ porphyry5

The video is way zoomed in. It's a bad recording or encoding. It will play the same online and offline. Below is a better aspect ratio video of Born to kill.

https://ffilms.org/born-to-kill-1947/
 
1 members found this post helpful.
Old 05-23-2018, 08:13 AM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Have you heard about popcorn time yet? It’s a nice piece of software that allows you to watch movies and tv shows. I’ve found it easy to install and easy to use. You should check it out.
 
1 members found this post helpful.
Old 05-23-2018, 04:33 PM   #9
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by Sefyir View Post
Youtube provides multiple sizes of every video uploaded

youtube-dl -F 'https://www.youtube.com/watch?v=ulYmXEuOXXk' shows this

Code:
[youtube] ulYmXEuOXXk: Downloading webpage
[youtube] ulYmXEuOXXk: Downloading video info webpage
[youtube] ulYmXEuOXXk: Extracting video information
[info] Available formats for ulYmXEuOXXk:
format code  extension  resolution note
249          webm       audio only DASH audio   59k , opus @ 50k, 28.43MiB
250          webm       audio only DASH audio   85k , opus @ 70k, 39.38MiB
171          webm       audio only DASH audio  124k , vorbis@128k, 57.75MiB
140          m4a        audio only DASH audio  146k , m4a_dash container, mp4a.40.2@128k, 69.44MiB
251          webm       audio only DASH audio  165k , opus @160k, 77.25MiB
278          webm       256x144    144p  123k , webm container, vp9, 25fps, video only, 51.57MiB
160          mp4        256x144    144p  128k , avc1.4d400c, 25fps, video only, 60.56MiB
242          webm       426x240    240p  244k , vp9, 25fps, video only, 83.02MiB
133          mp4        426x240    240p  263k , avc1.4d4015, 25fps, video only, 133.94MiB
243          webm       640x360    360p  484k , vp9, 25fps, video only, 201.90MiB
134          mp4        640x360    360p  642k , avc1.4d401e, 25fps, video only, 275.61MiB
244          webm       854x480    480p  896k , vp9, 25fps, video only, 391.06MiB
135          mp4        854x480    480p 1191k , avc1.4d401e, 25fps, video only, 601.58MiB
247          webm       1280x720   720p 1857k , vp9, 25fps, video only, 870.86MiB
136          mp4        1280x720   720p 2400k , avc1.4d401f, 25fps, video only, 1.19GiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3, mp4a.40.2
43           webm       640x360    medium , vp8.0, vorbis@128k
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
You can select a different size with -f. Trial other resolutions and see if those fit better
Many thanks for this info. Just what I needed.
 
Old 05-24-2018, 03:22 PM   #10
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch, Lubuntu 18.04 OpenSUSE Leap 15.x
Posts: 518

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by RPI3dv View Post
@ porphyry5

The video is way zoomed in. It's a bad recording or encoding. It will play the same online and offline. Below is a better aspect ratio video of Born to kill.

https://ffilms.org/born-to-kill-1947/
Unfortunately, I have to mark this thread as UNSOLVED again, all available formats of 'https://www.youtube.com/watch?v=ulYmXEuOXXk' have the same problem. As RPI3dv says, it is a bad recording. From the appearance of the video, the uploader encoded it from 4/3 ar to 16/9. The best available solution is to find an undistorted version of the video.
 
  


Reply

Tags
firefox, mplayer, video, youtube, youtube-dl



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Youtube-DL A Command-Line & GUI Youtube, Facebook, Dailymotion Videos Downloading Tool For Li LXer Syndicated Linux News 0 10-11-2015 02:51 PM
LXer: youtube-dl – download Youtube videos from linux command Line LXer Syndicated Linux News 0 06-24-2014 12:11 PM
LXer: Search YouTube videos on Ubuntu with the YouTube Lens LXer Syndicated Linux News 0 12-30-2011 08:40 PM
Firefox Cannot Display Youtube Properly or Play Streaming Videos springBreeze Linux - Software 1 09-01-2009 12:34 AM
LXer: Youtube-dl - Download videos from Youtube in openSUSE LXer Syndicated Linux News 1 08-14-2008 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:49 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