Devede si blocca

Discussioni e feedback su pacchetti e repository MIB
Post Reply
User avatar
Garde
Utente junior
Utente junior
Posts: 20
Joined: 4 August 2009, 22:49
OpenMandriva: 2009.1
Kernel: 2.6.29.6
Desktop: KDE

Devede si blocca

Post by Garde »

Buongiorno. Ho una mandriva 2009.1. Ho installato il pacchetto Devede 3.16.4-69.1mib2009.1 perche avevo la necesità di creare un dvd leggibile da un lettore da salotto, partendo da un file avi, ma non riesco a portare a termine l'operazione
Il problema è che il programma, nella fase di creazione del dvd si blocca, o meglio si "addormenta".
Ho provato a lanciarlo da terminale e mi viene segnalato un "Value error: math domain error"
Qui sotto riporto cosa appare a terminale. Le righi successive al messaggio d'errore si riferiscono all'uscita dal programma.

Code: Select all

delete menu temp
Segundos 0
Traceback (most recent call last):
  File "/usr/lib/devede/devede_convert.py", line 428, in time_callback
    self.runner=devede_video_convert.video_converter(self.global_vars,self.structure[title][chapter+1],self.filename,self.filefolder,self.partial,self.label,self.global_vars["disctocreate"],title+1,chapter+1,self.global_vars["multicore"],self.seconds, encpass)
  File "/usr/lib/devede/devede_video_convert.py", line 226, in __init__
    afvalues+="volume="+str(10*math.log(volume/10,10))
ValueError: math domain error
Creating window /usr/share/devede/wcancel_job_dialog.ui
Traceback (most recent call last):
  File "/usr/lib/devede/devede_convert.py", line 69, in cancel_clicked
    self.runner.cancel()
AttributeError: 'NoneType' object has no attribute 'cancel'
(Queste sono le ultime righe che appaiono. Non ho inserito tutto perchè è molto lungo ma se serve lo faccio.)
Ho notato anche che, nella fase precedente, quando vado a selezionare il file da convertire, non compaiono le informazioni sulle caratteristiche (dimensioni originali, durata originale, ecc.) del filmato selezionato e tutte le configurazioni (campionamento video, audio, ecc..) sono settate a 0.
Inoltre, all'avvio del programma compare a terminale un messaggio d'errore relativo a mplayer.

Code: Select all

garde@localhost ~]$ devede
DeVeDe 3.16.4              
Locale: it_IT.UTF-8        
Using package-installed files
/home/garde/                 
Entro en fonts               
Salgo de fonts               
/home/garde/                 
Temp Directory is:  /var/tmp 
home load:  /home/garde/.devede
linea:  video_format:pal       

linea:  temp_folder:/var/tmp/

linea:  multicore:2

linea:  final_folder:/home/garde/Documenti

linea:  sub_language:EN (ENGLISH)

linea:  sub_codepage:ISO-8859-1

linea:  
Creating window /usr/share/devede/wdisk_type.ui
Creating window /usr/share/devede/wmain.ui     
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                                                                                    
Cores: 2                                                                                               
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.           
Questa è la situazione. Scusate se sono stato un pò prolisso ma era l'unico modo per descriverla.
Come ho gia detto se serve posto l'intero output del terminale.

Grazie

Andrea

User avatar
bright77
Utente
Utente
Posts: 187
Joined: 27 April 2009, 20:38
OpenMandriva: 2010.0
Kernel: 2.6.33.2nrj
Desktop: KDE4.3.5

Re: Devede si blocca

Post by bright77 »

Premetto che non ho mai usato Devede. A quanto sembra, il programma si "addormenta" durante il processo di conversione del filmato, suppongo che stia cercando di produrre un file MPEG2, compatibile con i DVD-video. Normalmente, un'operazione di questo tipo ha una durata paragonabile alla durata del video

Possibile soluzione: converti il filmato con Avidemux, salvandolo come MPEG2 PS con Audio MP2, poi riprova a creare il dvd-video partendo da quello, così Devede non avrà bisogno di effettuare un processo di conversione tanto lungo. Dovrai impostare diversi parametri di conversione, come la bitrate, il numero di passaggi, se non l'hai mai fatto dovrai cercare un po' in rete.
Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza
------------------
AMD PhenomII 945 su GA-790XTA-UD4, ATI RadeonHD 4670, PVR-250

User avatar
SymbianFlo
Utente sostenitore
Utente sostenitore
Posts: 1493
Joined: 7 December 2007, 20:07
OpenMandriva: 2010.1 x86_64
Kernel: 2.6.33.5-nrj-69mib
Desktop: kde4.5.rc1
Location: Pordenone
Contact:

Re: Devede si blocca

Post by SymbianFlo »

Code: Select all

MEncoder SVN-1.rc2.23.r28791.2plf2009.1-4.3.2 (C) 2000-2009 MPlayer Team                                                     
Limiting audio preload to 0.4s.                                                                                              
success: format: 16  data: 0x0 - 0x0                                                                                         
Increasing audio density to 4.                                                                                               
MF file format detected.                                                                                                     
SwScaler: reducing / aligning filtersize 1 -> 4
[mf] search expr: /home/symbianflo/movie/movie_menu0_bg.png*
    Last message repeated 1 times
[mf] number of files: 1 (8)
SwScaler: reducing / aligning filtersize 1 -> 1
VIDEO:  [MPNG]  0x0  24bpp  0.026 fps    0.0 kbps ( 0.0 kbyte/s)
SwScaler: reducing / aligning filtersize 9 -> 8
[Ogg] stream 0: audio (Vorbis), -aid 0
[swscaler @ 0x2e81620]BICUBIC scaler, from rgb32 to yuv420p using MMX2
Ogg file format detected.
[swscaler @ 0x2e81620]using 4-tap MMX scaler for horizontal luminance scaling
[V] filefmt:65536  fourcc:0x474E504D  size:0x0  fps:0.026  ftime:=38.0000
[swscaler @ 0x2e81620]using 4-tap MMX scaler for horizontal chrominance scaling
==========================================================================
[swscaler @ 0x2e81620]using 1-tap MMX "scaler" for vertical scaling (YV12 like)
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[swscaler @ 0x2e81620]720x576 -> 720x576
AUDIO: 48000 Hz, 2 ch, s16le, 64.0 kbit/4.17% (ratio: 8000->192000)
New_Face failed. Maybe the font path is wrong.
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=576]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffpng] vfm: ffmpeg (FFmpeg PNG)
==========================================================================
VDec: vo config request - 720 x 576 (preferred colorspace: BGRA)
VDec: using BGRA as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (720x576 fourcc=3267706d [mpg2])
[VE_LAVC] High quality encoding selected (non-realtime)!
Writing header...
Creating window /usr/share/devede/wcancel_job_dialog.ui
Creating window /usr/share/devede/waborted_dialog.ui
Creating window /usr/share/devede/wcancel_dialog.ui
Saving configuration
/home/symbianflo/
Exiting
Have a nice day
a me pare che ti manchi una bella feta di python o/e python-bindings,
eccoti i dettagli di devede 2009.1 funzionante , controlla che hai installato le versioni de python
native 2009.1.

Code: Select all

[symbianflo@symbianflo ~]$ rpm -q -i devede --requires
Name        : devede                       Relocations: (not relocatable)
Version     : 3.16.0                            Vendor: MIB - Mandriva Italia Backports - http://mib.pianetalinux.org/
Release     : 69.1mib2009.1                 Build Date: lun 08 feb 2010 23:39:19 CET
Install Date: lun 08 feb 2010 23:39:55 CET      Build Host: symbianflo
Group       : Graphical desktop/Other       Source RPM: devede-3.16.0-69.1mib2009.1.src.rpm
Size        : 3873354                          License: GPLv3+
Signature   : (none)
Packager    : Francesco Mancuso <mcfrank@tiscali.it>
URL         : http://www.rastersoft.com/programas/devede.html
Summary     : Graphical frontend to create video DVDs
Description :
DeVeDe is a program to create video DVDs (compatible with home players) from
nearly any video format. It only uses Python, MPlayer, Mencoder, DVDAuthor,
VCDImager, and mkisofs, so it has very few dependencies.
dvdauthor
mencoder
mkisofs
mplayer
pygtk2.0
pygtk2.0-libglade
python
vcdimager
python-cairo
desktop-common-data
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
bash
coreutils
rpmlib(PayloadIsLzma) <= 4.4.6-1

alquanto strano che non ti carica nemmeno mencoder per tentare l'encoding , forse ti manca anche mlayer
e/o mencoder
magari avrai installato mplayer-vaapi che conflitta con mencoder .
Ma gli err di fail object o pure object not found sono dovute ad una versione diversa di python
di quella usata per il build .
Quindi il consiglio di bright lo trovo ottimo , in alternativa sappi che sono video editori
che convertono avi in vob ( mpeg2) a volontà.
:D ciao ciao SymbianFlo :D
Image
Linus Torvalds only has to enter a room, and every Windows computer in it segfaults instantly.
http://video.linuxfoundation.org/video/1057

User avatar
Garde
Utente junior
Utente junior
Posts: 20
Joined: 4 August 2009, 22:49
OpenMandriva: 2009.1
Kernel: 2.6.29.6
Desktop: KDE

Re: Devede si blocca

Post by Garde »

Intanto grazie a tutti e due per le risposte.
Per quanto riguarda le dipendenze installate ho controllato e le ho tutte (quelle indicate) tranne mkisofs e i tre rmplib

Code: Select all

[garde@localhost ~]$ rpm -q -i mkisofs
il pacchetto mkisofs non è stato installato
[garde@localhost ~]$ rpm -q -i rpmlib
il pacchetto rpmlib non è stato installato
Per quanto riguarda la versione di python

Code: Select all

[garde@localhost ~]$ rpm -q -i python
Name        : python                       Relocations: (not relocatable)
Version     : 2.6.1                             Vendor: Mandriva
Release     : 6.3mdv2009.1                  Build Date: ven 08 gen 2010 22:16:10 CET
Install Date: dom 14 feb 2010 01:09:33 CET      Build Host: titan.mandriva.com
Group       : Development/Python            Source RPM: python-2.6.1-6.3mdv2009.1.src.rpm
Size        : 26191924                         License: Modified CNRI Open Source License
Signature   : DSA/SHA1, sab 09 gen 2010 01:39:25 CET, Key ID 9aa8d0d022458a98
Packager    : Mandriva Linux Security Team <security@mandriva.com>
URL         : http://www.python.org/
Summary     : An interpreted, interactive object-oriented programming language
Description :
Python is an interpreted, interactive, object-oriented programming
language often compared to Tcl, Perl, Scheme or Java. Python includes
modules, classes, exceptions, very high level dynamic data types and
dynamic typing. Python supports interfaces to many system calls and
libraries, as well as to various windowing systems (X11, Motif, Tk,
Mac and MFC).

Programmers can write new built-in modules for Python in C or C++.
Python can be used as an extension language for applications that
need a programmable interface. This package contains most of the
standard Python modules, as well as modules for interfacing to the
Tix widget set for Tk and RPM.

Note that documentation for Python is provided in the python-docs
package.
ho visto però che ci sono molti wrapper e binding che non ho. Dovrei installarli tutti?
Mplayer e mencoder sono installati.

Per quanto riguarda eventuali altri programmi volevo usare devede (che avevo gia usato anni fa con un altra distribuzione) per la sua semplicità. Non essendo esperto di bitrate e cose simili, se fosse possibile vorrei evitare la procedura descritta da bright77. Ci sono programmi altrettanto semplici di Devede?

User avatar
mykol
Utente senior
Utente senior
Posts: 301
Joined: 14 January 2008, 12:13

Re: Devede si blocca

Post by mykol »

probabilmente ti manca qualche libreria. Ho la devede-3.16.4-69.1mib2009.1.noarch e funziona benissimo.
Mandriva 2009.1 i686 32 bit MIB, x86_64.
Mandriva 2010.0 i686 32 bit MIB

User avatar
Garde
Utente junior
Utente junior
Posts: 20
Joined: 4 August 2009, 22:49
OpenMandriva: 2009.1
Kernel: 2.6.29.6
Desktop: KDE

Re: Devede si blocca

Post by Garde »

C'è modo di scoprire quale/i?
Pensavo che, quando si installa un programma, il sistema verificasse la presenza o meno delle librerie necessarie e installasse quelle mancanti.

Ciao

Andrea

User avatar
mykol
Utente senior
Utente senior
Posts: 301
Joined: 14 January 2008, 12:13

Re: Devede si blocca

Post by mykol »

prova ad aggiornarlo. Io con i repo del MIB configurati ho la versione DeVeDe 3.16.8 e funziona benissimo.

Ma c'è una cosa strana: ho mandriva 2009.1 MIB ma se cerco di aggiornare dewvede ottengo

[root@localhost giorgio]# urpmi devede
Uno dei pacchetti richiesti non può essere installato:
devede-3.16.8-69.1mib2009.1.noarch (per conservare devede-3.16.8-69.1mib2010.0.noarch)
Continuo comunque l'Installazione? (S/n)

Sembra che ci sia installata la versione per 2010 su una 2009.1 ! Comunque funziona perfettamente, anche se lanciandolo da console das qualche errore

fin qui tutto OK, poi

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
Cores: 2
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.

.................................................................
...................................................................

però funziona, ho ceato dvd, divx ed xvid perfettamente.

Non riesco a capire come può essersi installata la versione per 2010 !
Mandriva 2009.1 i686 32 bit MIB, x86_64.
Mandriva 2010.0 i686 32 bit MIB

User avatar
mykol
Utente senior
Utente senior
Posts: 301
Joined: 14 January 2008, 12:13

Re: Devede si blocca

Post by mykol »

però mplayer risulta installato ...

[root@localhost giorgio]# urpmi mplayer
Uno dei pacchetti richiesti non può essere installato:
mplayer-1.0-1.rc2.23.r28791.2mdv2009.1.i586 (per conservare mplayer-1.0-1.rc2.23.r28791.2plf2009.1.i586)
Continuo comunque l'Installazione? (S/n)
[root@localhost giorgio]#

Un gran ca...o, ma funziona !
Mandriva 2009.1 i686 32 bit MIB, x86_64.
Mandriva 2010.0 i686 32 bit MIB

User avatar
SymbianFlo
Utente sostenitore
Utente sostenitore
Posts: 1493
Joined: 7 December 2007, 20:07
OpenMandriva: 2010.1 x86_64
Kernel: 2.6.33.5-nrj-69mib
Desktop: kde4.5.rc1
Location: Pordenone
Contact:

Re: Devede si blocca

Post by SymbianFlo »

Failed to open LIRC support. You will not be able to use your remote control.
ovvero mplayer non ha supporto lirc tutto qui , quindi non potrai gestirlo col telecomando ,
per i pacchetti 2010.0 sulla 2009.1 nessuno di noi ha accesso al tuo pc per configurare i repo ...temo che hai ( o avevi) qualcosa che nn va
in media.cfg ...
:D ciao ciao SymbianFlo :D
Image
Linus Torvalds only has to enter a room, and every Windows computer in it segfaults instantly.
http://video.linuxfoundation.org/video/1057

User avatar
mykol
Utente senior
Utente senior
Posts: 301
Joined: 14 January 2008, 12:13

Re: Devede si blocca

Post by mykol »

penso aqnch'io che ci fosse qualcosa nei repo (che poi ho sistemato) che non andava. Ma visto che funziona bene lo lascio così.
Mandriva 2009.1 i686 32 bit MIB, x86_64.
Mandriva 2010.0 i686 32 bit MIB

Post Reply