Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (77)

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

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • 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

Sur d’autres sites (12423)

  • Embedding timed text metadata in MP4

    10 juin 2015, par Steve Robinson

    Is it possible to manually embed timed text metadata into MP4 files ?
    I have a TTML / SRT file with the metadata. I just need to embed the text data without doing any encoding the video / audio.

    EDIT :
    We used to do the metadata injecting using on Wowza server which we use for live streaming. What I need to do is manually inject the metadata in to prerecorded MP4 files without running the video through Wowza.

    Here is one such video file that was processed by Wowza :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'metadata-back.mp4':
     Metadata:
       major_brand     : f4v
       minor_version   : 0
       compatible_brands: isommp42m4v
       creation_time   : 2015-04-16 11:12:39
     Duration: 00:00:11.70, start: 0.000000, bitrate: 1373 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 1352 kb/s, 28.60 fps, 30 tbr, 90k tbn, 60 tbc (default)
       Metadata:
         creation_time   : 2015-04-16 11:12:39
         handler_name    : WowzaStreamingEngine
         encoder         : WowzaStreamingEngine
       Stream #0:1(eng): Audio: speex (spex / 0x78657073), 16000 Hz, mono, s16, 17 kb/s (default)
       Metadata:
         creation_time   : 2015-04-16 11:12:39
         handler_name    : WowzaStreamingEngine
       Stream #0:2(eng): Data: none (amf0 / 0x30666D61), 0 kb/s (default)
       Metadata:
         creation_time   : 2015-04-16 11:12:39
         handler_name    : WowzaStreamingEngine

    Now if I run the command ffmpeg -i new-meta.mp4 -i sub.srt -c copy -c:s mov_text -movflags +faststart out.mp4 and if I run ffmpeg -i out.mp4, I get this :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:00:07.27, start: 0.000000, bitrate: 925 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1366x768 [SAR 1:1 DAR 683:384], 920 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Subtitle: mov_text (tx3g / 0x67337874), 0 kb/s (default)
       Metadata:
         handler_name    : SubtitleHandler

    Now as you can see the text is embedded with a different codec (is this the right term ?). Also I dont see an audio track as well.

    Hope my question is clear enough. I need a way to embed metadata (from srt / ttml) into an MP4 video it should be embedded in amf format (again is this the right term ?)

  • FFMPEG concat videos

    10 juin 2015, par Maverick

    I am unable to concat two videos using FFMPEG. The command fails on the two special videos.

    Video 1 :
    First video is generated from the image using the following command :

    ffmpeg -loop 1 -i 20150608_162807.jpg -c:v libx264 -t 3 -pix_fmt yuv420p out.mp4

    I tried to concat the above video but it did not work so, I thought to add an audio to check if it will work.

    ffmpeg -f lavfi -i aevalsrc=0 -i out.mp4 -shortest -c:v copy -c:a aac -strict experimental silent.mp4

    but even with that it did not work.

    Video 2 :
    Second video is captured from the device camera.

    Both of these videos can be downloaded from here.

    06-09 11:05:56.238  29771-30715/﹕ ffmpeg -i concat:/storage/emulated/0/DCIM/Camera/20150603_142209.mp4|/storage/emulated/0/DCIM/Camera/silent.mp4 -c copy /storage/emulated/0/DCIM/test/MIU-2015-06-09 11-05-56.mp4
    06-09 11:05:56.268  29771-30739/﹕ WARNING: linker: ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.
    06-09 11:05:56.278  29771-30739/﹕ ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
    06-09 11:05:56.278  29771-30739/﹕ built on Apr  8 2015 11:29:21 with gcc 4.8 (GCC)
    06-09 11:05:56.278  29771-30739/﹕ configuration: --target-os=linux --cross-prefix=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/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=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/ffmpeg-pkg-config --prefix=/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/ilovevideo/jobs/ffmpeg-android-build-publisher/workspace/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
    06-09 11:05:56.278  29771-30739/﹕ libavutil      54.  7.100 / 54.  7.100
    06-09 11:05:56.278  29771-30739/﹕ libavcodec     56.  1.100 / 56.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libavformat    56.  4.101 / 56.  4.101
    06-09 11:05:56.288  29771-30739/﹕ libavdevice    56.  0.100 / 56.  0.100
    06-09 11:05:56.288  29771-30739/﹕ libavfilter     5.  1.100 /  5.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libswscale      3.  0.100 /  3.  0.100
    06-09 11:05:56.288  29771-30739/﹕ libswresample   1.  1.100 /  1.  1.100
    06-09 11:05:56.288  29771-30739/﹕ libpostproc    53.  0.100 / 53.  0.100
    06-09 11:05:56.308  29771-30739/﹕ [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb5e5a400] Found duplicated MOOV Atom. Skipped it
    06-09 11:05:56.398  29771-30739/﹕ Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'concat:/storage/emulated/0/DCIM/Camera/20150603_142209.mp4|/storage/emulated/0/DCIM/Camera/silent.mp4':
    06-09 11:05:56.398  29771-30739/﹕ Metadata:
    06-09 11:05:56.398  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.398  29771-30739/﹕ major_brand     : isom
    06-09 11:05:56.398  29771-30739/﹕ minor_version   : 512
    06-09 11:05:56.398  29771-30739/﹕ compatible_brands: isomiso2avc1mp41
    06-09 11:05:56.398  29771-30739/﹕ Duration: 00:00:04.80, start: 0.000000, bitrate: 13040 kb/s
    06-09 11:05:56.398  29771-30739/﹕ Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 1280x720, 12008 kb/s, 29.88 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    06-09 11:05:56.398  29771-30739/﹕ Metadata:
    06-09 11:05:56.398  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.398  29771-30739/﹕ handler_name    : VideoHandle
    06-09 11:05:56.408  29771-30739/﹕ Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 256 kb/s (default)
    06-09 11:05:56.408  29771-30739/﹕ Metadata:
    06-09 11:05:56.408  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.408  29771-30739/﹕ handler_name    : SoundHandle
    06-09 11:05:56.408  29771-30739/﹕ Output #0, mp4, to '/storage/emulated/0/DCIM/iLoveVideo/MIU-2015-06-09 11-05-56.mp4':
    06-09 11:05:56.408  29771-30739/﹕ Metadata:
    06-09 11:05:56.408  29771-30739/﹕ compatible_brands: isomiso2avc1mp41
    06-09 11:05:56.408  29771-30739/﹕ major_brand     : isom
    06-09 11:05:56.408  29771-30739/﹕ minor_version   : 512
    06-09 11:05:56.408  29771-30739/﹕ encoder         : Lavf56.4.101
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 12008 kb/s, 29.88 fps, 90k tbn, 90k tbc (default)
    06-09 11:05:56.418  29771-30739/﹕ Metadata:
    06-09 11:05:56.418  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.418  29771-30739/﹕ handler_name    : VideoHandle
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, 256 kb/s (default)
    06-09 11:05:56.418  29771-30739/﹕ Metadata:
    06-09 11:05:56.418  29771-30739/﹕ creation_time   : 2015-06-03 12:22:15
    06-09 11:05:56.418  29771-30739/﹕ handler_name    : SoundHandle
    06-09 11:05:56.418  29771-30739/﹕ Stream mapping:
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:0 -> #0:0 (copy)
    06-09 11:05:56.418  29771-30739/﹕ Stream #0:1 -> #0:1 (copy)
    06-09 11:05:56.418  29771-30739/﹕ Press [q] to stop, [?] for help
    06-09 11:05:56.548  29771-30739/﹕ frame=  142 fps=0.0 q=-1.0 Lsize=    7121kB time=00:00:04.80 bitrate=12153.1kbits/s
    06-09 11:05:56.558  29771-30739/﹕ video:6965kB audio:150kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.078725%

    Update 1 :
    The concat protocol doesn’t work with mp4s. So, I tried the other approaches.

    ffmpeg -i input1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
    ffmpeg -i input2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
    ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc output.mp4

    but still it didn’t work.

    Update 2 :
    I have also used concat demuxer approach but it did not work as well.

  • how to convert mp4 to swf using ffmpeg ?

    10 juin 2015, par Ray

    the command "ffmpeg -i 11.mp4 out.swf" is work.but when i try to convert other mp4 . it’s wrong .
    the output info

    D:\ffmpeg>ffmpeg -i test.mp4  out3.swf
    ffmpeg version N-71042-g83020f8 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
    libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librt
    enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
     libavutil      54. 20.100 / 54. 20.100
     libavcodec     56. 29.100 / 56. 29.100
     libavformat    56. 26.101 / 56. 26.101
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 13.101 /  5. 13.101
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.mp4':
     Metadata:
       major_brand     : M4V
       minor_version   : 1
       compatible_brands: M4V mp42isom
       creation_time   : 2015-05-15 09:01:41
     Duration: 00:00:07.25, start: 0.000000, bitrate: 4213 kb/s
       Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv), 480x360 [SAR 1:1 DAR 4:3], 4042 kb/s, 10 fps, 10 tbr, 20 tbn, 20 tbc (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : AVC Coding
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Sound Media Handler
    [swf @ 000000000541f8a0] **swf does not support that sample rate, choose from (44100, 22050, 11025).**
    Output #0, swf, to 'out3.swf':
     Metadata:
       major_brand     : M4V
       minor_version   : 1
       compatible_brands: M4V mp42isom
       encoder         : Lavf56.26.101
       Stream #0:0(eng): Video: flv1 (flv), yuv420p, 480x360 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Video Media Handler
         encoder         : Lavc56.29.100 flv
       Stream #0:1(eng): Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp (default)
       Metadata:
         creation_time   : 2015-05-15 09:01:41
         handler_name    : Mainconcept MP4 Sound Media Handler
         encoder         : Lavc56.29.100 libmp3lame
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> flv1 (flv))
     Stream #0:1 -> #0:1 (aac (native) -> mp3 (libmp3lame))
    Could not write header for output file #0 (incorrect codec parameters ?): Error number -1 occurred

    error info
    1、swf does not support that sample rate, choose from (44100, 22050, 11025).
    2、 Could not write header for output file #0 (incorrect codec parameters ?) : Error number -1 occurred

    i found the answer . but
    http://superuser.com/questions/547022/how-to-convert-mp4-to-swf

    so MP4 with h264 encoder cannot convert ?