Recherche avancée

Médias (0)

Mot : - Tags -/organisation

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (41)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (8319)

  • Anomalie #2182 : tables spip_trucs_liens dans les logs

    7 juillet 2016, par Guillaume Fahrner

    Le commit ne supprime qu’une seule ligne de log, il reste toujours ces lignes généré lors de l’accès à une page contenant une boucle recherche ( a chaque recherche) :

    2016-07-07 10:41:36 IP (pid 16419) :Pub : !INFO : trouver_table : table inconnue ’’ ’spip_articles_liens’
    2016-07-07 10:41:36 IP (pid 16419) :Pub:ERREUR : Erreur mysql 1146
    2016-07-07 10:41:36 IP (pid 16419) :Pub:ERREUR : Erreur mysql 1146

    venant pour la première de :

    ecrire/base/trouver_table.php:155 : spip_log("trouver_table : table inconnue ’$serveur’ ’$nom’", _LOG_INFO_IMPORTANTE) ;

    Est ce encore améliorable ?

  • ffmpeg error : Could not write header for output file #0 (incorrect codec parameters ?) : Muxer not found

    30 janvier 2016, par Benjamin Russell

    I am trying to segment a mp4 video file for HLS playback and I am getting the following error :

    "Could not write header for output file #0 (incorrect codec parameters
     ?) : Muxer not found"

    Does anyone know what I am doing wrong ?

    input command :

    sudo ffmpeg -y -i adwd.mp4 -vcodec copy -acodec copy -force_key_frames 30 -map 0  -f segment segment_list adwd.m3u8 -segment_time 10 -segment_format mpeg_ts -segment_list_type m3u8 segment%d.ts


       ffmpeg version 2.8.5 Copyright (c) 2000-2016 the FFmpeg developers
         built with Apple LLVM version 7.0.2 (clang-700.1.81)
         configuration: --prefix=/usr/local/Cellar/ffmpeg/2.8.5 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
         libavutil      54. 31.100 / 54. 31.100
         libavcodec     56. 60.100 / 56. 60.100
         libavformat    56. 40.101 / 56. 40.101
         libavdevice    56.  4.100 / 56.  4.100
         libavfilter     5. 40.101 /  5. 40.101
         libavresample   2.  1.  0 /  2.  1.  0
         libswscale      3.  1.101 /  3.  1.101
         libswresample   1.  2.101 /  1.  2.101
         libpostproc    53.  3.100 / 53.  3.100

    Video information :

    General / Container Stream #1
       Total Video Streams for this File.................1
       Total Audio Streams for this File.................1
       Video Codecs Used.................................AVC
       Audio Codecs Used.................................AAC LC
       File Format.......................................MPEG-4
       Play Time.........................................9h 1mn
       Total File Size...................................588 MiB
       Total Stream BitRate..............................152 Kbps
       Encoded with......................................Lavf56.40.101
    Video Stream #1
       Codec (Human Name)................................AVC
       Codec (FourCC)....................................avc1
       Codec Profile.....................................High@L2.1
       Frame Width.......................................426 pixels
       Frame Height......................................240 pixels
       Frame Rate........................................29.970 fps
       Total Frames......................................973039
       Display Aspect Ratio..............................16:9
       Scan Type.........................................Progressive
       Color Space.......................................YUV
       Codec Settings (Summary)..........................CABAC / 4 Ref Frames
       QF (like Gordian Knot)............................0.005
       Codec Settings (CABAC)............................Yes
       Codec Settings (Reference Frames).................4
       Video Stream Length...............................9h 1mn 7s 68ms
       Video Stream BitRate..............................15.2 Kbps
       Video Stream BitRate Mode.........................VBR
       Bit Depth.........................................8 bits
       Video Stream Size.................................58.9 MiB (10%)
       Video Encoder.....................................x264 - core 148 r2601 a0cd7d3
       Video Encoder (Settings)..........................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=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
    Audio Stream #1
       Codec.............................................AAC
       Codec (FourCC)....................................40
       Audio Stream Length...............................9h 1mn 7s 104ms
       Audio Stream BitRate..............................128 Kbps
       Audio Stream BitRate Mode.........................CBR
       Number of Audio Channels..........................2
       Audio Channel's Positions.........................Front: L R
       Sampling Rate.....................................44.1 KHz
       Audio Stream Size.................................495 MiB (84%)
  • FFmpeg splitting large files

    1er février 2016, par Yusaf Khaliq

    I need to split a large video file into multiple pieces quickly and without files with errors. The basic idea is, I have a 2GB video file which I want to change to multiple formats. I have read some encoders can not make use of more than 1 core when encoding to a different format. So I had the idea to split the large file (which is very quick) into 4/8 pieces depending on how many cores I have available on individual servers. re-encode each piece to a new format and use these to display video in sequence.

    so

    testfile.mp4

    becomes

    1. testfile_piece_1.mp4
    2. testfile_piece_2.mp4
    3. testfile_piece_3.mp4
    4. testfile_piece_4.mp4

    these can then be individually be converted.

    The solution should not be format specific. However I have found issues with mp4 files.

    I have tried the command below, which works really well and fast but creates files with errors.

    ffmpeg -i testfile.mp4 -ss 00:00:00 -t 00:20:00 -c copy testfile_piece_1.mp4

    When I play the testfile_piece_1.mp4 on VLC it works fine. An issue arises when converting the split file to a different height and width mp4 file. I would get an error similar to "moov atom not found"

    I tried adding -movflags faststart with no luck

    I then came across this library https://code.google.com/archive/p/moovrelocator/ which fixed the moov issue but I would then get an error with regards to aac "Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height"

    The other way of splitting the files is useless but involved re-encoding the file. not too bad for smaller file size but the 2GB file would probably take days to complete.

    Is there a way to split the largr file quickly without producing files with errors ? I have been working on it for days with no luck.

    Console output for comment - FFmpeg splitting large files

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/share/nginx/html/uploads/testfile01.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.36.100
     Duration: 00:05:02.08, start: 302.120000, bitrate: 3254 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709)                                  , 1920x1080 [SAR 1:1 DAR 16:9], 3252 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (de                                  fault)
       Metadata:
         handler_name    : VideoHandler
    [libx264 @ 0x165ffc0] width not divisible by 2 (853x480)
    Output #0, mp4, to '/usr/share/nginx/html/uploads/testfile01_480.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.36.100
       Stream #0:0(und): Video: h264, none, q=2-31, 128 kb/s, SAR 2560:2559 DAR 0:0                                  , 25 fps (default)
       Metadata:
         handler_name    : VideoHandler
         encoder         : Lavc56.41.100 libx264
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters                                   such as bit_rate, rate, width or height

    console output 2

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/usr/share/nginx/html/uploads/testfile.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       creation_time   : 2016-01-24 04:26:37
     Duration: 01:15:58.08, start: 0.000000, bitrate: 3163 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 3161 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2016-01-24 04:26:37
         handler_name    : VideoHandler
    [segment @ 0x1197060] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    Output #0, segment, to '/usr/share/nginx/html/uploads/testfile%02d.mp4':
     Metadata:
       major_brand     : dash
       minor_version   : 0
       compatible_brands: iso6avc1mp41
       encoder         : Lavf56.36.100
       Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 3161 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)
       Metadata:
         creation_time   : 2016-01-24 04:26:37
         handler_name    : VideoHandler
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers
    [mp4 @ 0x11512a0] Codec for stream 0 does not use global headers but container format requires global headers