Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.infosystems.www.authoring.html > #7836

H.263

From Siard <saylor259@mailbox.org>
Newsgroups comp.infosystems.www.authoring.html
Subject H.263
Date 2026-04-03 18:49 +0200
Message-ID <n3a9jfFnqbgU1@mid.individual.net> (permalink)

Show all headers | View raw


Video codec H.263, like H.265, is not supported by browsers, so only audio
can be played. Here is such a video:

  https://www.tanchazheerenveen.nl/media/test_h263.mp4

But I can use ffmpeg to convert it to H.264.
This is the command I found:

  ffmpeg -i test_h263.mp4 -c:v libx264 -preset medium -crf 23 -c:a aac test2.mp4

I will show the first 10 seconds of the resulting video:

  https://www.tanchazheerenveen.nl/media/test2.mp4

As you see, the video is horizontally compressed, it's too narrow.
As far as I understand, this has to do with the fact that H.263 only supports
a maximum width of 1408 pixels. The video is 1920x1080 pixels, so there is a
margin on both sides.
I can use ffmpeg to remove those margins:

  ffmpeg -i test2.mp4 -filter:v "crop=1400:1080:260:0" test3.mp4

resulting in this video:

  https://www.tanchazheerenveen.nl/media/test3.mp4

and finally, restore the aspect ratio:

  ffmpeg -i test3.mp4 -aspect 16:9 test4.mp4

resulting in this video:

  https://www.tanchazheerenveen.nl/media/test4.mp4

The video is now displayed correctly in Firefox!
However! In Chrome and Chrome-based browsers it's still too narrow.
Is there perhaps something I can do to correct this?

Back to comp.infosystems.www.authoring.html | Previous | NextNext in thread | Find similar


Thread

H.263 Siard <saylor259@mailbox.org> - 2026-04-03 18:49 +0200
  Re: H.263 Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-04-03 23:05 +0000
    Re: H.263 Siard <saylor259@mailbox.org> - 2026-04-04 14:22 +0200
  Re: H.263 JJ <jj4public@gmail.com> - 2026-04-04 06:06 +0700
    Re: H.263 Siard <saylor259@mailbox.org> - 2026-04-04 11:10 +0200
  Re: H.263 Arno Welzel <usenet@arnowelzel.de> - 2026-04-06 22:00 +0200
    Re: H.263 Siard <saylor259@mailbox.org> - 2026-04-07 10:30 +0200
      Re: H.263 Arno Welzel <usenet@arnowelzel.de> - 2026-04-07 11:15 +0200

csiph-web