Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (52)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

Sur d’autres sites (3008)

  • FFPLAY produces black video output [closed]

    28 janvier 2020, par RooterTooter

    I’m having an issue playing videos with ffplay on an embedded arm device (imx6). The OS is based on yocto sumo and uses the meta-freescale layers for imx6.

    I have a number of test videos in different formats that I am sure are formatted correctly (They play fine on my laptop with ffplay). FFMPEG has all the necessary codecs, detects my streams, it plays audio without an issue, but the video is just black.

    It’s worth nothing that I’m running X11 and have xterm running, and when ffplay is trying to play, a black box will pop up on the screen in the correct dimensions like it thinks it’s decoding video, but it’s always blank.

    $DISPLAY=:0 ffplay test.mp4
    ffplay version 3.3.3 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 7.3.0 (GCC)
     configuration: --disable-stripping --enable-pic --enable-shared --enable-pthreads --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape --enable-nonfree --cross-prefix=arm-poky-linux-gnueabi- --ld='arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot' --cc='arm-poky-linux-gnueabi-gcc -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot' --cxx='arm-poky-linux-gnueabi-g++ -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot' --arch=arm --target-os=linux --enable-cross-compile --extra-cflags=' -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0=/usr/src/debug/ffmpeg/3.3.3-r0 -fdebug-prefix-map=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot= -march=armv7-a -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 --sysroot=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot' --extra-ldflags='-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed' --sysroot=/home/builder/imx-yocto-bsp/machine/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/ffmpeg/3.3.3-r0/recipe-sysroot --enable-hardcoded-tables --libdir=/usr/lib --shlibdir=/usr/lib --datadir=/usr/share/ffmpeg --disable-mipsdsp --disable-mipsdspr2 --cpu=cortex-a9 --pkg-config=pkg-config --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avresample --enable-bzlib --enable-gpl --disable-libgsm --disable-indev=jack --disable-libvorbis --enable-lzma --disable-libmp3lame --enable-openssl --enable-postproc --disable-libschroedinger --enable-sdl2 --disable-libspeex --enable-swresample --enable-swscale --enable-libtheora --enable-vaapi --enable-vdpau --enable-libvpx --enable-libx264 --enable-outdev=xv
     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
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':q=    0B f=0/0  
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.20.100
     Duration: 00:00:30.88, start: 0.000000, bitrate: 143 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 320x180, 67 kb/s, 21.08 fps, 21.08 tbr, 16192 tbn, 42.17 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 66 kb/s (default)
       Metadata:
         handler_name    : SoundHandler

    I’ve tried h264 and mp2 video with the same results. Has anyone seen this before

  • Speed up start of a stream recording with ffmpeg

    12 mai 2021, par neutron

    I try to record a video stream (from the web or a local webcam stream) and save it to a .mp4 / .flv file. I use FFmpeg with the version"N-59696-gc0a33c4".

    



    The problem isn't the recording of the stream, it is, how log it tooks to start the recording.

    



    This are the parameters i used to capture the stream (the stream is some random stream I found on the web) :

    



    ffmpeg.exe -i mmsh://live.camstreams.com/cscamscape?MSWMExt=.asf -r 25 -t 60 C:\temp\video.mp4


    



    And leads to this output :

    



    ffmpeg.exe -i mmsh://live.camstreams.com/cscams
cape?MSWMExt=.asf -r 25 -t 60 C:\temp\video.mp4
ffmpeg version N-59696-gc0a33c4 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jan  8 2014 22:01:50 with gcc 4.8.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 62.100 / 52. 62.100
  libavcodec     55. 47.100 / 55. 47.100
  libavformat    55. 22.102 / 55. 22.102
  libavdevice    55.  5.102 / 55.  5.102
  libavfilter     4.  0.103 /  4.  0.103
  libswscale      2.  5.101 /  2.  5.101
  libswresample   0. 17.104 /  0. 17.104
  libpostproc    52.  3.100 / 52.  3.100
[wmv3 @ 0275db40] Extra data: 8 bits left, value: 0
Input #0, asf, from 'mmsh://live.camstreams.com/cscamscape?MSWMExt=.asf':
  Metadata:
    title           : Live Fish Cam
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: SP
    WMFSDKVersion   : 11.0.5721.5275
    IsVBR           : 0
  Duration: N/A, start: 3887858.274000, bitrate: 512 kb/s
    Stream #0:0(eng): Video: wmv3 (Simple) (WMV3 / 0x33564D57), yuv420p, 640x360
, 512 kb/s, 62.50 tbr, 1k tbn, 1k tbc
[libx264 @ 0275e400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[libx264 @ 0275e400] profile High, level 3.0
[libx264 @ 0275e400] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec - Cop
yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
ma_qp_offset=-2 threads=12 lookahead_threads=2 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 scene
cut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin
=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[wmv3 @ 0275db40] Extra data: 8 bits left, value: 0
Output #0, mp4, to 'C:\temp\video.mp4':
  Metadata:
    title           : Live Fish Cam
    WMFSDKNeeded    : 0.0.0.0000
    DeviceConformanceTemplate: SP
    WMFSDKVersion   : 11.0.5721.5275
    IsVBR           : 0
    encoder         : Lavf55.22.102
    Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 6
40x360, q=-1--1, 12800 tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (wmv3 -> libx264)
Press [q] to stop, [?] for help
frame=  148 fps=0.0 q=28.0 size=     228kB time=00:00:03.60 bitrate= 518.3kbits/
frame=  151 fps=117 q=28.0 size=     236kB time=00:00:03.72 bitrate= 519.2kbits/
frame=  178 fps= 91 q=28.0 size=     298kB time=00:00:04.80 bitrate= 508.3kbits/
frame=  204 fps= 64 q=28.0 size=     347kB time=00:00:05.84 bitrate= 487.4kbits/
... 
... And so on ...


    



    The problem now is, that it takes around 6-10 seconds until the recording starts after I entered the command.

    



    Is there a way to speed up this process ?

    


  • Speed up start of a stream recording with ffmpeg

    15 janvier 2014, par neutron

    I try to record a video stream (from the web or a local webcam stream) and save it to a .mp4 / .flv file. I use FFmpeg with the version"N-59696-gc0a33c4".

    The problem isn't the recording of the stream, it is, how log it tooks to start the recording.

    This are the parameters i used to capture the stream (the stream is some random stream I found on the web) :

    ffmpeg.exe -i mmsh://live.camstreams.com/cscamscape?MSWMExt=.asf -r 25 -t 60 C:\temp\video.mp4

    And leads to this output :

    ffmpeg.exe -i mmsh://live.camstreams.com/cscams
    cape?MSWMExt=.asf -r 25 -t 60 C:\temp\video.mp4
    ffmpeg version N-59696-gc0a33c4 Copyright (c) 2000-2014 the FFmpeg developers
     built on Jan  8 2014 22:01:50 with gcc 4.8.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
    cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
    ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 62.100 / 52. 62.100
     libavcodec     55. 47.100 / 55. 47.100
     libavformat    55. 22.102 / 55. 22.102
     libavdevice    55.  5.102 / 55.  5.102
     libavfilter     4.  0.103 /  4.  0.103
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    [wmv3 @ 0275db40] Extra data: 8 bits left, value: 0
    Input #0, asf, from 'mmsh://live.camstreams.com/cscamscape?MSWMExt=.asf':
     Metadata:
       title           : Live Fish Cam
       WMFSDKNeeded    : 0.0.0.0000
       DeviceConformanceTemplate: SP
       WMFSDKVersion   : 11.0.5721.5275
       IsVBR           : 0
     Duration: N/A, start: 3887858.274000, bitrate: 512 kb/s
       Stream #0:0(eng): Video: wmv3 (Simple) (WMV3 / 0x33564D57), yuv420p, 640x360
    , 512 kb/s, 62.50 tbr, 1k tbn, 1k tbc
    [libx264 @ 0275e400] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 0275e400] profile High, level 3.0
    [libx264 @ 0275e400] 264 - core 140 r2377 1ca7bb9 - H.264/MPEG-4 AVC codec - Cop
    yleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deb
    lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 m
    e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chro
    ma_qp_offset=-2 threads=12 lookahead_threads=2 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 scene
    cut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin
    =0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [wmv3 @ 0275db40] Extra data: 8 bits left, value: 0
    Output #0, mp4, to 'C:\temp\video.mp4':
     Metadata:
       title           : Live Fish Cam
       WMFSDKNeeded    : 0.0.0.0000
       DeviceConformanceTemplate: SP
       WMFSDKVersion   : 11.0.5721.5275
       IsVBR           : 0
       encoder         : Lavf55.22.102
       Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 6
    40x360, q=-1--1, 12800 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (wmv3 -> libx264)
    Press [q] to stop, [?] for help
    frame=  148 fps=0.0 q=28.0 size=     228kB time=00:00:03.60 bitrate= 518.3kbits/
    frame=  151 fps=117 q=28.0 size=     236kB time=00:00:03.72 bitrate= 519.2kbits/
    frame=  178 fps= 91 q=28.0 size=     298kB time=00:00:04.80 bitrate= 508.3kbits/
    frame=  204 fps= 64 q=28.0 size=     347kB time=00:00:05.84 bitrate= 487.4kbits/
    ...
    ... And so on ...

    The problem now is, that it takes around 6-10 seconds until the recording starts after I entered the command.

    Is there a way to speed up this process ?