dvd-slideshow reports error using ffmpeg

Bug #294502 reported by Gerardo Castro
22
Affects Status Importance Assigned to Milestone
dvd-slideshow (Ubuntu)
Fix Released
Undecided
Unassigned
Gutsy
Won't Fix
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned
Intrepid
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dvd-slideshow

dvd-slideshow -mp2 -n 'guion' -f 'guion.txt' -a '2.mp3' outputs

[dvd-slideshow] ERROR: no output .mpg file found!
[dvd-slideshow] This usually happens when ffmpeg screws up something
[dvd-slideshow] or one image is messed up and the resulting video can't be created
[dvd-slideshow]############################################################
[dvd-slideshow] Multiplexing audio and video...
[dvd-slideshow] Some sequence marker warnings here are normal
**ERROR: [mplex] Unable to open file /home/gejo/Escritorio/carpeta sin título/dvd-slideshow_temp_7083/video.mpg for reading.
[dvd-slideshow] ERROR during mplex execution!

I've tried some tweeks into the script that i found in the internet (like appending 'k' after 128 , 196, etc , changing audio1.wav ) but i still have same problem.
If I run without the -mp2 modifier, it shows another error message:

ERROR: no output .mpg file found!
[dvd-slideshow] This usually happens when ffmpeg screws up something
[dvd-slideshow] or one image is messed up and the resulting video can't be created

I am using ubuntu 64 bits
Description: Ubuntu 8.10
Release: 8.10

I am using :

Instalados: 0.8.0-0.0ubuntu1
  Candidato: 0.8.0-0.0ubuntu1
  Tabla de versión:
 *** 0.8.0-0.0ubuntu1 0
        500 http://uy.archive.ubuntu.com intrepid/multiverse Packages
        100 /var/lib/dpkg/status

I could get a .vob file using -mpeg2enc -mp2 , but it's visibly slower then ffmpeg and the audio seems to be
 a bit low speed .

Revision history for this message
Shane Rice (shane2peru) wrote :
Download full text (5.7 KiB)

I can confirm this error! This is very annoying, and seems to be a dvd-slideshow error see here: http://dvd-slideshow.sourceforge.net/wiki/Changelog_0.8.1

Please Please Please get the 8.1 version into the repos as soon as it is released. I think this will fix the problem.

Here is my error:

dvd-slideshow -smp -L -r -border 100 -n testing -o tested/ -f testing.txt
[dvd-slideshow] dvd-slideshow 0.8.0
[dvd-slideshow] Licensed under the GNU GPL
[dvd-slideshow] Copyright 2003-2006 by Scott Dylewski
[dvd-slideshow]
[dvd-slideshow] Parsing input file testing.txt
[dvd-slideshow] ###########################################################
[dvd-slideshow] Found 9 images.
[dvd-slideshow] Found 0 audio files.
[dvd-slideshow] Found 1 background slides.
[dvd-slideshow] Found 0 title slides.
[dvd-slideshow] Found 10 transitions (fadein/fadeout/crossfade/wipe).
[dvd-slideshow] Video: NTSC 720x480 29.97fps 4:3
[dvd-slideshow] Audio: AC3 48000 192
[dvd-slideshow] Debug=0 Autocrop=1 Subtitles=dvd Border=100
[dvd-slideshow] Using SMP optimizations for multi-processor machines
[dvd-slideshow] Title_font=...r/share/fonts/type1/gsfonts/n019004l.pfb
[dvd-slideshow] Subtitle_font=...r/share/fonts/type1/gsfonts/n019004l.pfb
[dvd-slideshow] Total audio length =
[dvd-slideshow] Total video length = 0:0:29.000
[dvd-slideshow] WARNING: Using low-quality mode.
[dvd-slideshow] This mode is for testing only.
[dvd-slideshow] output resolution is 720x480
[dvd-slideshow] Ignore [mpeg2enc] warnings (usually)
[dvd-slideshow] Temp dir is tested/dvd-slideshow_temp_29730
[dvd-slideshow] Creating black background
[dvd-slideshow]############################################################
[dvd-slideshow] Creating black background
[dvd-slideshow]############################################################
[dvd-slideshow] Applying Fadein to next image 0:0:1.000
[dvd-slideshow]#######################################################xargs: cat: terminated by signal 13

[dvd-slideshow] 1/9 ...ase/FurloughPresentation/Final/00001.jpg 0:0:3.000
[dvd-slideshow]############################################################
[dvd-slideshow] Applying Crossfade between images 0:0:1.000
[dvd-slideshow]#######################################################xargs: cat: terminated by signal 13

[dvd-slideshow] 2/9 ...ase/FurloughPresentation/Final/00002.jpg 0:0:3.000
[dvd-slideshow]############################################################
[dvd-slideshow] Applying Crossfade between images 0:0:1.000
[dvd-slideshow]#######################################################xargs: cat: terminated by signal 13

[dvd-slideshow] 3/9 ...ase/FurloughPresentation/Final/00003.jpg 0:0:3.000
[dvd-slideshow]############################################################
[dvd-slideshow] Applying Crossfade between images 0:0:1.000
[dvd-slideshow]#######################################################xargs: cat: terminated by signal 13

[dvd-slideshow] 4/9 ...ase/FurloughPresentation/Final/00004.jpg 0:0:3.000
[dvd-slideshow]############################################################
[dvd-slideshow] Applying Crossfade between images 0:0:1.000
[dvd-slideshow]########...

Read more...

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Yes, I confirm this.
Version 0.8.1 fix it because of this (taken from 0.8.1 changelog):

...
...
- Added "k" to audio bitrate arguments to ffmpeg.
...
...

ref: http://forum.ubuntu-it.org/index.php/topic,187050.0.html

dvd-slideshow needs to be upgraded to version 0.8.1.

Changed in dvd-slideshow:
status: New → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I forgot to mention dvd-slideshow changelog page:
http://dvd-slideshow.sourceforge.net/wiki/Changelog_0.8.1

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

This bug was fixed in the package dvd-slideshow - 0.8.2-0.0ubuntu1

---------------
dvd-slideshow (0.8.2-0.0ubuntu1) jaunty; urgency=low

  * Merge from debian multimedia (LP: #294502).
  * Added libsox-fmt-all to Build-Depends.

dvd-slideshow (0.8.2-0.0) unstable; urgency=low

  * New upstream release.
  * Rework all patches.

dvd-slideshow (0.8.0-0.3) unstable; urgency=low

  * Added patch from Ian Campbell to enable the widescreen option and fix
    audio bitrate with new ffmpeg version.

dvd-slideshow (0.8.0-0.2) unstable; urgency=low

  * debian/copyright : Update upstream homepage.
  * Added patch from Daniel Boggasch to fix audio bitrate encoding with
    latest ffmpeg.

dvd-slideshow (0.8.0-0.1) unstable; urgency=high

  * dvd-slideshow was not installed in the package.

 -- Alessio Treglia <email address hidden> Thu, 08 Jan 2009 14:49:00 +0100

Changed in dvd-slideshow:
status: Confirmed → Fix Released
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

I made some tests and that package alone doesn't fix the problem.

In a clean Intrepid install, for example, I get the same error even with the new package (0.8.2) installed.

The problem vanish installing ubuntu-restricted-extras.

I mean that dvd-slideshow 0.8.2 is fundamental but it needs some dependencies.

I try to find out what packages do the trick and then dvd-slideshow needs to be rebuilt with correct dependencies.

I'll put here results of tests.

Changed in dvd-slideshow:
status: Fix Released → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Ok, I made some test on Intrepid.

Installing ubuntu-restricted-extra fixes the bug because it replaces libavcodec51 with libavcodec-unstripped-51.

 libavcodec51 is a dependence of ffmpeg that installs it by default (as other packages).

But ffmpeg dependence is libavcodec51 OR libavcodec-unstripped-51, so we should install this last by default to do the trick.

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Can you confirm this bug for Jaunty?

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Yes, I confirm it for Jaunty but it's fixed with dvd-slideshow version 0.8.2, but it still needs libavcodec-unstripped-52 (51 for Intrepid) to be installed.

Putting it as a dependence of dvd-slideshow fixes the bug.

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

This bug was fixed in the package dvd-slideshow - 0.8.2-0.0ubuntu2

---------------
dvd-slideshow (0.8.2-0.0ubuntu2) jaunty; urgency=low

  * Depends on libavcodec-unstripped-52 (LP: #294502).

 -- Alessio Treglia <email address hidden> Mon, 12 Jan 2009 20:50:36 +0100

Changed in dvd-slideshow:
status: Confirmed → Fix Released
Revision history for this message
Alessio Treglia (quadrispro) wrote :

Requested Stable Release Update

Revision history for this message
Alessio Treglia (quadrispro) wrote :

Fix and buildlog for Intrepid

Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK.

Changed in dvd-slideshow:
status: New → Confirmed
Revision history for this message
Shane Rice (shane2peru) wrote :

Great to see this being worked on!!! I have 0.8.1 installed on mine because I built it from source and that worked great. Looking forward to the Jaunty release and glad to hear that dvd-slideshow is being kept up dated! Thanks!

Shane

Changed in dvd-slideshow:
status: Fix Released → Confirmed
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Revision history for this message
Alessio Treglia (quadrispro) wrote :
Changed in dvd-slideshow:
status: New → Confirmed
status: New → Confirmed
status: Confirmed → New
status: Confirmed → New
Changed in dvd-slideshow:
status: Confirmed → Fix Released
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

motu-sru ACK.

Changed in dvd-slideshow:
status: New → Confirmed
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

Gutsy is 2 months before EOL, and this is not an urgent SRU.

Changed in dvd-slideshow:
status: Confirmed → Won't Fix
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into hardy-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in dvd-slideshow:
status: Confirmed → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed; please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Alessio Treglia (quadrispro) wrote :

dvd-slideshow 0.8.0-0.0ubuntu1 (intrepid) - This issue is still reproducible
dvd-slideshow 0.8.0-0.0ubuntu1.1 (intrepid-proposed) - This bug has been fixed, dvd-slideshow works fine

Verification done for Intrepid

Revision history for this message
Alessio Treglia (quadrispro) wrote :

0.7.5-0.0ubuntu1 (hardy) - The bug is reroducible
0.7.5-0.0ubuntu1.8.04 (hardy-proposed) - Fixed, and the application works fine

Verificaiton done for Hardy

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

This bug was fixed in the package dvd-slideshow - 0.7.5-0.0ubuntu1.8.04

---------------
dvd-slideshow (0.7.5-0.0ubuntu1.8.04) hardy-proposed; urgency=low

  * Added 03_fix_ffmpeg_audiobitrate.dpatch to fix the audiobitrate argument
    syntax for ffmpeg (LP: #294502).

 -- Alessio Treglia <email address hidden> Tue, 13 Jan 2009 23:29:43 +0100

Changed in dvd-slideshow:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dvd-slideshow - 0.8.0-0.0ubuntu1.1

---------------
dvd-slideshow (0.8.0-0.0ubuntu1.1) intrepid-proposed; urgency=low

  * Added debian/patches/02_dvd-slideshow_ffmpeg_audiobitrate.dpatch to fix
    ffmpeg commands (LP: #232148).
  * Added depends on libavcodec-unstripped-51 (LP: #294502).

 -- Alessio Treglia <email address hidden> Mon, 12 Jan 2009 22:26:49 +0100

Changed in dvd-slideshow:
status: Fix Committed → 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.