Recherche avancée

Médias (91)

Autres articles (53)

  • 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 ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

Sur d’autres sites (8706)

  • FFMPEG fails while processing MOV files

    29 septembre 2020, par Tom

    I'm trying to convert video files to DASH format. All videos work great except MOV videos.

    


    I'm using the following command :

    


    /usr/local/bin/ffmpeg -y -i /path/to/mov/video.mov -c:v libx264 -c:a aac -bf 1 -keyint_min 25 -g 250 -sc_threshold 40 -use_timeline 1 -use_template 1 -init_seg_name 'video_init_$RepresentationID$.$ext$' -media_seg_name 'video_chunk_$RepresentationID$_$Number%05d$.$ext$' -seg_duration 10 -hls_playlist 0 -f dash -adaptation_sets -0:s -map 0 -s:v:0 854x480 -b:v:0 750k -strict -2 -threads 12 /output/path/video.mpd


    


    I get the error :

    


      

    • Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument ... Error initializing output stream 0:1
    • 


    


    The full command output is :

    


    ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
built with Apple clang version 11.0.3 (clang-1103.0.32.62)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.3.1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/to/file.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2020-09-21T09:45:27.000000Z
com.apple.quicktime.make: Apple
com.apple.quicktime.model: iPhone 7
com.apple.quicktime.software: 13.4.1
com.apple.quicktime.creationdate: 2020-06-15T11:59:36+0200
com.apple.photos.originating.signature: AXfhZgW4nrUdSusOMUuJRarfxD7R
Duration: 00:01:13.40, start: 0.000000, bitrate: 10616 kb/s
Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 96 kb/s (default)
Metadata:
creation_time : 2020-09-21T09:45:27.000000Z
handler_name : Core Media Audio
Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 10514 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
Metadata:
creation_time : 2020-09-21T09:45:27.000000Z
handler_name : Core Media Video
encoder : H.264
Stream #0:2(und): Data: none (mebx / 0x7862656D) (default)
Metadata:
creation_time : 2020-09-21T09:45:27.000000Z
handler_name : Core Media Metadata
Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
Metadata:
creation_time : 2020-09-21T09:45:27.000000Z
handler_name : Core Media Metadata
Stream mapping:
Stream #0:0 -> #0:0 (aac (native) -> aac (native))
Stream #0:1 -> #0:1 (h264 (native) -> h264 (libx264))
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Press [q] to stop, [?] for help
[libx264 @ 0x7f7f2600e000] using SAR=1280/1281
[libx264 @ 0x7f7f2600e000] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x7f7f2600e000] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x7f7f2600e000] 264 - core 160 r3011 cde9a93 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=1 b_pyramid=0 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=abr mbtree=1 bitrate=750 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:1 --
[aac @ 0x7f7f2600c000] Qavg: 880.111
[aac @ 0x7f7f2600c000] 2 frames left in the queue on closing
[libx264 @ 0x7f7f2600e000] final ratefactor: 28.97
Conversion failed!


    


    Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)


    


    I guess the problem is that the file contains two not audio/video streams :
I can not find a way to exclude or ignore or copy without processing those last two streams (#2 and #3).

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'IMG_3599.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 0
    compatible_brands: qt
    creation_time   : 2020-09-21T09:45:27.000000Z
    com.apple.quicktime.make: Apple
    com.apple.quicktime.model: iPhone 7
    com.apple.quicktime.software: 13.4.1
    com.apple.quicktime.creationdate: 2020-06-15T11:59:36+0200
    com.apple.photos.originating.signature: AXfhZgW4nrUdSusOMUuJRarfxD7R
  Duration: 00:01:13.40, start: 0.000000, bitrate: 10616 kb/s
    Stream #0:0(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2020-09-21T09:45:27.000000Z
      handler_name    : Core Media Audio
    Stream #0:1(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 10514 kb/s, 30 fps, 30 tbr, 600 tbn, 1200 tbc (default)
    Metadata:
      creation_time   : 2020-09-21T09:45:27.000000Z
      handler_name    : Core Media Video
      encoder         : H.264
    Stream #0:2(und): Data: none (mebx / 0x7862656D) (default)
    Metadata:
      creation_time   : 2020-09-21T09:45:27.000000Z
      handler_name    : Core Media Metadata
    Stream #0:3(und): Data: none (mebx / 0x7862656D), 0 kb/s (default)
    Metadata:
      creation_time   : 2020-09-21T09:45:27.000000Z
      handler_name    : Core Media Metadata


    


  • when I merge some .ts files using ffmpeg libraray and for making mp4 video its get me error

    9 octobre 2017, par humayoon siddique

    I got .ts files from m3u8 link and now I want to merge the .ts files. After searching I came to know that we can merge .ts files using ffmpeg library. Now when I try to merge after certain process it gives me error as following.

    user this function for merging ts two mp4

    WARNING: linker: /data/data/com.whizpool.muftatv/files/ffmpeg has text relocations. This is wasting memory and is a security risk. Please fix.
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavutil      54.  7.100 / 54.  7.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavcodec     56.  1.100 / 56.  1.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavformat    56.  4.101 / 56.  4.101
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavdevice    56.  0.100 / 56.  0.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavfilter     5.  1.100 /  5.  1.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libswscale      3.  0.100 /  3.  0.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libswresample   1.  1.100 /  1.  1.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libpostproc    53.  0.100 / 53.  0.100
    03-01 17:43:58.069 23895-23895/com.whizpool.muftatv E/ onProgress: [concat @ 0x41a66eb0] Impossible to open '/storage/emulated/0/Mufta/3117927975001_4221595953001_s-6.ts?'
    03-01 17:43:58.069 23895-23895/com.whizpool.muftatv E/ onProgress: /storage/emulated/0/Pictures/MyCameraVideo/videos.txt: Invalid data found when processing input
  • when I merge some .ts files using ffmpeg libraray and for making mp4 video its get me error

    7 décembre 2016, par humayoon siddique

    I got .ts files from m3u8 link and now I want to merge the .ts files. After searching I came to know that we can merge .ts files using ffmpeg library. Now when I try to merge after certain process it gives me error as following.

    user this function for merging ts two mp4

    WARNING: linker: /data/data/com.whizpool.muftatv/files/ffmpeg has text relocations. This is wasting memory and is a security risk. Please fix.
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress: ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavutil      54.  7.100 / 54.  7.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavcodec     56.  1.100 / 56.  1.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavformat    56.  4.101 / 56.  4.101
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavdevice    56.  0.100 / 56.  0.100
    03-01 17:43:58.049 23895-23895/com.whizpool.muftatv E/ onProgress:   libavfilter     5.  1.100 /  5.  1.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libswscale      3.  0.100 /  3.  0.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libswresample   1.  1.100 /  1.  1.100
    03-01 17:43:58.059 23895-23895/com.whizpool.muftatv E/ onProgress:   libpostproc    53.  0.100 / 53.  0.100
    03-01 17:43:58.069 23895-23895/com.whizpool.muftatv E/ onProgress: [concat @ 0x41a66eb0] Impossible to open '/storage/emulated/0/Mufta/3117927975001_4221595953001_s-6.ts?'
    03-01 17:43:58.069 23895-23895/com.whizpool.muftatv E/ onProgress: /storage/emulated/0/Pictures/MyCameraVideo/videos.txt: Invalid data found when processing input