Recherche avancée

Médias (91)

Autres articles (86)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Gestion de la ferme

    2 mars 2010, par

    La ferme est gérée dans son ensemble par des "super admins".
    Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
    Dans un premier temps il utilise le plugin "Gestion de mutualisation"

Sur d’autres sites (12588)

  • How to use ffmpeg to conver the mp3 with image to mp4 ?

    24 octobre 2012, par Ello

    the mp3 has image in it ,maybe some album images.when i use ffmpeg convert to mp4,it gone wrong.but if i use some mp3 without image,it succeed.

    My command is like this :

                      ffmpeg -i input.mp3 output.mp4

    error :

    Stream mapping :

     Stream #0:1 -> #0:0 (mjpeg -> mpeg4)

     Stream #0:0 -> #0:1 (mp3 -> aac)

    here is all console output :

    ellodeiMac:mine ello$ ffmpeg -frames 0 -i 4.mp3 -y test.mp4

    ffmpeg version 0.11.2 Copyright (c) 2000-2012 the FFmpeg developers

     built on Oct 24 2012 12:21:13 with llvm_gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)

     configuration: --disable-yasm

     libavutil      51. 54.100 / 51. 54.100

     libavcodec     54. 23.100 / 54. 23.100

     libavformat    54.  6.100 / 54.  6.100

     libavdevice    54.  0.100 / 54.  0.100

     libavfilter     2. 77.100 /  2. 77.100

     libswscale      2.  1.100 /  2.  1.100

     libswresample   0. 15.100 /  0. 15.100

    [mp3 @ 0x7fa12301ae00] max_analyze_duration 5000000 reached at 5015510
    Input #0, mp3, from '4.mp3':

     Metadata:

       artist          : 贵族乐团

       album           : 美声天籁

       title           : 肖邦离别曲

       Tagging time    : 2012-09-18T08:12:10

     Duration: 00:04:01.44, start: 0.000000, bitrate: 129 kb/s

       Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16, 128 kb/s

       Stream #0:1: Video: mjpeg, yuvj420p, 240x240 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn, 90k tbc

       Metadata:

         title           : e

         comment         : Cover (front)

    [buffer @ 0x109115780] w:240 h:240 pixfmt:yuvj420p tb:1/90000 sar:1/1 sws_param:flags=2

    [buffersink @ 0x109133720] No opaque field provided

    [format @ 0x1091338e0] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'format'

    [scale @ 0x109133bc0] w:240 h:240 fmt:yuvj420p sar:1/1 -> w:240 h:240 fmt:yuv420p sar:1/1 flags:0x4

    [mp4 @ 0x7fa123035c00] Frame rate very high for a muxer not efficiently supporting it.

    Please consider specifying a lower framerate, a different muxer or -vsync 2

    [aformat @ 0x109136ec0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'src' and the filter 'aformat'

    [aresample @ 0x1091370c0] chl:stereo fmt:s16 r:44100Hz -> chl:stereo fmt:flt r:44100Hz

    [mpeg4 @ 0x7fa12303be00] timebase 1/90000 not supported by MPEG 4 standard, the maximum
    admitted value for the timebase denominator is 65535

    Output #0, mp4, to 'test.mp4':

     Metadata:

       artist          : 贵族乐团

       album           : 美声天籁

       title           : 肖邦离别曲

       Tagging time    : 2012-09-18T08:12:10

       Stream #0:0: Video: mpeg4, yuv420p, 240x240 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 90k tbn, 90k tbc

       Metadata:

         title           : e

         comment         : Cover (front)

       Stream #0:1: Audio: none, 44100 Hz, stereo, flt, 128 kb/s

    Stream mapping:

     Stream #0:1 -> #0:0 (mjpeg -> mpeg4)

     Stream #0:0 -> #0:1 (mp3 -> aac)

    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
  • ffmpeg : how to stream from rtmp to FLS ?

    21 juin 2016, par yarek

    I can create HLS from static MPEG4 using that command :

    ffmpeg -i video.mp4 -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts

    I am now trying to achieve that :

    live RTMP(FME)------->FFMEG-------------->HLS

    enter image description here

    I tried with :

    ffmpeg -i rtmp://127.0.0.1:1935/live/video -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts

    But got error :

    Closing connection : NetStream.Play.StreamNotFound
    rtmp ://127.0.0.1:1935/live/video : Unknown error occurred

    Any idea how to achieve :

    RTMP---->FMPEG----->HLS ?

    I also tried :

    ffmpeg -i "rtmp://localhost:1935/live/yarek live=1" -codec copy -map 0 -f segment -segment_list out.list -segment_time 10 out%03d.ts

    Seems better but stucks :

    ble-zlib

    libavutil 52. 0.100 / 52. 0.100
    libavcodec 54. 69.100 / 54. 69.100
    libavformat 54. 35.100 / 54. 35.100
    libavdevice 54. 3.100 / 54. 3.100
    libavfilter 3. 20.106 / 3. 20.106
    libswscale 2. 1.101 / 2. 1.101
    libswresample 0. 16.100 / 0. 16.100
    libpostproc 52. 1.100 / 52. 1.100
    rtmp server sent error
    Metadata :
    videokeyframe_frequency8.00
    avclevel 31.00
    videodevice Microsoft LifeCam Cinema
    keywords
    width 320.00
    videodatarate 350.00
    presetname Custom
    copyright
    creationdate Mon Oct 29 17:51:08 2012
    videocodecid avc1
    author
    avcprofile 66.00
    title
    height 240.00
    description
    rating
    framerate 20.00

    Thanks

  • FFMPEG Error while opening decoder for input stream

    6 mars 2016, par Chris

    While this command his been working for a couple of months, I suddenly began running into the following error when encoding video via my php application. Testing the encoding parameters on the command line yielded the same results, while the verion of ffmpeg on my local machine has no problem reading the input

    Command I used :

    ffmpeg -i clip_20121022150813.mp4 -acodec libfaac -ab 44100 encoded.mp4

    And the output (error on last line) :

    ffmpeg version N-45871-g34ccb94 Copyright (c) 2000-2012 the FFmpeg developers
     built on Oct 22 2012 22:20:53 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
     configuration: --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libfaac --enable-nonfree
     libavutil      51. 77.100 / 51. 77.100
     libavcodec     54. 68.100 / 54. 68.100
     libavformat    54. 34.100 / 54. 34.100
     libavdevice    54.  3.100 / 54.  3.100
     libavfilter     3. 20.104 /  3. 20.104
     libswscale      2.  1.101 /  2.  1.101
     libswresample   0. 16.100 /  0. 16.100
     libpostproc    52.  1.100 / 52.  1.100
    Guessed Channel Layout for  Input Stream #0.1 : mono
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip_20121022150813.mp4':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       creation_time   : 2012-10-22 22:08:02
     Duration: 00:00:03.80, start: 0.000000, bitrate: 3259 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 480x640, 2593 kb/s, 18.73 fps, 29.97 tbr, 600 tbn, 1200 tbc
       Metadata:
         creation_time   : 2012-10-22 22:08:02
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: pcm_s16le (lpcm / 0x6D63706C), 44100 Hz, mono, s16, 705 kb/s
       Metadata:
         creation_time   : 2012-10-22 22:08:02
         handler_name    : Core Media Data Handler
    File 'encoded.mp4' already exists. Overwrite ? [y/N] y
    using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0x104fa4e0] profile High, level 3.0
    [libx264 @ 0x104fa4e0] 264 - core 128 r2216 198a7ea - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - 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=24 lookahead_threads=4 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 'encoded.mp4':
     Metadata:
       major_brand     : qt  
       minor_version   : 0
       compatible_brands: qt  
       Stream #0:0(und): Video: h264, yuv420p, 480x640, q=-1--1, 90k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2012-10-22 22:08:02
         handler_name    : Core Media Data Handler
       Stream #0:1(und): Audio: aac, 44100 Hz, mono, s16, 44 kb/s
       Metadata:
         creation_time   : 2012-10-22 22:08:02
         handler_name    : Core Media Data Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (pcm_s16le -> libfaac)
    Error while opening decoder for input stream #0:0

    I have uninstalled ffmpeg, recompiled from source, also recompiled x264 and a host of other libraries, but this error persists. Is there anyway I can find out more about what exactly is failing ?