You are not logged in.
- Topics: Active | Unanswered
#1 12-28-2012 14:17:20
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Plantage avec avconv sur Debian
Bonjour,
Debian Testing amd64 ; Impossible de générer une vidéo avec avconv :
[12:52:59.023:INFORMATION] Chargement du fichier :IMG_0538_DxO.jpg
[12:53:17.683:INFORMATION] Démarre l'encoder avconv
[12:53:17.683:INFORMATION] avconv -y -f image2pipe -vcodec ppm -r 25 -i - -i "TAG.txt" -map_metadata:g 0 -map_chapters 0 -dframes 2050 -vcodec libxvid -pix_fmt yuv420p -b:0 2500000 -r 25 -sws_flags bicubic -an -aspect 16:9 "test.mp4"
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
avconv version 0.8.3-6:0.8.3-1~bpo60+1, Copyright (c) 2000-2012 the Libav developers
built on Jun 16 2012 10:32:51 with gcc 4.4.5
[NULL @ 0x13fe960] Value 4707126720094797824.000000 for parameter 'probesize' out of range
[NULL @ 0x13fe960] Value 4707126720094797824.000000 for parameter 'analyzeduration' out of range
[NULL @ 0x13fe960] Value 4697254411347427328.000000 for parameter 'indexmem' out of range
[NULL @ 0x13fe960] Value 4703785510416416768.000000 for parameter 'rtbufsize' out of range
[NULL @ 0x13fe960] Value -4616189618054758400.000000 for parameter 'fpsprobesize' out of range
[NULL @ 0x13fe960] Value 4607182418800017408.000000 for parameter 'f_err_detect' out of range
[NULL @ 0x13fe960] Value 4607182418800017408.000000 for parameter 'err_detect' out of range
[NULL @ 0x140d5c0] Value 4686111960511545344.000000 for parameter 'b' out of range
[NULL @ 0x140d5c0] Value 4683532506232782848.000000 for parameter 'ab' out of range
[NULL @ 0x140d5c0] Value 4705844345939427328.000000 for parameter 'bt' out of range
[NULL @ 0x140d5c0] Value 4617315517961601024.000000 for parameter 'me_method' out of range
[NULL @ 0x140d5c0] Value 4622945017495814144.000000 for parameter 'g' out of range
[NULL @ 0x140d5c0] Value 4611686018427387904.000000 for parameter 'qmin' out of range
[NULL @ 0x140d5c0] Value 4629418941960159232.000000 for parameter 'qmax' out of range
[NULL @ 0x140d5c0] Value 4613937818241073152.000000 for parameter 'qdiff' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'wpredp' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'bug' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'er' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'err_detect' out of range
[NULL @ 0x140d5c0] Value 4613937818241073152.000000 for parameter 'ec' out of range
[NULL @ 0x140d5c0] Value 4620693217682128896.000000 for parameter 'ildctcmp' out of range
[NULL @ 0x140d5c0] Value 4620693217682128896.000000 for parameter 'subq' out of range
[NULL @ 0x140d5c0] Value 4696837138094751744.000000 for parameter 'ibias' out of range
[NULL @ 0x140d5c0] Value 4696837138094751744.000000 for parameter 'pbias' out of range
[NULL @ 0x140d5c0] Value 4642507528377204736.000000 for parameter 'lmin' out of range
[NULL @ 0x140d5c0] Value 4660262442142531584.000000 for parameter 'lmax' out of range
[NULL @ 0x140d5c0] Value 4696130710463840256.000000 for parameter 'flags2' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'threads' out of range
[NULL @ 0x140d5c0] Value 4620693217682128896.000000 for parameter 'nssew' out of range
[NULL @ 0x140d5c0] Value -4586705114244317184.000000 for parameter 'profile' out of range
[NULL @ 0x140d5c0] Value -4586705114244317184.000000 for parameter 'level' out of range
[NULL @ 0x140d5c0] Value 4623507967449235456.000000 for parameter 'skipcmp' out of range
[NULL @ 0x140d5c0] Value 4642507528377204736.000000 for parameter 'mblmin' out of range
[NULL @ 0x140d5c0] Value 4660262442142531584.000000 for parameter 'mblmax' out of range
[NULL @ 0x140d5c0] Value 4643211215818981376.000000 for parameter 'mepc' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'bidir_refine' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'cqp' out of range
[NULL @ 0x140d5c0] Value 4627730092099895296.000000 for parameter 'keyint_min' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'refs' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'directpred' out of range
[NULL @ 0x140d5c0] Value 4618441417868443648.000000 for parameter 'sc_factor' out of range
[NULL @ 0x140d5c0] Value 4643211215818981376.000000 for parameter 'mv0_threshold' out of range
[NULL @ 0x140d5c0] Value 4630826316843712512.000000 for parameter 'b_sensitivity' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'compression_level' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'min_prediction_order' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'max_prediction_order' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'prediction_order_method' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'min_partition_order' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'max_partition_order' out of range
[NULL @ 0x140d5c0] Value 4607182418800017408.000000 for parameter 'ticks_per_frame' out of range
[NULL @ 0x140d5c0] Value 4611686018427387904.000000 for parameter 'color_primaries' out of range
[NULL @ 0x140d5c0] Value 4611686018427387904.000000 for parameter 'color_trc' out of range
[NULL @ 0x140d5c0] Value 4611686018427387904.000000 for parameter 'colorspace' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'aq_mode' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'rc_lookahead' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'lpc_type' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'lpc_passes' out of range
[NULL @ 0x140d5c0] Value 4613937818241073152.000000 for parameter 'thread_type' out of range
[NULL @ 0x140d5c0] Value -4616189618054758400.000000 for parameter 'request_sample_fmt' out of range
[image2pipe @ 0x13fe960] decoding for stream 0 failed
[image2pipe @ 0x13fe960] Could not find codec parameters (Video: ppm)
[image2pipe @ 0x13fe960] Estimating duration from bitrate, this may be inaccurate
pipe:: could not find codec parameters
En réinstallant le paquet ffmpeg (ce qui désinstalle automatiquement libav-tools), ffDiaporama refonctionne.
Le problème c'est que le paquet ffmpeg est marqué deprecated et va être remplacer par libav-tools qui fourni avconv...
Offline
#2 12-29-2012 08:30:01
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Bonjour
Tu as pris quelle version de ffDiaporama ?
Depuis la version 1.5, ffDiaporama fonctionne parfaitement avec les libav-tools. Ce sont d'ailleurs ces tools qui sont recommandés pour ffDiaporama.
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#3 12-29-2012 16:51:24
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Cela ne fonctionne ni avec la 1.3 (version des dépôts Debian), ni avec la 1.5 (le .deb prévu pour LMDE).
Offline
#4 12-29-2012 18:32:48
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Je deb de LMDE est prévu pour LMDE et non pour Debian.
Je ne vois qu'une seule solution : compiles depuis les sources.
Prends les sources et suis la doc sur cette page : http://ffdiaporama.tuxfamily.org/?page_id=3635&lang=fr
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#5 12-29-2012 18:39:45
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
J'ai compilé depuis les sources et même résultat.
Offline
#6 12-29-2012 20:22:24
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Bon, dans ce cas, cherchons un peu plus loin.
Tu as utilisé les sources d'hier (20121228) ?
Si oui, as tu le problème avec tous les formats de sortie ? En MP4/h264 en AVI/xvid en WEBM ?
Fait un avconv -version ou un ffmpeg -version en fonction de ce que tu as et copies/colles ici le résultat.
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#7 12-29-2012 20:39:34
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Le problème existe quelque soit le format.
J'ai pris les sources depuis ce lien : http://ffdiaporama.tuxfamily.org/downlo … 1.5.tar.gz
avconv version 0.8.4-6:0.8.4-1, Copyright (c) 2000-2012 the Libav developers
built on Oct 22 2012 21:36:00 with gcc 4.7.2
avconv 0.8.4-6:0.8.4-1
libavutil 51. 22. 1 / 51. 73.101
libavcodec 53. 35. 0 / 53. 61.100
libavformat 53. 21. 0 / 53. 32.100
libavdevice 53. 2. 0 / 53. 4.100
libavfilter 2. 15. 0 / 2. 77.100
libswscale 2. 1. 0 / 2. 1.101
libpostproc 52. 0. 0 / 52. 0.100
Offline
#8 12-30-2012 12:36:45
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Ton avconv a exactement les mêmes versions que sur mon Ubuntu 12.04.
Par contre, sur Ubuntu et sur Mint, il a des versions extra. Je ne sais pas si le problème peut venir de là. Il se peut que sur Debian, les libav soient limités. Peux tu vérifier ce point.
Sinon, concernant les sources, non ce ne sont pas les dernières. (1.6 devel).
Prends le lien de cette page : http://ffdiaporama.tuxfamily.org/?page_id=3635&lang=fr
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#9 12-30-2012 18:29:10
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Bon, j'avais des libs qui n'étaient pas en même versions que les tools car j'utilise le dépôt deb.multimedia.
Après reinstallation des libs en version pure Debian/testing, j'abouti à une autre erreur :
Unrecognized option 'absf'
Failed to set value 'aac_adtstoasc' for option 'absf'
Offline
#10 01-02-2013 16:48:12
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Bonjour
Je te conseil d'installer les paquets libvoxxxx
Il y en a entre autre un pour l'AAC qui fonctionne bien avec les libav
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#11 01-03-2013 20:01:10
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
J'ai un paquet libvo-aacenc0 qui est déjà installé.
Mais a priori, l'erreur est plus en rapport à l'option absf qui n'existe pas...
Offline
#12 01-04-2013 07:48:19
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Peux tu vérifier si dans la boite "Vérifier la configuration" accessible depuis la boite d'option, si libvo_aacenc est bien utilisé ?
Normalement, le paramètre absf n'est associé qu'avec l'encoder interne (dans certaine version de libav) et uniquement s'il ne trouve pas un autre encoder aac.
Tu peux également faire un avconv -codecs et voir ce qu'il t'affiche.
ffDiaporama cherche dans l'ordre : libfaac puis aac puis libvo_aacenc.
Le dernier trouvé avec la propriété encode est celui qui est utilisé.
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#13 01-04-2013 20:36:03
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Malgré la présence de libfaac, ffDiaporama se branchait sur libvo.
L'utilisation du dépôt deb.multimedia fout véritablement le bordel dans les libav : j'avais encore la libavcodec dans une version supérieure a la libav-tools.
Après avoir fait le ménage, ffDiaporama détecte aac bien que libfaac soit installée.
Maintenant, la génération abouti à cette erreur :
[buffer @ 0x1e84ce0] w:1920 h:1080 pixfmt:rgb24
[avsink @ 0x1e84ea0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x1e85060] w:1920 h:1080 fmt:rgb24 -> w:1920 h:1080 fmt:yuv420p flags:0x0
[swscaler @ 0x1ef7600] Value 1.000000 for parameter 'srcw' out of range
[swscaler @ 0x1ef7600] Value 1.000000 for parameter 'srch' out of range
[swscaler @ 0x1ef7600] Value 1.000000 for parameter 'dstw' out of range
[swscaler @ 0x1ef7600] Value 1.000000 for parameter 'dsth' out of range
[swscaler @ 0x1ef7600] Exactly one scaler algorithm must be chosen, got 0
Error opening filters!
[19:25:56.438:INFORMATION] Stop l'encodeur
Autre chose bizarre : aucune extension pour QimageBlitz n'est détectée alors que le proc est un ADM Athlon 64 Dual Core...
Offline
#14 01-05-2013 07:50:28
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Bonjour
Le problème est différent maintenant car il concerne la partie vidéo et non plus audio.
Peux tu me donner la ligne de log commençant par avconv ...
Concernant QImageBlitz, cette lib est mal foutue car elle autodetecte les options de SSE lors de la compilation. Résultat en cross-compile, tout est désactivé. Tu n'y peux rien, sauf à la recompiler toi même. Il y a le même problème sur plusieurs distributions.
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#15 01-05-2013 17:42:06
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Au temps pour moi, j'ai oublié de préciser quelque chose. En cherchant sur le net des infos sur l'option absf, j'avais cru comprendre que cette option avait été remplacée par -bsf:<stream>
Donc :
avec l'option -absf, j'ai toujours l'erreur Unrecognized option 'absf'
En modifiant la ligne 772 du fichier DlgRenderVideo tel que :
if (QString(AUDIOCODECDEF[AudioCodecIndex].ShortName)==QString("aac")) aCodec=aCodec+" -strict experimental -bsf:a aac_adtstoasc";
J'ai l'erreur Error opening filters!
La commande avconv :
avconv -y -f image2pipe -vcodec ppm -r 25 -i - -i "/home/xxx/Videos/temp.wav" -i "/home/sleguenn/Videos/TAG.txt" -map_metadata 2:g -map_chapters 2 -dframes 2562 -vcodec libx264 -vsync vfr -pix_fmt yuv420p -b:0 8000000 -minrate 7200000 -maxrate 8800000 -bufsize 16000000 -preset veryfast -refs:0 3 -r 25 -sws_flags bicubic -acodec aac -ab 160000 -strict experimental -bsf:a aac_adtstoasc -metadata:s:1 language=und -aspect 16:9 "/home/xxx/Videos/chorale2012.mp4"
Offline
#16 01-06-2013 10:27:17
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Bonjour
Je prend note de la modif sur l'absf et je vais l'intégrer au code source.
Peux tu essayer ceci, dans le même fichier :
- remplacer la ligne : " -sws_flags bicubic ")+
- par : " ")+
Il faudrait également, si ça marche, que tu me dises quelle version de libavcodec tu as dans ton fichier /usr/include/libavcodec/version.h
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline
#17 01-06-2013 13:39:41
- Pilru
- Nouveau membre
- Registered: 12-28-2012
- Posts: 9
Re: Plantage avec avconv sur Debian
Bonjour
En supprimant l'option -sws_flags ça fonctionne !
Voici ce que j'ai dans /usr/include/libavcodec/version.h
#define LIBAVCODEC_VERSION_MAJOR 53
#define LIBAVCODEC_VERSION_MINOR 35
#define LIBAVCODEC_VERSION_MICRO 0
Offline
#18 01-07-2013 16:59:25
- domledom
- Administrateur
- Registered: 09-17-2011
- Posts: 1,080
Re: Plantage avec avconv sur Debian
Ça, ça ne m'arrange pas du tout.
C'est la même version que sur Ubuntu qui ne marche pas sans le -sws_flags !
Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)
Offline