Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#551 Le 17/02/2018, à 16:12

enebre

Re : [g2s] Screencastor - Screencast via ffmpeg

Bingo !
Le son est très correct avec cette version, je continue pour faire d'autres tests, différents formats peut-être , bien qu'en ogg ça me convienne.
j'essaye aussi la vidéo, un souci avec le cadrage de la fenêtre , mais je n'ai probablement pas encore trouvé la bonne manip

Hors ligne

#552 Le 17/02/2018, à 16:21

enebre

Re : [g2s] Screencastor - Screencast via ffmpeg

Pour le cadrage ça va maintenant, mais l'image est  saccadée et le son crashe après quelques secondes ±10 à 15 s

J'ai copier ceci du terminal de l'appli:

ffmpeg version 3.3.4-2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (Ubuntu 7.2.0-8ubuntu2)
configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec     configuration: --prefix=/usr --extra-version=2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-netcdf
libavutil      55. 58.100 / 55. 58.100
libavcodec     57. 89.100 / 57. 89.100
libavformat    57. 71.100 / 57. 71.100
libavdevice    57.  6.100 / 57.  6.100
libavfilter     6. 82.100 /  6. 82.100
libavresample   3.  5.  0 /  3.  5.  0
libswscale      4.  6.100 /  4.  6.100
libswresample   2.  7.100 /  2.  7.100
libpostproc    54.  5.100 / 54.  5.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, alsa, from 'pulse':
Duration: N/A, start: 1518881122.014320, bitrate: 1536 kb/s
Stream #0:0: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
[x11grab @ 0x55ef9d08fd40] Stream #0: not enough frames to estimate rate; consider increasing probesize
Input #1, x11grab, from ':0.0+0,0':
Duration: N/A, start: 1518881122.257413, bitrate: N/A
Stream #1:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1024x768, 29.97 fps, 1000k tbr, 1000k tbn, 1000k tbc
Stream mapping:
Stream #1:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (pcm_s16le (native) -> vorbis (native))
Press [q] to stop, [?] for help
[libx264 @ 0x55ef9d09a4e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
[libx264 @ 0x55ef9d09a4e0] profile High, level 3.1
[libx264 @ 0x55ef9d09a4e0] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 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=710 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[alsa @ 0x55ef9d070a60] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
Output #0, matroska, to '/home/ombre/Musique/-1518881122.mkv':
Metadata:
encoder         : Lavf57.71.100
Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p(progressive), 1024x768, q=-1--1, 710 kb/s, 29.97 fps, 1k tbn, 29.97 tbc
Metadata:
encoder         : Lavc57.89.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/710000 buffer size: 0 vbv_delay: -1
Stream #0:1: Audio: vorbis (oV[0][0] / 0x566F), 48000 Hz, stereo, fltp
Metadata:
encoder         : Lavc57.89.100 vorbis
[libx264 @ 0x55ef9d09a4e0] non-strictly-monotonic PTS
Last message repeated 1 times
frame=   14 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
frame=   19 fps= 19 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
[libx264 @ 0x55ef9d09a4e0] non-strictly-monotonic PTS
Last message repeated 1 times
frame=   32 fps= 21 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
frame=   43 fps= 21 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
frame=   47 fps= 18 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A speed=   0x
[x11grab @ 0x55ef9d08fd40] Thread message queue blocking; consider raising the thread_queue_size option (current value: 8)
frame=   50 fps= 15 q=41.0 size=       4kB time=00:00:00.02 bitrate=1611.4kbits/s speed=0.00644x
frame=   53 fps= 13 q=43.0 size=       4kB time=00:00:00.16 bitrate= 201.4kbits/s speed=0.0421x
frame=   61 fps= 13 q=56.0 size=       4kB time=00:00:00.46 bitrate=  72.3kbits/s speed=0.102x
frame=   68 fps= 13 q=49.0 size=       4kB time=00:00:01.03 bitrate=  32.6kbits/s speed=0.204x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=   76 fps= 14 q=43.0 size=       4kB time=00:00:01.23 bitrate=  27.4kbits/s speed=0.221x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=   83 fps= 14 q=42.0 size=       4kB time=00:00:01.60 bitrate=  21.1kbits/s speed=0.263x
frame=   92 fps= 14 q=41.0 size=       4kB time=00:00:02.07 bitrate=  16.3kbits/s speed=0.313x
frame=   98 fps= 14 q=34.0 size=       4kB time=00:00:02.43 bitrate=  13.9kbits/s speed=0.343x
frame=  104 fps= 14 q=33.0 size=       4kB time=00:00:02.90 bitrate=  11.7kbits/s speed=0.379x
frame=  109 fps= 13 q=28.0 size=       4kB time=00:00:03.50 bitrate=   9.7kbits/s speed=0.429x
frame=  114 fps= 13 q=30.0 size=       4kB time=00:00:04.23 bitrate=   8.0kbits/s speed=0.488x
frame=  119 fps= 13 q=34.0 size=       4kB time=00:00:04.57 bitrate=   7.4kbits/s speed=0.498x
frame=  127 fps= 13 q=31.0 size=     399kB time=00:00:05.17 bitrate= 631.6kbits/s speed=0.533x
frame=  132 fps= 13 q=31.0 size=     399kB time=00:00:05.50 bitrate= 593.3kbits/s speed=0.535x
frame=  137 fps= 13 q=29.0 size=     399kB time=00:00:05.80 bitrate= 562.6kbits/s speed=0.538x
frame=  144 fps= 13 q=29.0 size=     399kB time=00:00:06.30 bitrate= 518.0kbits/s speed=0.558x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=  150 fps= 13 q=29.0 size=     399kB time=00:00:06.67 bitrate= 489.5kbits/s speed=0.565x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=  156 fps= 13 q=23.0 size=     399kB time=00:00:07.14 bitrate= 457.5kbits/s speed=0.579x
frame=  160 fps= 12 q=23.0 size=     399kB time=00:00:07.47 bitrate= 437.1kbits/s speed=0.58x
frame=  166 fps= 12 q=24.0 size=     399kB time=00:00:07.97 bitrate= 409.6kbits/s speed=0.595x
frame=  171 fps= 12 q=27.0 size=     399kB time=00:00:08.71 bitrate= 375.1kbits/s speed=0.626x
frame=  177 fps= 12 q=24.0 size=     399kB time=00:00:09.11 bitrate= 358.6kbits/s speed=0.627x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=  182 fps= 12 q=24.0 size=     744kB time=00:00:09.54 bitrate= 638.3kbits/s speed=0.635x
frame=  187 fps= 12 q=23.0 size=     744kB time=00:00:10.11 bitrate= 602.4kbits/s speed=0.646x
frame=  192 fps= 12 q=23.0 size=     744kB time=00:00:10.44 bitrate= 583.2kbits/s speed=0.637x
frame=  197 fps= 12 q=22.0 size=     744kB time=00:00:10.94 bitrate= 556.6kbits/s speed=0.648x
frame=  202 fps= 12 q=23.0 size=     744kB time=00:00:11.34 bitrate= 536.9kbits/s speed=0.65x
frame=  206 fps= 11 q=19.0 size=     744kB time=00:00:11.67 bitrate= 521.6kbits/s speed=0.65x
frame=  210 fps= 11 q=25.0 size=     744kB time=00:00:11.98 bitrate= 508.5kbits/s speed=0.645x
frame=  215 fps= 11 q=24.0 size=     744kB time=00:00:12.54 bitrate= 485.5kbits/s speed=0.657x
frame=  220 fps= 11 q=22.0 size=     744kB time=00:00:13.04 bitrate= 466.9kbits/s speed=0.664x
frame=  225 fps= 11 q=24.0 size=     744kB time=00:00:13.48 bitrate= 451.9kbits/s speed=0.666x
frame=  230 fps= 11 q=23.0 size=     744kB time=00:00:14.05 bitrate= 433.3kbits/s speed=0.677x
frame=  235 fps= 11 q=25.0 size=    1418kB time=00:00:14.44 bitrate= 804.1kbits/s speed=0.676x
frame=  241 fps= 11 q=23.0 size=    1418kB time=00:00:15.18 bitrate= 765.2kbits/s speed=0.692x
frame=  245 fps= 11 q=26.0 size=    1418kB time=00:00:15.55 bitrate= 747.1kbits/s speed=0.687x
frame=  251 fps= 11 q=27.0 size=    1418kB time=00:00:16.55 bitrate= 702.0kbits/s speed=0.715x
frame=  256 fps= 11 q=27.0 size=    1418kB time=00:00:16.98 bitrate= 684.0kbits/s speed=0.718x
frame=  261 fps= 11 q=23.0 size=    1418kB time=00:00:17.61 bitrate= 659.4kbits/s speed=0.723x
frame=  264 fps= 11 q=22.0 size=    1418kB time=00:00:17.95 bitrate= 647.2kbits/s speed=0.722x
frame=  269 fps= 11 q=23.0 size=    1418kB time=00:00:18.68 bitrate= 621.8kbits/s speed=0.737x
frame=  274 fps= 11 q=26.0 size=    1908kB time=00:00:19.18 bitrate= 814.8kbits/s speed=0.74x
frame=  278 fps= 11 q=28.0 size=    1908kB time=00:00:19.62 bitrate= 796.8kbits/s speed=0.742x
frame=  284 fps= 11 q=27.0 size=    1908kB time=00:00:20.35 bitrate= 768.1kbits/s speed=0.755x
frame=  288 fps= 10 q=23.0 size=    1908kB time=00:00:20.78 bitrate= 752.1kbits/s speed=0.755x
frame=  292 fps= 10 q=17.0 size=    1908kB time=00:00:21.18 bitrate= 737.8kbits/s speed=0.756x
frame=  298 fps= 10 q=31.0 size=    1908kB time=00:00:22.45 bitrate= 696.2kbits/s speed=0.784x
frame=  304 fps= 10 q=23.0 size=    2209kB time=00:00:22.72 bitrate= 796.2kbits/s speed=0.779x
frame=  309 fps= 10 q=24.0 size=    2209kB time=00:00:23.19 bitrate= 780.2kbits/s speed=0.782x
frame=  313 fps= 10 q=27.0 size=    2209kB time=00:00:23.52 bitrate= 769.0kbits/s speed=0.779x
frame=  317 fps= 10 q=25.0 size=    2209kB time=00:00:24.09 bitrate= 751.0kbits/s speed=0.782x
frame=  323 fps= 10 q=23.0 size=    2209kB time=00:00:24.99 bitrate= 723.9kbits/s speed=0.798x
frame=  328 fps= 10 q=23.0 size=    2209kB time=00:00:25.46 bitrate= 710.6kbits/s speed= 0.8x
frame=  333 fps= 10 q=25.0 size=    2209kB time=00:00:26.09 bitrate= 693.4kbits/s speed=0.807x
[libx264 @ 0x55ef9d09a4e0]
non-strictly-monotonic PTS
frame=  338 fps= 10 q=25.0 size=    2209kB time=00:00:26.62 bitrate= 679.5kbits/s speed=0.808x
frame=  343 fps= 10 q=25.0 size=    2209kB time=00:00:27.29 bitrate= 662.9kbits/s speed=0.814x
frame=  346 fps= 10 q=28.0 size=    2875kB time=00:00:27.49 bitrate= 856.6kbits/s speed=0.808x
frame=  351 fps= 10 q=26.0 size=    2875kB time=00:00:28.12 bitrate= 837.3kbits/s speed=0.813x
frame=  355 fps= 10 q=22.0 size=    2875kB time=00:00:28.50 bitrate= 826.3kbits/s speed=0.81x
frame=  359 fps= 10 q=23.0 size=    2875kB time=00:00:28.93 bitrate= 814.1kbits/s speed=0.811x
frame=  361 fps= 10 q=24.0 size=    2875kB time=00:00:29.06 bitrate= 810.4kbits/s speed=0.802x
frame=  364 fps=9.8 q=23.0 size=    2875kB time=00:00:29.33 bitrate= 803.0kbits/s speed=0.792x
frame=  367 fps=9.7 q=23.0 size=    2875kB time=00:00:29.83 bitrate= 789.5kbits/s speed=0.791x
frame=  369 fps=9.6 q=26.0 size=    2875kB time=00:00:29.99 bitrate= 785.1kbits/s speed=0.782x
frame=  373 fps=9.6 q=30.0 size=    2875kB time=00:00:30.53 bitrate= 771.4kbits/s speed=0.785x
frame=  377 fps=9.6 q=26.0 size=    2875kB time=00:00:30.99 bitrate= 759.8kbits/s speed=0.787x
frame=  384 fps=9.6 q=26.0 size=    2875kB time=00:00:31.56 bitrate= 746.1kbits/s speed=0.789x
frame=  388 fps=9.6 q=28.0 size=    3564kB time=00:00:32.16 bitrate= 907.6kbits/s speed=0.792x

En fait après le visionnage du dernier résultat le son ne c'est pas arrêté.
Donc c'est formidable ton travail, je suis content smile de pouvoir utiliser cet outil.
Merci Hizoka

Dernière modification par enebre (Le 17/02/2018, à 16:35)

Hors ligne

#553 Le 17/02/2018, à 17:49

Hizoka

Re : [g2s] Screencastor - Screencast via ffmpeg

Ravi que cela fonctionne smile

Je suis un autre projet actuellement, mais que possible, je me remets dessus smile


KDE Neon 64bits
Tous mes softs (MKVExtractorQt, HizoSelect, HizoProgress, Qtesseract, Keneric, Services menus...) sont sur github

Hors ligne

#554 Le 18/02/2018, à 23:30

alex2423

Re : [g2s] Screencastor - Screencast via ffmpeg

Ce serait vraiment top que ton programme puisse permettre la possibilité de capturer à la voix l'écran et la webcam. Je trouve cela ausez de pouvoir se filmer lorsque l'on fait un tutoriel par exemple.
J'ai regardé par curiosité si ffmpeg aurait une option de ce genre. J'ai l'impression que oui avec v4l2

ffmpeg -f v4l2 -list_formats all -i /dev/video0

https://trac.ffmpeg.org/wiki/Capture/Webcam

Sinon pas de problème pour l'attente, il y a d'autres solutions meme si elles sont plus lourdes. Un grand merci à toi pour cette initiative.

Pour python, je ne connais pas ce "nouveau" langage à la mode, excellent pour du scripting notamment et plein d'autres choses grace à ses nombreuses librairies. Il faudrait qu'un jour, je prenne le temps de regarder un peu et d'apprendre 2-3 bases.

Dernière modification par alex2423 (Le 18/02/2018, à 23:52)

Hors ligne