← Back to team overview

openshot.bugs team mailing list archive

[Bug 1592470] [NEW] OpenShot doesn't work correctly with 720x576 footage that has aspect ratio 16:9

 

Public bug reported:

The original video is 720x576, but its actual aspect ratio is 16:9
(camera produces this format). ffplay and other players play it
correctly. However, when I import it to OpenShot, it is displayed as 4:3
(even though the properties correctly say that it is 16:9) in monitor. I
guess OpenShot just ignores the aspect ratio from metadata and displays
it as if pixels are square.

Similarly, when I export it as DV/DVD Widescreen PAL (I verified on the
extended tab that the aspect ratio is set to 16:9, and resolution to
720x576), I get a file that is actually 720x576, but the aspect ratio
isn't specified in its metadata, so it is played as 4:3.

I'm attaching the source file (it is not from camera: the file from
camera was big, so I cut it with ffmpeg) MOV057A2.MP4

Looks like I can only attach one file... Output file is
https://drive.google.com/open?id=0B8I7dEvMeq0COF9QRnF3OHNXRU0

Export profile: http://i.imgur.com/H9Ax0yY.png

When I try to export the same project as 720p, I get letterboxing.

Technical details
-------------------

OS: Fedora 23
OpenShot version: 2.0.7
Installation method: took AppImage from official website.

FFPlay plays reproduction media correctly. FFPlay plays output media as
4:3 (which is correct according to its metadata, but signifies incorrect
export behaviour in OpenShot). Same with mlt-melt.

Installed ffmpeg version: 2.8.7
Installed mlt-melt version: 6.0.0
I didn't check if OpenShot uses installed versions or brings its own.

FFMpeg details of reproduction media:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MOV057A2.MP4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf56.40.101
  Duration: 00:00:10.72, start: 0.000000, bitrate: 5721 kb/s
    Stream #0:0(und): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt470bg), 720x576 [SAR 64:45 DAR 16:9], 5333 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 384 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Side data:
      audio service type: main

FFMpeg details of exported media:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Export.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.20.4
  Duration: 00:00:10.73, start: 0.033991, bitrate: 14111 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576, 13923 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 44100 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
    Side data:
      audio service type: main

** Affects: openshot
     Importance: Undecided
         Status: New

** Attachment added: "The reproduction media"
   https://bugs.launchpad.net/bugs/1592470/+attachment/4683658/+files/MOV057A2.MP4

-- 
You received this bug notification because you are a member of OpenShot
Bugs, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1592470

Title:
  OpenShot doesn't work correctly with 720x576 footage that has aspect
  ratio 16:9

Status in OpenShot Video Editor:
  New

Bug description:
  The original video is 720x576, but its actual aspect ratio is 16:9
  (camera produces this format). ffplay and other players play it
  correctly. However, when I import it to OpenShot, it is displayed as
  4:3 (even though the properties correctly say that it is 16:9) in
  monitor. I guess OpenShot just ignores the aspect ratio from metadata
  and displays it as if pixels are square.

  Similarly, when I export it as DV/DVD Widescreen PAL (I verified on
  the extended tab that the aspect ratio is set to 16:9, and resolution
  to 720x576), I get a file that is actually 720x576, but the aspect
  ratio isn't specified in its metadata, so it is played as 4:3.

  I'm attaching the source file (it is not from camera: the file from
  camera was big, so I cut it with ffmpeg) MOV057A2.MP4

  Looks like I can only attach one file... Output file is
  https://drive.google.com/open?id=0B8I7dEvMeq0COF9QRnF3OHNXRU0

  Export profile: http://i.imgur.com/H9Ax0yY.png

  When I try to export the same project as 720p, I get letterboxing.

  Technical details
  -------------------

  OS: Fedora 23
  OpenShot version: 2.0.7
  Installation method: took AppImage from official website.

  FFPlay plays reproduction media correctly. FFPlay plays output media
  as 4:3 (which is correct according to its metadata, but signifies
  incorrect export behaviour in OpenShot). Same with mlt-melt.

  Installed ffmpeg version: 2.8.7
  Installed mlt-melt version: 6.0.0
  I didn't check if OpenShot uses installed versions or brings its own.

  FFMpeg details of reproduction media:

  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MOV057A2.MP4':
    Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2mp41
      encoder         : Lavf56.40.101
    Duration: 00:00:10.72, start: 0.000000, bitrate: 5721 kb/s
      Stream #0:0(und): Video: mpeg2video (Main) (mp4v / 0x7634706D), yuv420p(tv, bt470bg), 720x576 [SAR 64:45 DAR 16:9], 5333 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
      Metadata:
        handler_name    : VideoHandler
      Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 384 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
      Side data:
        audio service type: main

  FFMpeg details of exported media:

  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Export.mp4':
    Metadata:
      major_brand     : isom
      minor_version   : 512
      compatible_brands: isomiso2avc1mp41
      encoder         : Lavf54.20.4
    Duration: 00:00:10.73, start: 0.033991, bitrate: 14111 kb/s
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x576, 13923 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc (default)
      Metadata:
        handler_name    : VideoHandler
      Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 44100 Hz, stereo, fltp, 192 kb/s (default)
      Metadata:
        handler_name    : SoundHandler
      Side data:
        audio service type: main

To manage notifications about this bug go to:
https://bugs.launchpad.net/openshot/+bug/1592470/+subscriptions