Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (112)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

Sur d’autres sites (9687)

  • FFmpeg : Error occurred while encoding audio stream from ac3 to aac

    4 décembre 2015, par akki_2891

    I am using following command to encode my video to h264 and aac audio codec :

    ffmpeg -i sample.mp4 -codec:v libx264 -profile:v high -level:v 4.0 -codec:a libvo_aacenc -b:a 128k output_file.mp4

    Following is a trace of the error i am getting at the console.

    Input #0, mpegts, from 'sample.mp4':
     Duration: 00:00:58.08, start: 1.000033, bitrate: 17290 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1
    080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fl
    tp, 448 kb/s
       Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    [libx264 @ 003dc660] using SAR=1/1
    [libx264 @ 003dc660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 003dc660] profile High, level 4.0
    [libx264 @ 003dc660] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Cop
    yright 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 de
    block=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 chr
    oma_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 scen
    ecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmi
    n=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libvo_aacenc @ 03c3c640] Unable to set encoding parameters
    Output #0, mp4, to 'output_file.mp4':
       Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 90
    k tbn, 29.97 tbc
       Stream #0:1: Audio: aac, 48000 Hz, 5.1(side), s16, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters
    such as bit_rate, rate, width or height

    I am really not able to find what possibly could be wrong. I dont want to copy audio codec , i wish to encode it from ac3 to aac

    Also any suggestion to make it lossless

  • ffplay crashed on HLS streaming with toggled -an and -vn options

    19 septembre 2016, par oleg_otvorot

    When I try to start silent(without audio and video streams) playing of HLS (HTTP Live Streaming) by typing

    ffplay -an -vn -i "http://localhost:8080/video/find?startTime=
    1376716800000&endTime=1376717400000

    I get the next error message on my console :

    ffplay version N-67063-g282c935 Copyright (coffee) 2003-2014 the FFmpeg developers
     built on Oct 20 2014 22:10:09 with gcc 4.9.1 (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-libbs2b --enable-libcaca --
    enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
    modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
    b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
    able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
    --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    libx265 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      54. 10.100 / 54. 10.100
     libavcodec     56.  8.102 / 56.  8.102
     libavformat    56.  9.101 / 56.  9.101
     libavdevice    56.  1.100 / 56.  1.100
     libavfilter     5.  2.100 /  5.  2.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, hls,applehttp, from 'http://localhost:8080/video/find?startTime=137671
    6800000&endTime=1376717400000':
     Duration: 00:01:50.12, start: 1.418722, bitrate: 0 kb/s
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 320x240 [
    SAR 19:32 DAR 19:24], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 14
    7 kb/s
    Failed to open file 'http://localhost:8080/video/find?startTime=1376716800000&en
    dTime=1376717400000' or configure filtergraph

    Is this bug or feature that ffplay can’t playing video without audio/video stream ? I need to run ffplay programmatically from my java test application to view loadout of my service.

    P.S : I also tried adding the options "-nodisp -an", but that provided the same result as mentioned above.

  • FFmpeg RTSP problem with IP camera

    22 avril 2014, par NoviceAndNovice

    I download FFmpeg windows binary and use ffplay.exe successfully for media files and some Ip Cameras with RTSP support (eg Acti).

    I try ffplay on a Bosch( h264) NDC 265 P camera it does not work. When i start ffplay with debug option i get folllowing

    D:\Test>ffplay -debug 1 rtsp:/XXXXXXXXXX/video
    FFplay version SVN-r26400, Copyright (c) 2003-2011 the FFmpeg developers
     built on Jan 18 2011 04:09:28 with gcc 4.4.2
     configuration: --enable-gpl --enable-version3 --enable-libgsm --enable-libvorb
    is --enable-libtheora --enable-libspeex --enable-libmp3lame --enable-libopenjpeg
    --enable-libschroedinger --enable-libopencore_amrwb --enable-libopencore_amrnb
    --enable-libvpx --disable-decoder=libvpx --arch=x86 --enable-runtime-cpudetect -
    -enable-libxvid --enable-libx264 --enable-librtmp --extra-libs='-lrtmp -lpolarss
    l -lws2_32 -lwinmm' --target-os=mingw32 --enable-avisynth --enable-w32threads --
    cross-prefix=i686-mingw32- --cc='ccache i686-mingw32-gcc' --enable-memalign-hack
    --enable-shared --disable-static
     libavutil     50.36. 0 / 50.36. 0
     libavcore      0.16. 1 /  0.16. 1
     libavcodec    52.108. 0 / 52.108. 0
     libavformat   52.93. 0 / 52.93. 0
     libavdevice   52. 2. 3 / 52. 2. 3
     libavfilter    1.74. 0 /  1.74. 0
     libswscale     0.12. 0 /  0.12. 0
    [rtsp @ 006db540] SDP:
    v=0
    o=- 0 0 IN IP4 XXXXXXXXXX
    s=LIVE VIEW
    t=0 0
    c=IN IP4 0.0.0.0
    m=video 0 RTP/AVP 35
    a=rtpmap:35 H264/90000
    a=control:rtsp://XXXXXXXXXX/video
    a=recvonly
    a=fmtp:35 packetization-mode=1;profile-level-id=4d0028;sprop-parameter-sets=Z00A
    KI2NKAoAt2AgEA==,aO48gA==

    [rtsp @ 006db540] video codec set to: (null)
    [rtsp @ 006db540] hello state=0
    [rtsp @ 006db540] Probe buffer size limit 5000000 reached
    [rtsp @ 006db540] Estimating duration from bitrate, this may be inaccurate
    Input #0, rtsp, from 'rtsp:/XXXXXXXXXX/video':
     Metadata:
       title           : LIVE VIEW
     Duration: N/A, start: 0.000000, bitrate: N/A
       Stream #0.0, 4035, 1/90000: Video: [0][0][0][0] / 0x0000, 90k tbr, 90k tbn,
    90k tbc
    rtsp:/XXXXXXXXXX/video: c1o3u0l1d7 3n2o1t5 2o.p2e1n  Ac-oVd:e c s0
    .000 s:0.0 aq=    0KB vq=    0KB sq=    0B f=0/0

    I can play Bosch IP camera with VLC Player...But can not with FFmpeg...

    So

    • Does ffmpeg not support H264 ?