Bug 12854 - DeVeDe fails to create menus when converting videos!
Summary: DeVeDe fails to create menus when converting videos!
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 4
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: Mageia 4
Assignee: Cesar Vargas
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-02-23 03:00 CET by Ezequiel Ortiz Rossner
Modified: 2015-10-27 06:58 CET (History)
2 users (show)

See Also:
Source RPM: devede
CVE:
Status comment:


Attachments

Description Ezequiel Ortiz Rossner 2014-02-23 03:00:47 CET
Description of problem:

DeVeDe fails to create menus when converting videos.


Version-Release number of selected component (if applicable):

DeVeDe 3.22.0.

How reproducible:

When trying to convert video files to dvd.


Steps to Reproduce:
1.Add video file.
2.Click on foward button to start converting video.
3.devede throws an error message saying "Error, Menu generation failed". DeVeDe fails to create menus no matter if you use ffmpeg or mencoder to create menus, if you use ffmpeg it fails to create menu, OTOH if you use mencoder it goes in an endless loop trying to create menus, so it fails too.


This is the output info I get when opening devede using the terminal:


[ezequiel@localhost ~]$ devede
Gtk-Message: Failed to load module "canberra-gtk-module"
DeVeDe 3.22.0
Locale: en_US.UTF-8
Using package-installed files
/home/ezequiel/
Cores: 2 Virtual cores: 2
Entro en fonts
Salgo de fonts
/home/ezequiel/
Temp Directory is:  /var/tmp
home load:  /home/ezequiel/.devede
linea:  video_format:ntsc

linea:  temp_folder:/home/ezequiel/

linea:  multicore:2

linea:  hyperthreading:1

linea:  final_folder:/home/ezequiel/Videos

linea:  sub_language:EN (ENGLISH)

linea:  sub_codepage:ISO-8859-1

linea:  AC3_fix:1

linea:  erase_tmp_files:1

linea:  use_ffmpeg:1

linea:  use_ffmpeg_menu:0

linea:  
Creating window /usr/share/devede/wdisk_type.ui
Creating window /usr/share/devede/wmain.ui

(devede:3168): Gtk-WARNING **: Unknown property: GtkMenu.ubuntu-local
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /usr/share/devede/silence.ogg
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Longitud sonido: 38
PAL: False
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /usr/share/devede/silence.ogg
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Longitud sonido: 38
Calculating size for disk :dvd
Calculating size for disk :dvd
Creating window /usr/share/devede/wfile.ui
Anado filtro
Anado filtro
entro en parte critica
paso por set_lower
Fin
File changed to /home/ezequiel/Videos/ANIME VIDEOS/The.Black.Cauldron.1985.720p.WEB-DL.DD5.1.H.264-CtrlHD.mkv
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /home/ezequiel/Videos/ANIME VIDEOS/The.Black.Cauldron.1985.720p.WEB-DL.DD5.1.H.264-CtrlHD.mkv
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 1 /home/ezequiel/Videos/ANIME VIDEOS/The.Black.Cauldron.1985.720p.WEB-DL.DD5.1.H.264-CtrlHD.mkv
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
entro en parte critica
paso por set_lower
Activo ASPECT_RATIO
dvd
Props: {'ismpeg': False, 'copy_audio': False, 'ofps': 24, 'fps': 30, 'ofps2': '23.976'}
Props: {'ismpeg': False, 'copy_audio': False, 'ofps': 24, 'fps': 30, 'ofps2': '23.976'}
Rotate: 0
Meto pista 0
Pista seleccionada: 0
Props: {'ismpeg': False, 'copy_audio': False, 'ofps': 24, 'fps': 30, 'ofps2': '23.976'}
Creating window /usr/share/devede/add_subtitle2.ui
Elemento 4
Subtitles changed to type: Unknown
Props: {'ismpeg': False, 'copy_audio': False, 'ofps': 24, 'fps': 30, 'ofps2': '23.976'}
Calculating size for disk :dvd
6175
Calculating size for disk :dvd
6175
Calculating size for disk :dvd
Creating window /usr/share/devede/wprogress.ui
Creating window /usr/share/devede/wpreview_dialog.ui
Threads: 2
Creating window /usr/share/devede/wprogress.ui
Creating window /usr/share/devede/wfolder_dialog.ui
Entro en RUN
Salgo de RUN
Path para borrar: /home/ezequiel/Videos/cauldron/cauldron
Checking /home/ezequiel/Videos/cauldron/
Free space in /home/ezequiel/Videos/cauldron/: 62541257
estatus  posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=112545102, f_bfree=16072486, f_bavail=16072486, f_files=257191584, f_ffree=257162553, f_favail=257162553, f_flag=4096, f_namemax=255) 

Calculating size for disk :dvd
Free: 62541257
Needed: 3863413.0
/home/ezequiel/Videos/cauldron/cauldron.cue not found
/home/ezequiel/Videos/cauldron/cauldron.bin not found
/home/ezequiel/Videos/cauldron/cauldron/ not found
/home/ezequiel/Videos/cauldron/cauldron.iso not found
delete menu temp
delete menu
Deleting cauldron_??_??.mpg
Deleting cauldron.log
/home/ezequiel/Videos/cauldron/cauldron.log not found
/home/ezequiel/Videos/cauldron/cauldron.xml not found
/home/ezequiel/Videos/cauldron/cauldron.xml not found
Borro principal
Menu PAL: False
Elementos por menu: 11
Menu1 0 0
Uso /usr/share/devede/backgrounds/default_bg.png
0.35
Paint_bg 0 title text: 
0.35
Paint_bg 1 title text: 
0.35
Paint_bg 3 title text: 
Creating menus
Lanzo ['mencoder', '-srate', '48000', '-af', 'lavcresample=48000', '-oac', 'lavc', '-ovc', 'lavc', '-of', 'mpeg', '-mpegopts', 'format=dvd:tsaf', '-ofps', '30000/1001', '-vf', 'scale=720:480,harddup', '-lavcopts', 'threads=2:vcodec=mpeg2video:sc_threshold=1000000000:cgop:trell:mbd=2:vstrict=0:vrc_maxrate=4000:vrc_buf_size=1835:vbitrate=2500:keyint=12:acodec=ac3_fixed:abitrate=192:aspect=4/3', '-o', '/home/ezequiel/Videos/cauldron/cauldron_menu_0.mpg', '-audiofile', '/usr/share/devede/silence.ogg', '-mf', 'type=png:fps=1/38', 'mf:///home/ezequiel/Videos/cauldron/cauldron_menu0_bg.png']
Launching program:  mencoder -srate 48000 -af lavcresample=48000 -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -ofps 30000/1001 -vf scale=720:480,harddup -lavcopts threads=2:vcodec=mpeg2video:sc_threshold=1000000000:cgop:trell:mbd=2:vstrict=0:vrc_maxrate=4000:vrc_buf_size=1835:vbitrate=2500:keyint=12:acodec=ac3_fixed:abitrate=192:aspect=4/3 -o /home/ezequiel/Videos/cauldron/cauldron_menu_0.mpg -audiofile /usr/share/devede/silence.ogg -mf type=png:fps=1/38 mf:///home/ezequiel/Videos/cauldron/cauldron_menu0_bg.png
elemento:  /usr/bin
MEncoder SVN-3.r36361.1.mga4.tainted-4.8.2 (C) 2000-2013 MPlayer Team
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: /home/ezequiel/Videos/cauldron/cauldron_menu0_bg.png*
[mf] number of files: 1 (8)
VIDEO:  [MPNG]  0x0  24bpp  0.026 fps    0.0 kbps ( 0.0 kbyte/s)
libavformat version 55.12.100 (external)
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
[V] filefmt:65536  fourcc:0x474E504D  size:0x0  fps:0.026  ftime:=38.0000
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.18.102 (external)
AUDIO: 48000 Hz, 2 ch, floatle, 64.0 kbit/2.08% (ratio: 8000->384000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================

Exiting...
Unsupported AVSampleFormat 6
Unsupported AVSampleFormat 6
Audio encoder requires unknown or unsupported input format
Creating window /usr/share/devede/werror_dialog.ui
Creating window /usr/share/devede/aboutdialog1.ui
Threads: 2
Creating window /usr/share/devede/wprogress.ui
Creating window /usr/share/devede/wfolder_dialog.ui
Entro en RUN
Salgo de RUN
Creating window /usr/share/devede/wfolder_exists.ui
Path para borrar: /home/ezequiel/Videos/movie/movie
Checking /home/ezequiel/Videos/movie/
Free space in /home/ezequiel/Videos/movie/: 62530128
estatus  posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=112545102, f_bfree=16069626, f_bavail=16069626, f_files=257145888, f_ffree=257116704, f_favail=257116704, f_flag=4096, f_namemax=255) 

Calculating size for disk :dvd
Free: 62530128
Needed: 3863413.0
/home/ezequiel/Videos/movie/movie.cue not found
/home/ezequiel/Videos/movie/movie.bin not found
/home/ezequiel/Videos/movie/movie/ not found
/home/ezequiel/Videos/movie/movie.iso not found
delete menu temp
delete menu
Deleting movie_??_??.mpg
Deleting movie.log
/home/ezequiel/Videos/movie/movie.log not found
/home/ezequiel/Videos/movie/movie.xml not found
Borro principal
Menu PAL: False
Elementos por menu: 11
Menu1 0 0
Uso /usr/share/devede/backgrounds/default_bg.png
0.35
Paint_bg 0 title text: 
0.35
Paint_bg 1 title text: 
0.35
Paint_bg 3 title text: 
Creating menus
Lanzo ['mencoder', '-srate', '48000', '-af', 'lavcresample=48000', '-oac', 'lavc', '-ovc', 'lavc', '-of', 'mpeg', '-mpegopts', 'format=dvd:tsaf', '-ofps', '30000/1001', '-vf', 'scale=720:480,harddup', '-lavcopts', 'threads=2:vcodec=mpeg2video:sc_threshold=1000000000:cgop:trell:mbd=2:vstrict=0:vrc_maxrate=4000:vrc_buf_size=1835:vbitrate=2500:keyint=12:acodec=ac3_fixed:abitrate=192:aspect=4/3', '-o', '/home/ezequiel/Videos/movie/movie_menu_0.mpg', '-audiofile', '/usr/share/devede/silence.ogg', '-mf', 'type=png:fps=1/38', 'mf:///home/ezequiel/Videos/movie/movie_menu0_bg.png']
Launching program:  mencoder -srate 48000 -af lavcresample=48000 -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -ofps 30000/1001 -vf scale=720:480,harddup -lavcopts threads=2:vcodec=mpeg2video:sc_threshold=1000000000:cgop:trell:mbd=2:vstrict=0:vrc_maxrate=4000:vrc_buf_size=1835:vbitrate=2500:keyint=12:acodec=ac3_fixed:abitrate=192:aspect=4/3 -o /home/ezequiel/Videos/movie/movie_menu_0.mpg -audiofile /usr/share/devede/silence.ogg -mf type=png:fps=1/38 mf:///home/ezequiel/Videos/movie/movie_menu0_bg.png
elemento:  /usr/bin
MEncoder SVN-3.r36361.1.mga4.tainted-4.8.2 (C) 2000-2013 MPlayer Team
success: format: 16  data: 0x0 - 0x0
MF file format detected.
[mf] search expr: /home/ezequiel/Videos/movie/movie_menu0_bg.png*
[mf] number of files: 1 (8)
VIDEO:  [MPNG]  0x0  24bpp  0.026 fps    0.0 kbps ( 0.0 kbyte/s)
libavformat version 55.12.100 (external)
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
[V] filefmt:65536  fourcc:0x474E504D  size:0x0  fps:0.026  ftime:=38.0000
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.18.102 (external)
AUDIO: 48000 Hz, 2 ch, floatle, 64.0 kbit/2.08% (ratio: 8000->384000)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
PACKET SIZE: 2048 bytes, deltascr: 43885
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=480]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================

Exiting...
Unsupported AVSampleFormat 6
Unsupported AVSampleFormat 6
Audio encoder requires unknown or unsupported input format
Creating window /usr/share/devede/werror_dialog.ui






Reproducible: 

Steps to Reproduce:
Ezequiel Ortiz Rossner 2014-02-23 03:01:18 CET

Target Milestone: --- => Mageia 4

Manuel Hiebel 2014-02-23 11:46:12 CET

Keywords: (none) => Triaged
Assignee: bugsquad => cvargas
Source RPM: (none) => devede

Florian Hubold 2014-02-24 11:56:23 CET

CC: (none) => doktor5000

Comment 1 Cesar Vargas 2014-03-09 03:43:27 CET
Hi, Ezequiel, in x86 is also verified
Try this
Open DeVeDe, new project
Menu edit
preferences
mar checkbox Use encoder for ffmpeg menus
restart devede
start new project
choose video
forward
accept

There is a new version of DeVeDe (3.23.0), and'll pack
Comment 2 Michael Martins 2014-10-04 00:48:30 CEST
[michael@localhost ~]$ devede
Gtk-Message: Failed to load module "canberra-gtk-module"
DeVeDe 3.22.0
Locale: pt_BR.UTF-8
Using package-installed files
/home/michael/
Cores: 2 Virtual cores: 4
Entro en fonts
Salgo de fonts
/home/michael/
Temp Directory is:  /var/tmp
home load:  /home/michael/.devede
linea:  video_format:pal

linea:  temp_folder:/var/tmp/

linea:  multicore:1

linea:  hyperthreading:0

linea:  sub_language:EN (ENGLISH)

linea:  sub_codepage:ISO-8859-1

linea:  AC3_fix:0

linea:  erase_tmp_files:1

linea:  use_ffmpeg:1

linea:  use_ffmpeg_menu:1

linea:  
Creating window /usr/share/devede/wdisk_type.ui
Creating window /usr/share/devede/wmain.ui

(devede:19182): Gtk-WARNING **: Unknown property: GtkMenu.ubuntu-local
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /usr/share/devede/silence.ogg
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Longitud sonido: 38
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /usr/share/devede/silence.ogg
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Longitud sonido: 38
Calculating size for disk :dvd
Calculating size for disk :dvd
Creating window /usr/share/devede/wloadconfig.ui
/usr/lib/python2.7/site-packages/devede_loadsave.py:62: GtkWarning: IA__gtk_widget_grab_default: assertion 'gtk_widget_get_can_default (widget)' failed
  window.show()
Launching program:  mplayer -loop 1 -identify -ao null -vo null -frames 0 /usr/share/devede/silence.ogg
elemento:  /usr/bin
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Calculating size for disk :dvd
Calculating size for disk :dvd
Con menu: True
Creating window /usr/share/devede/settings.ui
Path: /var/tmp/

Screeshot: http://www.zimagez.com/zimage/screenshot-03-10-2014-194607.php

CC: (none) => michaelfm21

Comment 3 Florian Hubold 2014-10-04 15:07:51 CEST
(In reply to Michael Martins from comment #2)
> [michael@localhost ~]$ devede

Hi Michael,

please also provide some context information, not only the output. You didn't even mention if the proposals from Cesar were successful or not, and the screenshot doesn't help that much, as it doesn't show the result.

And please next time start devede (or other programs) by prefixing it with LC_ALL=C so that the programm will be in english. This is much better for bugreports, as not everone speaks spanish :)

Some more questions:

- when you define some menu items, and you press the button "menu preview" in the lower right corner, what happens? do you get to see a menu preview?

I cannot really reproduce, as I've got other issues. When pressing the forward button, in the dialog where you need to choose the path for the generated movie, I cannot select anything, devede will crash with a segfault:

Creating window /usr/share/devede/wfolder_dialog.ui
Entro en RUN
/usr/lib/python2.7/site-packages/devede_convert.py:344: GtkWarning: gtk_tree_model_filter_get_value: assertion 'GTK_TREE_MODEL_FILTER (model)->priv->stamp == iter->stamp' failed
  value=wfolder_dialog.run()
/usr/lib/python2.7/site-packages/devede_convert.py:344: Warning: gtype.c:4215: type id '0' is invalid
  value=wfolder_dialog.run()
/usr/lib/python2.7/site-packages/devede_convert.py:344: Warning: can't peek value table for type '<invalid>' which is not currently referenced
  value=wfolder_dialog.run()
segmentation fault


If I don't choose any folder, and leave it at (none) then creation progress will start, but nothing happens, it will stay at 0%, as an empty folder name is not handled gracefully:


Creating window /usr/share/devede/wfolder_dialog.ui
Entro en RUN
Salgo de RUN
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/devede_main.py", line 474, in on_main_go_clicked
    if conversor.create_disc():
  File "/usr/lib/python2.7/site-packages/devede_convert.py", line 364, in create_disc
    filefolder2=os.path.join(filefolder,self.filename)
  File "/usr/lib64/python2.7/posixpath.py", line 77, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'


Progress dialog cannot be quite anymore:
Creating window /usr/share/devede/wcancel_job_dialog.ui
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/devede_convert.py", line 71, in cancel_clicked
    self.runner.cancel()
AttributeError: create_all instance has no attribute 'runner'
Comment 4 Cesar Vargas 2015-03-31 17:50:11 CEST
No response from the user who reported the bug.
By modifying the options as listed above bug is not present in devede-3.23.0
Comment 5 Samuel Verschelde 2015-09-21 13:21:13 CEST
Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer 
maintained, which means that it will not receive any further security or bug 
fix updates.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version.

Bug Reporter: Thank you for reporting this issue and we are sorry that we weren't 
able to fix it before Mageia 4's end of life. If you are able to reproduce it 
against a later version of Mageia, you are encouraged to click on "Version" and 
change it against that version of Mageia. If it's valid in several versions, 
select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].

[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/
Comment 6 Marja Van Waes 2015-10-27 06:58:16 CET
As announced over a month ago, Mageia 4 changed to end-of-life (EOL) status on 2015-09-19. It is is no longer maintained, which means that it will not receive any further security or bug fix updates.

This issue may have been fixed in a later Mageia release, so, if you still see it and didn't already do so: please upgrade to Mageia 5 (or, if you read this much later than this is written: make sure you run a currently maintained Mageia version)

If you are able to reproduce it against a maintained version of Mageia, you are encouraged to 
1. reopen this bug report, by changing the "Status" from "RESOLVED - OLD" to "REOPENED"
2. click on "Version" and change it against that version of Mageia. If you know it's valid in several versions, select the highest and add MGAxTOO in whiteboard for each other valid release.
Example: it's valid in cauldron and Mageia 5, set to cauldron and add MGA5TOO.
3. give as much relevant information as possible. If you're not an experienced bug reporter and have some time: please read this page:
https://wiki.mageia.org/en/How_to_report_a_bug_properly

If you see a similar issue, but are _not_sure_ it is the same, with the same cause, then please file a new bug report and mention this one in it (please include the bug number, too). 


If you would like to help fixing bugs in the future, don't hesitate to join the
packager team via our mentoring program [1] or join the teams that fit you 
most [2].
[1] https://wiki.mageia.org/en/Becoming_a_Mageia_Packager
[2] http://www.mageia.org/contribute/

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.