Menu

#687 Incorrect assessment whether MP4 fits on a DVD

common
closed
nobody
None
5
2021-11-14
2019-08-02
No

There is a possible bug in DVD Styler assessing whether an MP4 will fit on a DVD.

  • I create a blank DVD project aimed at a 4.7GB DVD using all initial defaults
  • I drag a 113 minute .mp4 file into the bottom bar
  • The bottom bar updates to say 113/136 Minutes with an auto-encoding rate of 4.7Mb/s
  • However when I click the "Burn" button, it reports "The selected video files don't fit on the DVD..."
  • This is not correct. If I adjust adjust the DVD size to 8.6GB I get the same result. The only way of getting the system to accept the video is if I manually specify 2MB/s rate, which is quite lossy.
  • If I recode the original MP4 using Handbrake it then works fine.
  • The MP4 was originally generated using DVDFab.

Is this a known issue?

ffmpeg reports the MP4 as follows:

Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:........':
Duration: 01:31:19.01, start: 0.000000, bitrate: 1382 kb/s
Stream #0.0(und): Video: h264, yuv420p, 1024x428 [PAR 1:1 DAR 256:107], 25 tbr, 25k tbn, 50 tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, 2 channels, s16
Stream #0.2(und): Subtitle: text / 0x74786574

Discussion

  • David Hedley

    David Hedley - 2019-08-02

    As an addendum to this, it would appear that DVDStyler seems to think there are 2 video streams in the MP4 video file. if I right click on the file and select properties I see

    Video: h264, 720x300 (PAL), 1:2.40 ....
    Audio: aac, 5.1, 48000 Hz ...
    Video: png, 720x300 (PAL), 1:2.40 ...

    This second video stream is clearly bogus. Is DVDStyler misreading something? I can see a way within DVDStyle of telling it to ignore this stream so I guess it's trying to fit what it thinks are 2x113 minutes on to the DVD which it can only do at 2Mb/s

     

    Last edit: David Hedley 2019-08-02
  • NtAlex

    NtAlex - 2019-08-04
    • status: open --> accepted
     
  • NtAlex

    NtAlex - 2019-08-04

    Unfortunately only audio or subtitle streams can be ignored by selecting "none" in title properties now.

     

    Last edit: NtAlex 2019-08-04
  • JMJ

    JMJ - 2019-08-06

    I would start by re-muxing to MKV with MKVToolNIX

    https://sourceforge.net/p/dvdstyler/discussion/318795/thread/ac5daf1f/

     

    Last edit: JMJ 2019-08-06
  • Haravikk

    Haravikk - 2019-10-02

    I came to report the same issue; it looks like your video file probably has a preview image added to it, which was the case with the ones I'm having trouble with as well.

    In my case the mp4's were created by Handbrake in the first place, except I then used a tagging tool (MetaZ) to add various tags and a preview image, since I'm going to be making the video availably digitally as well as burning DVDs for the handful of people have requested a physical copy.

    In my case I just ended up setting the capacity to Unlimited, chose my own bitrate (7.5mb/sec) and created the ISO image, which came out at 7.8gb, which is comfortably under the 8.5gb capacity for the dual layer disks that I'm using. Depending how close you are to the limit you may need to generate the ISO a few times at different bit-rates until you get one at a size you know will fit.

    As for fixing this; can DVDStyler even handle multiple video streams from the same file? Could it not just ignore any additional video streams (except those marked as subtitles)?

    Alternatively, at a glance in ffprobe, the embedded image "stream" doesn't have a bit-rate as other streams do, so if DVDStyler can detect this then perhaps it could use that to identify a still image, this would be cleaner than having to try to maintain a list of image codecs.

    Kudos to the developers anyway though, this minor issue aside this has been a great tool!

     
  • NtAlex

    NtAlex - 2019-10-27

    fixed in v3.2 beta 1

     
  • NtAlex

    NtAlex - 2021-11-14
    • status: accepted --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB