Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mplayer shows movie on a quarter screen only on macOS #175476

Closed
4 tasks done
aihua opened this issue Jun 24, 2024 · 6 comments · Fixed by #180026
Closed
4 tasks done

Mplayer shows movie on a quarter screen only on macOS #175476

aihua opened this issue Jun 24, 2024 · 6 comments · Fixed by #180026
Labels
bug Reproducible Homebrew/homebrew-core bug upstream issue An upstream issue report is needed

Comments

@aihua
Copy link

aihua commented Jun 24, 2024

brew gist-logs <formula> link OR brew config AND brew doctor output

HOMEBREW_VERSION: 4.3.7
HEAD: 43eaeca50fe3b6c755f3fc9bc6f43669e0db1039
Last commit: 29 hours ago
Core tap JSON: 25 Jun 11:52 UTC
Core cask tap JSON: 25 Jun 11:52 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 3.3.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.3/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 15.0.0 build 1500
Git: 2.39.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 8.6.0 => /usr/bin/curl
macOS: 14.5-x86_64
CLT: 15.3.0.0.1.1708646388
Xcode: 15.4

Verification

  • My brew doctor output says Your system is ready to brew. and am still able to reproduce my issue.
  • I ran brew update and am still able to reproduce my issue.
  • I have resolved all warnings from brew doctor and that did not fix my problem.
  • I searched for recent similar issues at https://github.com/Homebrew/homebrew-core/issues?q=is%3Aissue and found no duplicates.

What were you trying to do (and why)?

Watching video with mplayer on macOS at display’s resolution to 1920*1080 with 4K (3840*2160) monitor.

What happened (include all command output)?

MPlayer 1.5-15.0.0 (C) 2000-2022 MPlayer Team
Can't init Apple Remote.

libavformat version 59.17.102 (internal)
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1012e4410]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO:  [H264]  1280x720  24bpp  30.000 fps   81.4 kbps ( 9.9 kbyte/s)
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 59.21.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 comment: vid:v0200fg10000ce2rq9bc77ucgufpqo7g
 encoder: Lavf58.76.100
Load subtitles in ./
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[aac @ 0x101326a20]Multiple frames in a packet.
AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16000->352800)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [coreaudio] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...
[aac @ 0x101326a20]channel element 0.0 is not allocated
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [gl_nosw] 1280x720 => 1280x720 Planar YV12 
A:  18.9 V:  18.9 A-V:  0.009 ct: -0.044   0/  0  5%  2%  0.3% 4 0                                                                  

Exiting... (Quit)

What did you expect to happen?

Mplayer shows movie on a full window/screen at display’s resolution to 1920*1080 with 4K (3840*2160) monitor.

Step-by-step reproduction instructions (by running brew commands)

1) mplayer example.avi
2) Mplayer shows movie on a quarter screen only as: 
https://apple.stackexchange.com/questions/438169/mplayer-shows-movie-on-a-quarter-screen-only
3) while ffplay example.avi , the movie is shown on full screen.

https://apple.stackexchange.com/questions/438169/mplayer-shows-movie-on-a-quarter-screen-only

@aihua aihua added the bug Reproducible Homebrew/homebrew-core bug label Jun 24, 2024
@SMillerDev
Copy link
Member

Does this also happen when you build it outside of brew?

@aihua
Copy link
Author

aihua commented Jun 25, 2024

Does this also happen when you build it outside of brew?

I have not build it outside of brew.
BTW, when Change my Mac display’s resolution to 3840*2160, then mplayer example.avi, it shows the movie on a full screen. When change the Mac display’s resolution to 1920*1080, then mplayer example.avi, it shows the movie on a quarter screen.

Screenshot at display’s resolution to 3840*2160, it is full screen:
Screenshot at display’s resolution to 3840*2160, it is full screen

Screenshot at display’s resolution to 1920*1080, it is quarter screen:
Screenshot at display’s resolution to 1920*1080, it is quarter screen

@SMillerDev
Copy link
Member

Really seems like something you should report to the developers so they can have a look.

@cho-m cho-m added the upstream issue An upstream issue report is needed label Jul 1, 2024
@cho-m
Copy link
Member

cho-m commented Jul 1, 2024

I'm guessing it is related to upstream https://trac.mplayerhq.hu/ticket/2383. If someone wants, they can try backporting fix, test that it works on Intel machine, and submit PR. Otherwise, will need to wait until upstream does a 1.6 release or try building formula's HEAD.

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added stale No recent activity and removed stale No recent activity labels Jul 22, 2024
@cho-m
Copy link
Member

cho-m commented Aug 5, 2024

I applied a fix current release that worked for me (reproduced and tested via Rosetta).

Run brew reinstall mplayer to get the new bottle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Reproducible Homebrew/homebrew-core bug upstream issue An upstream issue report is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants
@aihua @SMillerDev @cho-m and others