You are not logged in.

#1 12-09-2011 00:35:44

Roumano
Membre
Registered: 10-06-2011
Posts: 25

[Résolu]Pas de son

Bonjour,

Je rencontre un problème avec la majorite des vidéos de j'utilise

Pour faire court : La video de sortie n'a pas de son

Test le 2001 12 08 avec la version stable et du trunk

Mode test très simple : j'ouvre une vidée et generer le film
Le format de sortie n'a pas d'impact (tester en aac et mp3)

Détail d'un fichier vidéo type (qui a du son mais n'est pas restitué en sortie :
Input #0, avi, from 'test.avi':
  Duration: 00:00:05.48, start: 0.000000, bitrate: 4722 kb/s
    Stream #0.0: Video: h264 (High), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
At least one output file must be specified

Log de sortie :

$ ffDiaporama
[avi @ 0x29c1200] max_analyze_duration 5000000 reached at 5000000
[avi @ 0x29c3170] max_analyze_duration 5000000 reached at 5000000
Seek error
"ffmpeg -y -f image2pipe -vcodec ppm -r 25 -i - -i "/home/roumano/Images/00_Video_a_trier/temp.wav" -dframes 137 -vcodec libxvid -b 2000000 -r 25 -acodec libmp3lame -ab 128000 -ar 48000 -ac 2 -aspect 64:45 "/home/roumano/Images/00_Video_a_trier/movie.avi""
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 29 2011 22:31:20 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopenjpeg --disable-altivec --disable-avx --cpu=host --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[image2pipe @ 0x1412f20] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 720x576, 25 fps, 25 tbr, 25 tbn, 25 tbc
[wav @ 0x1411c00] max_analyze_duration 5000000 reached at 5013333
Input #1, wav, from '/home/roumano/Images/00_Video_a_trier/temp.wav':
  Duration: 00:00:05.46, bitrate: 1536 kb/s
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Incompatible pixel format 'rgb24' for codec 'libxvid', auto-selecting format 'yuv420p'
[buffer @ 0x1489620] w:720 h:576 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x1499e60] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x14a2730] w:720 h:576 fmt:rgb24 -> w:720 h:576 fmt:yuv420p flags:0x4
Output #0, avi, to '/home/roumano/Images/00_Video_a_trier/movie.avi':
  Metadata:
    ISFT            : Lavf52.111.0
    Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 223:196 DAR 1115:784], q=2-31, 2000 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: libmp3lame, 48000 Hz, 2 channels, s16, 128 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
frame=   15 fps=  0 q=3.0 size=     155kB time=00:00:00.57 bitrate=2208.9kbits/sframe=   23 fps= 21 q=6.0 size=     289kB time=00:00:00.88 bitrate=2667.0kbits/sframe=   30 fps= 18 q=7.0 size=     412kB time=00:00:01.17 bitrate=2872.0kbits/sframe=   36 fps= 16 q=5.0 size=     470kB time=00:00:01.41 bitrate=2718.2kbits/sframe=   42 fps= 15 q=7.0 size=     580kB time=00:00:01.65 bitrate=2867.6kbits/sframe=   47 fps= 14 q=6.0 size=     641kB time=00:00:01.84 bitrate=2841.0kbits/sframe=   52 fps= 13 q=7.0 size=     732kB time=00:00:02.04 bitrate=2939.2kbits/sframe=   57 fps= 13 q=7.0 size=     791kB time=00:00:02.25 bitrate=2872.3kbits/sframe=   61 fps= 12 q=7.0 size=     835kB time=00:00:02.40 bitrate=2850.7kbits/sframe=   65 fps= 12 q=6.0 size=     902kB time=00:00:02.56 bitrate=2877.0kbits/sframe=   69 fps= 11 q=6.0 size=     945kB time=00:00:02.73 bitrate=2828.1kbits/sframe=   73 fps= 11 q=7.0 size=     989kB time=00:00:02.88 bitrate=2812.1kbits/sframe=   77 fps= 10 q=6.0 size=    1043kB time=00:00:03.04 bitrate=2804.0kbits/sframe=   81 fps= 10 q=6.0 size=    1080kB time=00:00:03.21 bitrate=2749.9kbits/sframe=   92 fps= 11 q=4.0 size=    1165kB time=00:00:03.64 bitrate=2617.0kbits/sframe=  103 fps= 11 q=6.0 size=    1338kB time=00:00:04.08 bitrate=2685.6kbits/sframe=  112 fps= 11 q=7.0 size=    1452kB time=00:00:04.44 bitrate=2678.4kbits/sframe=  119 fps= 12 q=7.0 size=    1526kB time=00:00:04.72 bitrate=2643.7kbits/sframe=  125 fps= 12 q=7.0 size=    1616kB time=00:00:04.96 bitrate=2664.7kbits/sframe=  131 fps= 12 q=6.0 size=    1674kB time=00:00:05.20 bitrate=2633.5kbits/sframe=  136 fps= 11 q=7.0 size=    1748kB time=00:00:05.37 bitrate=2663.3kbits/sframe=  137 fps= 11 q=6.0 Lsize=    1786kB time=00:00:05.48 bitrate=2669.2kbits/s   
video:1681kB audio:86kB global headers:0kB muxing overhead 1.041735%

Offline

#2 12-09-2011 07:38:32

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Bonjour

Le log de sortie est réalisé avec quel version de ffDiaporama ?
Peux tu me donner des détails sur ton PC - OS, version, configuration


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#3 12-09-2011 11:28:33

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Salut, Ce log de sortie a était fait avec la version stable compilée sur ma machine Linux Gentoo 64 bits.

     Si besoin je peut fournir la même avec la version développement

Ma vidéo de test fait 4Mo (juste qq seconde suffisant pour tester), je peut aussi l'envoyé ( mais pas la laisser dans un forum)

Par contre, la où je ne comprend pas c'est que sur certaines vidéeo (pas beaucoup), j'ai du son en sortie alors que c'est le même format vidéo ...

Offline

#4 12-09-2011 12:28:48

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

J'aimerai bien que tu refasses la log avec la beta 2 (on n'a pas encore le paquet Gentoo donc il faudra que tu compiles)
Pour la vidéo, 4 Mo ça peut passer par email.


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#5 12-09-2011 20:15:16

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Fait sur la trunk ( wget -O ffDiaporama.tar.gz http://svn.tuxfamily.org/viewvc.cgi/ffd … z?view=tar ) :

$ ffDiaporama

[avi @ 0x1ec3520] max_analyze_duration 5000000 reached at 5000000
[avi @ 0x1f1ca80] max_analyze_duration 5000000 reached at 5000000
"Encodage du son"
Seek error
"Démarre l'encodeur ffmpeg"
"ffmpeg -y -f image2pipe -vcodec ppm -r 25 -i - -i "/home/roumano/Images/00_Video_a_trier/temp.wav" -dframes 137 -vcodec libx264 -fpre "/home/roumano/bin/trunk/ffDiaporama/trunk/ffDiaporama/libx264-hq.ffpreset" -minrate 7200000 -maxrate 8800000 -bufsize 16000000 -b 8000000 -r 25 -acodec libfaac -ab 160000 -ar 48000 -ac 2 -aspect 16:9 -threads 8 "/home/roumano/Images/00_Video_a_trier/Vidéo.mp4""
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Nov 29 2011 22:31:20 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopenjpeg --disable-altivec --disable-avx --cpu=host --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[image2pipe @ 0x14cff20] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 1920x1080, 25 tbr, 25 tbn, 25 tbc
[wav @ 0x14cec00] max_analyze_duration 5000000 reached at 5013333
Input #1, wav, from '/home/roumano/Images/00_Video_a_trier/temp.wav':
  Duration: 00:00:05.46, bitrate: 1536 kb/s
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Incompatible pixel format 'rgb24' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x154e1f0] w:1920 h:1080 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x15cdc80] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x15734d0] w:1920 h:1080 fmt:rgb24 -> w:1920 h:1080 fmt:yuv420p flags:0x4
[libx264 @ 0x14ce740] using SAR=1/1
[libx264 @ 0x14ce740] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x14ce740] profile High, level 4.0
[libx264 @ 0x14ce740] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=8000 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 vbv_maxrate=8800 vbv_bufsize=16000 nal_hrd=none ip_ratio=1.41 aq=1:1.00
Output #0, mp4, to '/home/roumano/Images/00_Video_a_trier/Vidéo.mp4':
  Metadata:
    encoder         : Lavf52.111.0
    Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=10-51, 8000 kb/s, 25 tbn, 25 tbc
    Stream #0.1: Audio: libfaac, 48000 Hz, 2 channels, s16, 160 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
frame=    5 fps=  0 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=    9 fps=  7 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   14 fps=  8 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   19 fps=  8 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   24 fps=  8 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   31 fps=  9 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   38 fps=  9 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   45 fps= 10 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   46 fps=  8 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   52 fps=  8 q=0.0 size=       0kB time=00:00:00.00 bitrate=   0.0kbits/sframe=   58 fps=  8 q=26.0 size=      83kB time=00:00:00.17 bitrate=3997.7kbits/frame=   64 fps=  9 q=22.0 size=     164kB time=00:00:00.40 bitrate=3315.1kbits/frame=   70 fps=  9 q=19.0 size=     390kB time=00:00:00.64 bitrate=4990.8kbits/frame=   75 fps=  9 q=19.0 size=     557kB time=00:00:00.85 bitrate=5349.3kbits/frame=   80 fps=  9 q=21.0 size=     881kB time=00:00:01.04 bitrate=6907.3kbits/frame=   85 fps=  9 q=21.0 size=    1034kB time=00:00:01.25 bitrate=6727.0kbits/frame=   90 fps=  9 q=20.0 size=    1164kB time=00:00:01.45 bitrate=6570.5kbits/frame=   95 fps=  9 q=20.0 size=    1426kB time=00:00:01.64 bitrate=7109.1kbits/frame=  101 fps=  9 q=21.0 size=    1657kB time=00:00:01.89 bitrate=7150.7kbits/frame=  106 fps=  9 q=20.0 size=    1815kB time=00:00:02.09 bitrate=7112.9kbits/frame=  112 fps=  9 q=21.0 size=    2012kB time=00:00:02.32 bitrate=7088.6kbits/frame=  117 fps=  9 q=20.0 size=    2108kB time=00:00:02.53 bitrate=6803.2kbits/frame=  122 fps=  9 q=20.0 size=    2347kB time=00:00:02.73 bitrate=7040.7kbits/frame=  127 fps=  9 q=20.0 size=    2701kB time=00:00:02.92 bitrate=7570.1kbits/frame=  131 fps=  9 q=21.0 size=    2905kB time=00:00:03.09 bitrate=7693.0kbits/frame=  136 fps=  9 q=21.0 size=    3118kB time=00:00:03.28 bitrate=7773.6kbits/"Stop l'encodeur"
frame=  137 fps=  7 q=-1.0 Lsize=    5237kB time=00:00:05.44 bitrate=7885.6kbits/s   
video:5229kB audio:2kB global headers:0kB muxing overhead 0.095313%
frame I:2     Avg QP:24.33  size: 13279
[libx264 @ 0x14ce740] frame P:45    Avg QP:17.05  size: 77594
[libx264 @ 0x14ce740] frame B:90    Avg QP:21.19  size: 20397
[libx264 @ 0x14ce740] consecutive B-frames:  2.2% 21.9% 26.3% 49.6%
[libx264 @ 0x14ce740] mb I  I16..4: 49.1% 46.3%  4.7%
[libx264 @ 0x14ce740] mb P  I16..4:  3.2% 10.0%  2.8%  P16..4: 36.8% 20.6% 10.2%  0.0%  0.0%    skip:16.4%
[libx264 @ 0x14ce740] mb B  I16..4:  0.6%  1.2%  0.3%  B16..8: 42.6%  8.2%  1.4%  direct: 4.2%  skip:41.4%  L0:43.4% L1:48.7% BI: 7.9%
[libx264 @ 0x14ce740] 8x8 transform intra:58.7% inter:72.0%
[libx264 @ 0x14ce740] direct mvs  spatial:94.4% temporal:5.6%
[libx264 @ 0x14ce740] coded y,uvDC,uvAC intra: 52.6% 72.7% 48.1% inter: 18.8% 28.3% 5.5%
[libx264 @ 0x14ce740] i16 v,h,dc,p: 45% 17%  8% 29%
[libx264 @ 0x14ce740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 18% 14%  6%  6%  6%  9%  7% 11%
[libx264 @ 0x14ce740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 21% 10%  5%  9%  7% 12%  6% 10%
[libx264 @ 0x14ce740] i8c dc,h,v,p: 54% 22% 15%  9%
[libx264 @ 0x14ce740] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x14ce740] ref P L0: 68.2% 11.4% 14.9%  5.4%
[libx264 @ 0x14ce740] ref B L0: 88.3% 11.7%
[libx264 @ 0x14ce740] kb/s:7816.03

Je t'envoi un mail avec le fichier de test

Offline

#6 01-16-2012 18:39:15

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Bonjour Roumano

Je sais que cela commence à dater et que j'y ai mis le temps, mais ça y est, j'ai trouvé et résolu le bug qui empêchait la lecture des bandes son de tes vidéo.
Je t'invites à compiler la version du SVN et à me dire si ton problème est effectivement réglé.

A bientôt


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#7 01-16-2012 23:43:43

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Salut,

Coool, je teste ça bientôt !

++

Offline

#8 01-17-2012 20:11:40

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

C'est pas vraiement le sujet mais un peut quand meme car j'arrive plus a compiler la version trunk : ( wget -O ffDiaporama.tar.gz http://svn.tuxfamily.org/viewvc.cgi/ffd … z?view=tar ; tar xvf ... ; qmake --> OK

make :
..
...
g++ -c -pipe -Wall -W -D_REENTRANT -DHAVE_CONFIG_H -DTAGLIB_STATIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/include/ffmpeg/ -I../../../build/src/ffDiaporama -I../../../build/src/ffDiaporama -o ../../../build/src/ffDiaporama/DlgRenderVideo.o DlgRenderVideo.cpp
DlgRenderVideo.cpp: In member function ‘bool DlgRenderVideo::WriteTempAudioFile(QString, int)’:
DlgRenderVideo.cpp:1314:82: erreur: ‘AVIO_FLAG_WRITE’ was not declared in this scope
make[1]: *** [../../../build/src/ffDiaporama/DlgRenderVideo.o] Erreur 1
make[1] : on quitte le répertoire « /home/roumano/bin/trunk/ffDiaporama/src/ffDiaporama »
make: *** [sub-src-ffDiaporama-make_default-ordered] Erreur 2

C'est normale ?

Offline

#9 01-18-2012 08:33:34

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Bonjour

Non, ce n'est pas normal, mais il y tellement de version différente de ffmpeg dans la nature que c'est très très compliqué de couvrir tous les cas.
Bon, j'ai mis à jours le SVN, tu devrais pouvoir compiler maintenant.


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#10 01-18-2012 09:30:47

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Salut,

Bien vu, j'arrive a compiler, j'ai maintenant une version récente ffDiaporama.    wink
je teste une vidéo ce soir ou très bientôt.

Encore merci pour ton aide & ta réactivité !

Offline

#11 01-18-2012 14:37:03

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

ffDiaporama ne fonctionne plus chez moi :

Je n'arrive plus a ouvrir de fichier dans ffDiaporama , j'ai un pop-up avec comme titre " erreur" et contenu le nom du fichier que je tente d'ouvrir

les logs du terminal :

ffDiaporama
StartupDir "/home/roumano/bin/trunk/ffDiaporama"
Try to find datas in "/home/roumano/bin/trunk/ffDiaporama/ffDiaporama.xml" true
Set working path to "/home/roumano/bin/trunk/ffDiaporama"
"Starting ffDiaporama version 1.2 devel"
"Read configuration file" "/home/roumano/bin/trunk/ffDiaporama/ffDiaporama.xml"
"Reading configuration file" "/home/roumano/bin/trunk/ffDiaporama/Devices.xml"
"Read configuration file" "/home/roumano/.ffDiaporama/ffDiaporama.xml"
Loading application translation file ... "locale/ffDiaporama_fr.qm"
Loading QT system translation file ... "locale/qt_fr.qm"
"Lecture du fichier de configuration" "/home/roumano/.ffDiaporama/Devices.xml"
"Chargement des icônes systèmes"
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
QImage::scaleHeight: Image is a null image
Starting ffmpeg lib ...


Par contre, si j'ouvre un projet existant et crée une vidéo avec, le fichier est minuscule et j'ai une erreur de segmentation, log  :

"Encodage du son"
"Démarre l'encodeur ffmpeg"
"ffmpeg -y -f image2pipe -vcodec ppm -r 25 -i - -i "/home/roumano/Images/00_Video_a_trier/temp.wav" -dframes 4050 -vcodec libx264 -fpre "/home/roumano/bin/trunk/ffDiaporama/libx264-hq.ffpreset" -minrate 7200000 -maxrate 8800000 -bufsize 16000000 -b 8000000 -r 25 -acodec libfaac -ab 160000 -alang und -ar 48000 -ac 2 -aspect 16:9 -threads 8 "/home/roumano/Images/00_Video_a_trier/2011-10-16 - Chez Tonton Beber_new.mp4""
ffmpeg version 0.7.8, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 11 2011 13:14:40 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopenjpeg --disable-altivec --disable-avx --cpu=host --enable-hardcoded-tables
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[image2pipe @ 0x11e2f20] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 1920x1080, 25 tbr, 25 tbn, 25 tbc
[wav @ 0x11e1c00] max_analyze_duration 5000000 reached at 5013333
Input #1, wav, from '/home/roumano/Images/00_Video_a_trier/temp.wav':
  Duration: 00:02:41.98, bitrate: 1536 kb/s
    Stream #1.0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Incompatible pixel format 'rgb24' for codec 'libx264', auto-selecting format 'yuv420p'
[buffer @ 0x12865c0] w:1920 h:1080 pixfmt:rgb24 tb:1/1000000 sar:0/1 sws_param:
[buffersink @ 0x12596f0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x11ed970] w:1920 h:1080 fmt:rgb24 -> w:1920 h:1080 fmt:yuv420p flags:0x4
[libx264 @ 0x11e1740] using SAR=1/1
[libx264 @ 0x11e1740] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
[libx264 @ 0x11e1740] profile High, level 4.0
[libx264 @ 0x11e1740] 264 - core 115 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=0 b_adapt=2 b_bias=0 direct=3 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=8000 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 vbv_maxrate=8800 vbv_bufsize=16000 nal_hrd=none ip_ratio=1.41 aq=1:1.00
Output #0, mp4, to '/home/roumano/Images/00_Video_a_trier/2011-10-16 - Chez Tonton Beber_new.mp4':
  Metadata:
    encoder         : Lavf52.111.0
    Stream #0.0: Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=10-51, 8000 kb/s, 25 tbn, 25 tbc
    Stream #0.1(und): Audio: libfaac, 48000 Hz, 2 channels, s16, 160 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #1.0 -> #0.1
Brush is NULL !  29 q=10.0 size=      87kB time=00:00:02.45 bitrate= 289.8kbits/s   
Erreur de segmentation
frame=  125 fps= 21 q=-1.0 Lsize=     219kB time=00:00:04.96 bitrate= 361.5kbits/s    ime=00:00:02.85 bitrate= 251.3kbits/s   
video:90kB audio:67kB global headers:0kB muxing overhead 39.187998%
frame I:1     Avg QP:10.00  size:   420
[libx264 @ 0x11e1740] frame P:118   Avg QP:11.05  size:   729
[libx264 @ 0x11e1740] frame B:6     Avg QP:16.19  size:   907
[libx264 @ 0x11e1740] consecutive B-frames: 90.4%  9.6%  0.0%  0.0%
[libx264 @ 0x11e1740] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 0x11e1740] mb P  I16..4:  0.4%  0.0%  0.1%  P16..4:  0.6%  0.1%  0.1%  0.0%  0.0%    skip:98.8%
[libx264 @ 0x11e1740] mb B  I16..4:  0.1%  0.0%  0.0%  B16..8:  7.2%  0.6%  0.1%  direct: 0.1%  skip:91.9%  L0:25.7% L1:74.1% BI: 0.2%
[libx264 @ 0x11e1740] 8x8 transform intra:0.0% inter:34.3%
[libx264 @ 0x11e1740] direct mvs  spatial:50.0% temporal:50.0%
[libx264 @ 0x11e1740] coded y,uvDC,uvAC intra: 2.9% 5.5% 5.3% inter: 0.1% 0.3% 0.2%
[libx264 @ 0x11e1740] i16 v,h,dc,p: 97%  2%  1%  0%
[libx264 @ 0x11e1740] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu:  4%  0% 79%  0%  0%  8%  8%  0%  0%
[libx264 @ 0x11e1740] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 37% 17% 29%  3%  2%  3%  2%  3%  3%
[libx264 @ 0x11e1740] i8c dc,h,v,p: 93%  3%  3%  0%
[libx264 @ 0x11e1740] Weighted P-Frames: Y:0.0% UV:0.0%
[libx264 @ 0x11e1740] ref P L0: 62.4%  0.4% 35.0%  2.2%
[libx264 @ 0x11e1740] ref B L0: 83.8% 16.2%
[libx264 @ 0x11e1740] kb/s:147.05

Offline

#12 01-18-2012 19:05:34

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Bonsoir

Effectivement, j'ai été un peu vite ce matin ... bon j'ai republié une mise à jours avec les corrections.

Ceci dit, je trouve ta configuration très bizarre !
Tu as un ffmpeg version 0.7.8 de décembre 2011 mais tes libav... sont en 52 (libavformat  52.111), tu devrais être au moins en 53.1x ????
Sur mon Ubuntu en ffmpeg version 0.7.3 donc bien plus ancien que le tiens, je suis déjà en libavformat  53.3
Il y a un déphasage entre ton binaire ffmpeg et ses librairies ????

Je ne sais pas comment ça marche sur Gentoo, mais peux-tu vérifier tes libav... ?


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#13 01-18-2012 20:40:53

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Salut,

Super, cela fonctionne parfaitement  :
je peut re-encoder les vidéo.
Tu avait raison, le son est revenu !  (on peut marquer le sujet comme résolu)

Sinon au sujet des version, j'ai un peut regarder :

J'ai bien un ffmpeg 0.7.8 (version stable chez gentoo)
et une version libavcodec en 52 ( cat /usr/include/libavcodec/version.h )
#define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 123

Apres avoir googleliser un peut,
libavcodec est compris dans ffmpeg,
mais il existe un package nommé media-video/libav (url http://libav.org/ )  (package non stable) mais celui-ci supprime ffmpeg mais install un package virtuel nommée virtual/ffmpeg pour ne pas casser les dépendances
3 Version mageur de disponible : 0.8_beta , 0.7.2 , 0.6.2

Sinon il existe la version 0.9.1 de ffmpeg de disponible sur gentoo (pas encore stable)
De plus cette nouvelle version a un nouveau useflag (option de compilation diras-t-on, permettant d'installer des librairies et dependances)  ( http://gentoo-portage.com/media-video/ffmpeg/USE )
" avconv " Build and install avconv, an alternative command line tool to ffmpeg from media-video/libav.


Veut-tu que je tester d'installer la 0.9.1 de ffmpeg ? ou libav a la place de ffmpeg ?
Sais-tu si je espérer des évolution interessentes avec ?

Et encore un merci a toi!

PS : la generation des vidéos est un peut plus rapide maintenant qu'avant (10fps pour du 1080p avec mon core i7)

Offline

#14 01-18-2012 22:19:24

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Les libav sont les librairies de ffmpeg. Sans elles, ffmpeg ne peut pas fonctionner.

Je pense que tu peux passer directement à la version 0.9.1 car c'est celle que j'inclus maintenant dans le paquet Windows et ça plutôt marche bien.

Je ne connais pas avconv ... je vais me renseigner.

A ce que j'en ai compris, en tout cas ce que j'exploite plus ou moins partiellement, les nouveautés concerne surtout des metadata supplémentaires et un nouvel aac interne qui évite d'avoir à ajouter libfaac. Je n'ai pas suffisamment testé mais elle est probablement aussi un peu plus rapide.

Coté évolution (ffDiaporama), à partir des 53.xx, tu gagnes les chapitres (mp4/mkv) et les tag !


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#15 01-18-2012 22:48:58

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Mise a jour effectué pour ffmpeg :

../build/ffDiaporama
../build/ffDiaporama: error while loading shared libraries: libavformat.so.52: cannot open shared object file: No such file or directory

Je doit recompiler ffdiaporama, normale ...


Post-recompilation avec un ffmpeg recent, cela ne fonctionne plus lors de la generation des vidéeos :

Pop-up Erreur : Erreur ffmpeg , je click ok puis autre pop-up : Erreur durant le processus ffmpeg

oumano@roumano ~/bin/trunk/ffDiaporama $ ../build/ffDiaporama
StartupDir "/home/roumano/bin/trunk/build"
Try to find datas in "/home/roumano/bin/trunk/build/ffDiaporama.xml" false
Try to find datas in "/home/roumano/bin/trunk/ffDiaporama/ffDiaporama.xml" true
Set working path to "/home/roumano/bin/trunk/ffDiaporama"
"Starting ffDiaporama version 1.2 devel"
"Read configuration file" "/home/roumano/bin/trunk/ffDiaporama/ffDiaporama.xml"
"Reading configuration file" "/home/roumano/bin/trunk/ffDiaporama/Devices.xml"
"Read configuration file" "/home/roumano/.ffDiaporama/ffDiaporama.xml"
Loading application translation file ... "locale/ffDiaporama_fr.qm"
Loading QT system translation file ... "locale/qt_fr.qm"
"Lecture du fichier de configuration" "/home/roumano/.ffDiaporama/Devices.xml"
"Chargement des icônes systèmes"
"Loading /usr/share/icons/gnome/16x16/devices/drive-optical.png" Ok
...
...
Starting ffmpeg lib ...
[avi @ 0x2807530] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x280eee0] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x2800d40] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x28061c0] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x27ff820] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x2c32280] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x2c32280] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x34a1940] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x331c440] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x34a1940] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x44f4a90] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x3f30d00] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x45b3f70] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x3f30d00] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x45daf80] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x4671950] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x4671950] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x53f4920] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x4671950] max_analyze_duration 5000000 reached at 5013333
[avi @ 0x5961210] max_analyze_duration 5000000 reached at 5013333
"Encodage du son"
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
error in av_read_frame -541478725
"Démarre l'encodeur ffmpeg"
"ffmpeg -y -f image2pipe -vcodec ppm -r 25 -i - -i "/home/roumano/Images/00_Video_a_trier/temp.wav" -i "/home/roumano/Images/00_Video_a_trier/TAG.txt"  -map_metadata 0:2 -map_chapters 0:2 -dframes 4050 -vcodec libx264 -fpre "/home/roumano/bin/trunk/ffDiaporama/libx264-hq.ffpreset" -minrate 7200000 -maxrate 8800000 -bufsize 16000000 -b 8000000 -r 25 -acodec libfaac -ab 160000 -alang und -ar 48000 -ac 2 -aspect 16:9 -threads 8 "/home/roumano/Images/00_Video_a_trier/2011-10-16 - Chez Tonton Beber6.mp4""
ffmpeg version 0.9.1, Copyright (c) 2000-2012 the FFmpeg developers
  built on Jan 18 2012 21:26:08 with gcc 4.5.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-march=native -msse4 -O2 -pipe' --extra-cflags='-march=native -msse4 -O2 -pipe' --extra-cxxflags='-march=native -msse4 -O2 -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libfaac --enable-nonfree --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --enable-libpulse --disable-outdev=oss --enable-libfreetype --enable-pthreads --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-mmx2 --disable-ssse3 --disable-vis --disable-neon --disable-iwmmxt --cpu=host --enable-hardcoded-tabl  libavutil    51. 32. 0 / 51. 32. 0
  libavcodec   53. 42. 4 / 53. 42. 4
  libavformat  53. 24. 2 / 53. 24. 2
  libavdevice  53.  4. 0 / 53.  4. 0
  libavfilter   2. 53. 0 /  2. 53. 0
  libswscale    2.  1. 0 /  2.  1. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[image2pipe @ 0x1e00800] Estimating duration from bitrate, this may be inaccurate
Input #0, image2pipe, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: ppm, rgb24, 1920x1080, 25 tbr, 25 tbn, 25 tbc
[wav @ 0x1e09660] max_analyze_duration 5000000 reached at 5013333
Input #1, wav, from '/home/roumano/Images/00_Video_a_trier/temp.wav':
  Duration: 00:02:41.98, bitrate: 1536 kb/s
    Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 2 channels, s16, 1536 kb/s
Input #2, ffmetadata, from '/home/roumano/Images/00_Video_a_trier/TAG.txt':
  Metadata:
    title           : 2011-10-16 - Chez Tonton Beber6
    artist          :
    album           :
    comment         :
    date            : 2012
    composer        : ffDiaporama 1.2 devel
    creation_time   : 2012-01-18 21:42:46
  Duration: 00:02:10.00, start: 0.000000, bitrate: 0 kb/s
    Chapter #2.0: start 0.000000, end 130.000000
    Metadata:
      TITLE           : Titre
Invalid metadata type 2.

Sinon, petit détail dans "ouvrir recent" , on trouver plusieurs fois un projet si qui est un peut déroutant (surtout si on test beaucoup de fois le meme projet ..)

Offline

#16 01-19-2012 07:06:53

domledom
Administrateur
Registered: 09-17-2011
Posts: 1,080

Re: [Résolu]Pas de son

Bonjour Roumano

L'erreur de génération vient du message "Invalid metadata type 2".
Je basais mon test de version, pour adapter les paramètres ffmpeg, sur 53.28 (ce que j'ai sur Windows) alors que tu es en 53.24.
Je descend le n° de version pour considérer ffmpeg 0.9.1
Reprends les sources du SVN, recompiles et ça devrait marcher.


Processeur i5 - 8 Go RAM - Manjaro Linux KDE (64 bits) / Windows 7 (64 bits)

Offline

#17 01-19-2012 13:55:33

Roumano
Membre
Registered: 10-06-2011
Posts: 25

Re: [Résolu]Pas de son

Salut,
Yes c'est parfait!

++

Offline

Board footer