DVDs video made with DVDStyler don't play ok with background audio

Bug #1049113 reported by marco.pallotta
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
DVDStyler
Unknown
Unknown
dvdstyler (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I made DVD Video with DVDStyler.
The problem is that with background audio (ac3 file) DVD doesn't play well: that is menu is displayed but it seems that you cannot interact with buttons on the menu itself.
If i remove audio background all works ok.

I tried with ac3 files (audio or stero) and mp2 files. Obviously in DVD option I correctly selected audio format.
The strange thing is that audio background seem correctly inserted into DVD tree: in fact I have found, in the DVD tree, an mpeg file that is just the DVD menu with audio background, and I suppose it is this the file DVD player should play.

Tested with DVDStyler version is 2.1 on Ubuntu 12.04.

Revision history for this message
marco.pallotta (marco-pallotta) wrote :
summary: - DVD svideo made with DVDStyler doesn't play ok with background audio
+ DVDs video made with DVDStyler don't play ok with background audio
description: updated
Revision history for this message
marco.pallotta (marco-pallotta) wrote :

The bug assigner, in upstream, says that 'You need to install mjpegtools and then enable "use mplex for menus" in
Settings/core'. The problem is that DVDStyler, in Ubuntu 12.04, doesn't have this option.
At this point It could be a packaging issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dvdstyler (Ubuntu):
status: New → Confirmed
Revision history for this message
Wenedict M. Dontsov (dwm257) wrote :

Is this bug duplicate of Bug #1003905?

Revision history for this message
antti tyrvainen (antti-tyrvainen) wrote :

Yes, this is bug. I tried to compile the latest DVDstyler v2.3, which says the bug has been fixed. However, I cannot go forward with libavformats in Ubuntu 12.04.

./configure

checking for LIBAV... no
configure: error: Package requirements (libavformat >= 53.20.0 libavcodec >= 53.34.0 libavutil libswscale libavfilter >= 2.15.0) were not met:

No package 'libavformat' found
No package 'libavcodec' found
No package 'libavutil' found
No package 'libswscale' found
No package 'libavfilter' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBAV_CFLAGS
and LIBAV_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

How to solve the above?

Thanks,

Antti

Revision history for this message
Wenedict M. Dontsov (dwm257) wrote :

In ppa:dvdstyler-maintainers/ppa are 2.3-0ubuntu1~quantal2 version. Bug still are present.

Revision history for this message
antti tyrvainen (antti-tyrvainen) wrote :

Hi Wenedict,

http://ppa.launchpad.net/dvdstyler-maintainers/ppa/ubuntu/dists/precise/main/binary-amd64/Packages

Ubuntu 12.04 seems to have DVDStyler version: 2.3-0ubuntu1~precise2

It depends on libavcodec53 (>= 4:0.8-1~) | libavcodec-extra-53 (>= 4:0.8-1~), libavformat53 (>= 4:0.8-1~), which I have. Where can I found this source code?

Thanks,

Antti

Revision history for this message
antti tyrvainen (antti-tyrvainen) wrote :

Hi Wenedict,

I found DVDStyler v2.3 binaries and tried it on Ubuntu 12.04. I can confirm bug still exists. If I remove background music from the DVD menu, then it works.

Cheers,

Antti

DVDStyler v2.3
Linux 3.2.0-29-generic x86_64
FFmpeg: libavformat 53.21.0, libavcodec 53.35.0, libavutil 51.22.1
Prepare
Cleaning temporary directory
Search for transcoded files in cache
Generating menus
Generating menu 1 of 1
Create menu MPEG
Audio duration: 249.000000 sec
Multiplexing audio and video
Transcode video file: /tmp/dvd-tmp/menu1-0.mpg_bg.m2v
Need encode: true, use mplex: false
Executing command: avconv -i "/tmp/dvd-tmp/menu1-0.mpg_bg.m2v" -i "/home/antti/Videos/WipeOut/bad_piggies_long.mp3" -f dvd -c:v:0 copy -b:a 224000 -ar 48000 -c:a:0 mp2 "/tmp/dvd-tmp/menu1-0.mpg_bg.mpg"
avconv version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
  built on Jun 12 2012 16:52:09 with gcc 4.6.3
[mpegvideo @ 0xe407a0] max_analyze_duration reached
[mpegvideo @ 0xe407a0] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegvideo, from '/tmp/dvd-tmp/menu1-0.mpg_bg.m2v':
  Duration: 00:00:46.31, bitrate: 9000 kb/s
    Stream #0.0: Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9000 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc
[mp3 @ 0xe41080] max_analyze_duration reached
Input #1, mp3, from '/home/antti/Videos/WipeOut/bad_piggies_long.mp3':
  Metadata:
    artist : Bad Piggies
    title : Bad Piggies long
    date : 2012
  Duration: 00:04:09.23, start: 0.000000, bitrate: 197 kb/s
    Stream #1.0: Audio: mp3, 44100 Hz, stereo, s16, 197 kb/s
Output #0, dvd, to '/tmp/dvd-tmp/menu1-0.mpg_bg.mpg':
  Metadata:
    encoder : Lavf53.21.0
    Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], q=2-31, 9000 kb/s, 90k tbn, 1200k tbc
    Stream #0.1: Audio: mp2, 48000 Hz, stereo, s16, 224 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #1:0 -> #0:1 (mp3 -> mp2)
Press ctrl-c to stop encoding
frame= 624 fps= 0 q=-1.0 size= 5838kB time=24.91 bitrate=1919.8kbits/s
frame= 1273 fps=1273 q=-1.0 size= 11912kB time=50.88 bitrate=1917.9kbits/s
frame= 1927 fps=1284 q=-1.0 size= 18096kB time=77.04 bitrate=1924.2kbits/s
frame= 2581 fps=1290 q=-1.0 size= 24176kB time=103.20 bitrate=1919.1kbits/s
frame= 3235 fps=1294 q=-1.0 size= 30360kB time=129.36 bitrate=1922.6kbits/s
frame= 3890 fps=1296 q=-1.0 size= 36518kB time=155.54 bitrate=1923.3kbits/s
frame= 4512 fps=1289 q=-1.0 size= 42290kB time=180.44 bitrate=1920.0kbits/s
frame= 5166 fps=1291 q=-1.0 size= 48470kB time=206.60 bitrate=1921.9kbits/s
frame= 5820 fps=1293 q=-1.0 size= 54548kB time=232.76 bitrate=1919.8kbits/s
frame= 6226 fps=1293 q=-1.0 Lsize= 58404kB time=249.00 bitrate=1921.5kbits/s
video:50884kB audio:6815kB global headers:0kB muxing overhead 1.220791%
Multiplexing subpictures into mpeg

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

I uploaded in the dvdstyler-maintainer stable ppa a 2.3 version that support mplex multiplexing. Could you please test it, enabling multiplexing menus with mplex previously?

You can find the packages at https://launchpad.net/~dvdstyler-maintainers/+archive/ppa/+packages.

If this fixes the issue, I'll upload a fixed version in Ubuntu.

Thanks,

Fabrice

Revision history for this message
Wenedict M. Dontsov (dwm257) wrote :

Hi, Fabrice!
Now in version 2.3-0ubuntu1~quantal3 menu with background audio works correctly. Thank you!

Revision history for this message
antti tyrvainen (antti-tyrvainen) wrote :

Hi Fabrice,

I tested it on Ubuntu 12.04 and AMD 64-bit version. It works. Big thanks!

 dpkg --status dvdstyler
Package: dvdstyler
Status: install ok installed
Priority: optional
Section: graphics
Installed-Size: 1664
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Version: 2.3-0ubuntu1~precise3
Replaces: dvdstyler-data (<= 1.7.2-0ubuntu1)
Depends: dvdstyler-data (= 2.3-0ubuntu1~precise3), dvdauthor, genisoimage, dvd+rw-tools, libavcodec53 (>= 4:0.8-1~) | libavcodec-extra-53 (>= 4:0.8-1~), libavformat53 (>= 4:0.8-1~) | libavformat-extra-53 (>= 4:0.8-1~), libavutil51 (>= 4:0.8-1~) | libavutil-extra-51 (>= 4:0.8-1~), libc6 (>= 2.14), libexif12, libfontconfig1 (>= 2.8.0), libgcc1 (>= 1:4.1.1), libjpeg8 (>= 8c), libstdc++6 (>= 4.1.1), libswscale2 (>= 4:0.8-1~) | libswscale-extra-2 (>= 4:0.8-1~), libwxbase2.8-0 (>= 2.8.12.1), libwxgtk2.8-0 (>= 2.8.12.1), libwxsvg0

Antti

Revision history for this message
Brian Stewart (brianstew) wrote :

Hi Fabrice,
Many thanks for a wonderful DVDSTYLER.
I find it very useful for creating good looking DVD's with impressive menu capabilities.
I have tried many others, most seem to be restrictive in either menu generation or video file formats.
I particularly like it's ability to enable a long movie creation to fit a DVD.

I had also encountered problems adding audio to the menu (ubuntu 12.04 DVDStyler 2.1) when playing back in a standalone DVD player (recorder - Philips DVDR 70). This was resolved with DVDStyler 2.3.4.

This player (Philips DVDR 70) also had problems with menu's created by DVDStyler whereby the menu would dissapear after about 1/2 second. I changed the Menu frame count (in core settings) from 12 to 100 and the menu stayed visible for 4 seconds.
Increasing the frame count above 100 (125 & 200 tried) the menu stays visible permanently. This may help other users with similar problems.

Before being able to load 2.3.4 ubuntu version I loaded the windows 2.3.4 version with WINE and found a slight difference in operation:-

Ubuntu version add video files as separate Titles (as does Windows version in Windows).
Windows version (with WINE) seems to add video files as chapters to Title 1. Odd - why the difference?

********* I also have a query/request *********
I like to create DVD's for simple use. (For viewing by limited ability persons who cannot use a remote - a carer can insert the DVD and does not need to be present for menu choices).
These would preferably have a menu with a number of Titles, each one returning to the menu after playing. Also the option of Play all (in sequence) from the menu. This operation is easily obtained in DVDStyler.
The request would be to begin playing ALL TITLES if no menu choice is made after about 30 secs.
This can partly be achieved by using the POST COMMANDS: in the menu properties, but can only point to a Title, eg Title 1. But returns to the menu (as per the post command in the video preference for Title 1).
Is is possible to add a Post command in the menu to emulate a button function - EG the Play All button?

Many thanks
Brian

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi Brian,

This can be achieve by using conditional jumps, interpreted by dvdauthor (as described there: http://osdir.com/ml/multimedia.dvdauthor.user/2004-04/msg00136.html ). I remember doign so some time ago, but can't find the example again.

cheers,

Fabrice

Revision history for this message
Brian Stewart (brianstew) wrote :

Hi Fabrice,
Many thanks for that. It solved my problem.
I had previously added a play all buttom and ticked the play all option for it.
I was concerned about use of the gx registers, not knowing if this would upset DVDStyler, but I noticed that it seems to detect useage and uses another instead. This caused me a bit of a problem because I was trying to make use of the g0,1,2 being used by DVDStyler.

Thanks again and hope you enjoyed your Christmas.

Brian

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dvdstyler - 2.5.2-0ubuntu1

---------------
dvdstyler (2.5.2-0ubuntu1) saucy; urgency=low

  * New upstream release (LP: #1132643)
  * This will fix also (LP: #1074815) and (LP: #1049113)
  * Drop fix_linkage patch as it has been applied upstream
  * fix_no_audio_input.patch: fix a bug when there is no audio in the input
    video
  * debian/control: bump Standards-version to 3.9.4. No changes requires.
 -- Fabrice Coutadeur <email address hidden> Tue, 20 Aug 2013 09:06:14 +0200

Changed in dvdstyler (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.