Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (65)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (8158)

  • 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 ?)

  • Merging video and audio stream, where audio drifts

    22 avril 2015, par TL_IPD

    I want to record audio and video with my raspberry pi b+ 2.
    I tried to accomplish this with one ffmpeg command but this is to slow. and i could not get it working correctly

    I have a raspberry pi camera module and a Cirrus audio card. On the raspberry i have compiled a new kernel with support for the audio card. I also compiled ffmpeg on the raspberr with alsa support

    ~$ ffmpeg
    ffmpeg version N-71470-g2db24cf Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.6 (Debian 4.6.3-14+rpi1)
    configuration: --arch=armel --target-os=linux --enable-gpl --extra-libs=-lasound --enable-nonfree
     libavutil      54. 22.101 / 54. 22.101
     libavcodec     56. 34.100 / 56. 34.100
     libavformat    56. 30.100 / 56. 30.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 14.100 /  5. 14.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

    Now i try to record an audio stream and a video stream ’at the same time’
    I do this my running a shell script

    raspivid -t 60000 -vs -w 1280 -h 720 -b 5000000 -fps 25 -o video.h264 &
    arecord -Dhw:sndrpiwsp -r 44100 -c 2 -d 60 -f S32_LE audio.aac

    i also tried with -r 22050 and -f S16_LE

    when running this it sometimes gives an (i think)

    overrun!!! (at least 1038.725 ms long)

    at the end of the script i have two files. a video and a audio file.

    now i want to merge those two together by using ffmpeg

    ffmpeg -i video.h264 -i audio.aac -c:v copy -c:a aac -strict experimental output.mp4

    this gives the output :

    ffmpeg version N-71470-g2db24cf Copyright (c) 2000-2015 the FFmpeg developers
    built with gcc 4.6 (Debian 4.6.3-14+rpi1)
    configuration: --arch=armel --target-os=linux --enable-gpl --extra-libs=-lasound --enable-nonfree
     libavutil      54. 22.101 / 54. 22.101
     libavcodec     56. 34.100 / 56. 34.100
     libavformat    56. 30.100 / 56. 30.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5. 14.100 /  5. 14.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, h264, from 'video_1min_3.h264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264 (High), yuv420p, 1280x720, 25 fps, 25 tbr, 1200k tbn, 50 tbc
    Guessed Channel Layout for  Input Stream #1.0 : stereo
    Input #1, wav, from 'audio_1min_3.aac':
     Duration: 00:01:00.00, bitrate: 705 kb/s
       Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, 2 channels, s16, 705 kb/s
    [mp4 @ 0x3230f20] Codec for stream 0 does not use global headers but container format requires global headers
    Output #0, mp4, to 'output_1min_3.mp4':
     Metadata:
       encoder         : Lavf56.30.100
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1280x720, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
       Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 22050 Hz, stereo, fltp, 128 kb/s
       Metadata:
         encoder         : Lavc56.34.100 aac
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #1:0 -> #0:1 (pcm_s16le (native) -> aac (native))
    Press [q] to stop, [?] for help
    frame= 1822 fps=310 q=-1.0 Lsize=   33269kB time=00:01:12.84 bitrate=3741.7kbits/s
    video:32300kB audio:941kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.086073%

    so finally i have a file output.mp4 that is a movie with audio that is in sync at the beginning but drifts away to a difference of about 4 seconds. where the audio is ahead of the video.

    I hope you can help me trying to solve this issue so the audio does not drift away anymore.

    Thanks in advance

    ( i tried to be as clear as possible )

  • How to merge two audio files and remove their overlap [closed]

    14 septembre 2024, par jackiechan Zebra

    I have two mp3 files, there have some overlap. The last few seconds, normally less than 2 second, of the first file are always appear on the first few seconds of the last file.

    


    How can I conbine the two audio files into one and eliminate the overlap part ?

    


      

    1. Currently, audio files are mp3.
    2. 


    3. Expecting a python lib. I know FFMPEG may work, but I have no experience.
    4. 


    5. Other programming languages solution are also fine.
    6. 


    


    Give me some keywords and I hope I can do the rest.