Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (24)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • 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 (...)

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (4618)

  • ffplay 461 Unsupported transport

    28 octobre 2017, par Cerato

    Please help me to understand what I am doing wrong.

    I am executing the following command for making a live stream

    Executing: powershell gst-launch-1.0 filesrc location=D:/testVODs/sample.mkv ! matroskademux name=dmx dmx. ! h264parse config-interval=1 ! queue ! rtspclientsink profiles=avpf protocols=udp location="rtsp://192.168.1.1:8554/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1" name=rtsp_out dmx. ! opusparse ! queue ! rtsp_out.

    and in the result, I see that the execution ended after 00:01:21 which means that the stream is ended successfully after my video ended :

    Setting pipeline to PAUSED ...
    Pipeline is PREROLLING ...
    Progress: (open) Opening Stream
    Progress: (connect) Connecting to rtsp://192.168.1.1:8554/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1
    Progress: (open) Retrieving server options
    Progress: (open) Opened Stream
    Pipeline is PREROLLED ...
    Setting pipeline to PLAYING ...
    New clock: GstSystemClock
    Progress: (request) Sending RECORD request
    Progress: (record) Sending server stream info
    Progress: (request) Sending RECORD request
    Progress: (request) SETUP stream 1
    Progress: (request) SETUP stream 0
    Progress: (record) Starting recording
    Got EOS from element "pipeline0".
    Execution ended after 0:01:21.318315052
    Setting pipeline to PAUSED ...
    Setting pipeline to READY ...
    Setting pipeline to NULL ...
    Freeing pipeline ...

    at the same time I am trying to play the stream using the following request :

    Executing: powershell ffplay -rtsp_transport http "rtsp://192.168.1.1:8554/live/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1"

    but I have the following response :

    ffplay started on 2017-10-27 at 18:52:13
    Report written to "D:/testVODs/Stream1to.log"
    ffplay version 3.4 Copyright (c) 2003-2017 the FFmpeg developers
     built with gcc 7.2.0 (GCC)
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx
     libavutil      55. 78.100 / 55. 78.100
     libavcodec     57.107.100 / 57.107.100
     libavformat    57. 83.100 / 57. 83.100
     libavdevice    57. 10.100 / 57. 10.100
     libavfilter     6.107.100 /  6.107.100
     libswscale      4.  8.100 /  4.  8.100
     libswresample   2.  9.100 /  2.  9.100
     libpostproc    54.  7.100 / 54.  7.100
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
       nan    :  0.000 fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0  
    [rtsp @ 000001930a05e500] method SETUP failed: 461 Unsupported transport
    rtsp://192.168.1.1:8554/live/8c83bea4-b49b-4776-9c0f-d11e9e8898f0/1: Unknown error

    why method SETUP failed as 461 Unsupported transport and how it can be solved ?

    I tried to use different ffplay, ffmpeg commands, but all of them lead to the same result.
    If I do not use rtsp_trasport command I have the error [udp @ 000001d1ab52c300] ’circular_buffer_size’ option was set but it is not supported on this build (pthread support is required)
    and the same 461 Unsupported transport

    Before I added "profiles=avpf" to my stream creation request I managed to play it successfully with "rtsp_transport tcp".
    But now profiles=avpf is required and I need to understand how to deal with it

  • FFMPEG on ubuntu wont start. Process is just killed [on hold]

    8 novembre 2018, par AK47

    I am trying to run a command on ffmpeg. When I run on my local computer it works fine but when running on my ubuntu server it won’t start. It just keeps giving an error saying the process is killed when it trys to start. Is this something related to memory or a different issue ?

    Killed   14 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=2 drop=0 speed=   0x

    Any help would be greatly appreciated

    Below are logs that are thrown.

    root@kickpush:/var/www/kick-push.co.uk/public_html/allblacks# ffmpeg -loop 1 -i q.png -r 30 -t 10 -i a.png -r 30 -t 5 image2.mp4
    ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
     built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
     configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --disable-ffserver--enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libtheora --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc --enable-libzimg
     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, png_pipe, from 'q.png':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: png, rgba(pc), 1080x1920, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Input #1, png_pipe, from 'a.png':
     Duration: N/A, bitrate: N/A
       Stream #1:0: Video: png, rgba(pc), 1080x1920, 25 tbr, 25 tbn, 25 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (png (native) -> h264 (libx264))
    Press [q] to stop, [?] for help
    No pixel format specified, yuv444p for H.264 encoding chosen.
    Use -pix_fmt yuv420p for compatibility with outdated media players.
    [libx264 @ 0x31a4a40] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
    [libx264 @ 0x31a4a40] profile High 4:4:4 Predictive, level 4.0, 4:4:4 8-bit
    [libx264 @ 0x31a4a40] 264 - core 148 r2643 5c65704 - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - 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=4 threads=1 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=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to 'image2.mp4':
     Metadata:
       encoder         : Lavf57.71.100
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv444p, 1080x1920, q=-1--1, 30 fps, 15360 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libx264
       Side data:
         cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
    Killed   14 fps=0.0 q=0.0 size=       0kB time=00:00:00.00 bitrate=N/A dup=2 drop=0 speed=   0x
  • ffmpeg fastest way to convert videos avi to mp4 [migrated]

    5 novembre 2013, par user2938660

    I have server which has :

    • 8x3,4 (sandy bridge cpu)
    • 10gb ram

    i tried different combinations to convert vvideos i mean avi to mp4 but it takes so long :
    - 20mins= 200mb

    maybe there is some ffmpeg command which does this much faster ?

    EDIT WITH ULTRAFAST :

    root@1tb:~/test# ffmpeg -i video.avi -c:v libx264 -preset ultrafast out.mp4
    ffmpeg version git-2013-10-28-f1f0b01 Copyright (c) 2000-2013 the FFmpeg developers
     built on Oct 29 2013 02:05:45 with gcc 4.4.5 (Debian 4.4.5-8)
     configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab
     libavutil      52. 48.100 / 52. 48.100
     libavcodec     55. 39.100 / 55. 39.100
     libavformat    55. 19.104 / 55. 19.104
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, avi, from 'video.avi':
     Duration: 00:29:00.28, start: 0.000000, bitrate: 1120 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 23.98 tbr, 23.98 tbn, 23.98 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 128 kb/s
       Metadata:
         title           : Hello.Ladies.S01E06.HDTV.XviD-AFG_360p.audio
    [libx264 @ 0x2e08e40] using SAR=1/1
    [libx264 @ 0x2e08e40] using cpu capabilities: none!
    [libx264 @ 0x2e08e40] profile Constrained Baseline, level 3.0
    [libx264 @ 0x2e08e40] 264 - core 138 r2358 9e941d1 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
    Output #0, mp4, to 'out.mp4':
     Metadata:
       encoder         : Lavf55.19.104
       Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 640x360 [SAR 1:1 DAR 16:9], q=-1--1, 10000k tbn, 23.98 tbc
       Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
       Metadata:
         title           : Hello.Ladies.S01E06.HDTV.XviD-AFG_360p.audio
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 -> libx264)
     Stream #0:1 -> #0:1 (mp3 -> libfaac)
    Press [q] to stop, [?] for help
    frame=41726 fps=326 q=-1.0 Lsize=  312916kB time=00:29:00.32 bitrate=1473.0kbits/s dup=1 drop=0
    video:284876kB audio:27186kB subtitle:0 global headers:0kB muxing overhead 0.273494%
    [libx264 @ 0x2e08e40] frame I:167   Avg QP:18.69  size: 30492
    [libx264 @ 0x2e08e40] frame P:41559 Avg QP:21.68  size:  6897
    [libx264 @ 0x2e08e40] mb I  I16..4: 100.0%  0.0%  0.0%
    [libx264 @ 0x2e08e40] mb P  I16..4:  6.3%  0.0%  0.0%  P16..4: 51.2%  0.0%  0.0%  0.0%  0.0%    skip:42.5%
    [libx264 @ 0x2e08e40] coded y,uvDC,uvAC intra: 44.9% 54.5% 19.0% inter: 28.1% 20.3% 2.2%
    [libx264 @ 0x2e08e40] i16 v,h,dc,p: 43% 23% 21% 13%
    [libx264 @ 0x2e08e40] i8c dc,h,v,p: 36% 22% 32% 11%
    [libx264 @ 0x2e08e40] kb/s:1340.96
    root@1tb:~/test# qt-faststart out.mp4 labas1.mp4
    ftyp          0 32
    free         32 8
    mdat         40 319552104
    moov  319552144 873943
    patching stco atom...
    patching stco atom...
    writing ftyp atom...
    writing moov atom...
    copying rest of file...
    root@1tb:~/test#