Advanced search

Medias (91)

Other articles (94)

  • Mise à jour de la version 0.1 vers 0.2

    24 June 2013, by

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1); Installation des dépendances pour Smush; Installation de MediaInfo et FFprobe pour la récupération des métadonnées; On n’utilise plus ffmpeg2theora; On n’installe plus flvtool2 au profit de flvtool++; On n’installe plus ffmpeg-php qui n’est plus maintenu au profit de (...)

  • MediaSPIP version 0.1 Beta

    16 April 2011, by

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

On other websites (12262)

  • aarch64: Factorize code for CPU feature detection on Apple platforms

    12 March 2024, by Martin Storsjö
    aarch64: Factorize code for CPU feature detection on Apple platforms
    

    Signed-off-by: Martin Storsjö <martin@martin.st>

    • [DH] libavutil/aarch64/cpu.c
  • Read ID3 tags generated using Apple's id3taggenerator

    9 October 2024, by Damiaan Dufaux

    Hi I am creating an HLS stream with ID3 tags using Apple's HTTP Live Streaming (HLS) Tools, FFmpeg and NodeJS. When I try to read out the stream using an AVPlayer and AVPlayerItemMetadataOutput on macOS I'm not able to read out the ID3 tags. When I use the same code to read out a sample stream containing ID3 tags I do see them popping up. What am I doing wrong?

    &#xA;

    Reproduction:

    &#xA;

    Streaming

    &#xA;

    I generate an infinite HLS stream from a 5 minute long mpeg ts file using this command:

    &#xA;

    ffmpeg -stream_loop -1 -re -i 5m.ts -c:v copy -c:a copy -f mpegts -strict -2 - | mediastreamsegmenter -b http://DamiaanTheoPro14.local:8081/ -f /tmp/hlsId3/video -D -m -M 50000 -log /tmp/hlsId3/log.txt&#xA;

    &#xA;

    I serve that HLS stream using nodejs builtin http-server

    &#xA;

    ID3 tag generation

    &#xA;

    Then I emit some ID3 tags using the following commands:

    &#xA;

    id3taggenerator -title foo -artist bar -a localhost:50000&#xA;id3taggenerator -text "foo bar" -d "sample text" -r -a localhost:50000&#xA;

    &#xA;

    Reading

    &#xA;

    Now to read out the tags I use this little SwiftUI app:

    &#xA;

    import SwiftUI&#xA;import AVKit&#xA;&#xA;let bipbopUrl = URL(string: "https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8")!&#xA;let localUrl = URL(string: "http://damiaantheopro14.local:8081/prog_index.m3u8")!&#xA;let local = AVPlayerItem(url: localUrl)&#xA;let bipbop = AVPlayerItem(url: bipbopUrl)&#xA;&#xA;struct ContentView: View {&#xA;    let player = AVPlayer()&#xA;    let observer = Id3Observer()&#xA;    var lastTag: AVMetadataGroup?&#xA;    &#xA;    var body: some View {&#xA;        VStack {&#xA;            HStack {&#xA;                Button("BipBop") {&#xA;                    player.replaceCurrentItem(with: bipbop)&#xA;                    bipbop.add(observer.metadataOutput)&#xA;                }&#xA;                Button("Local") {&#xA;                    player.replaceCurrentItem(with: local)&#xA;                    local.add(observer.metadataOutput)&#xA;                }&#xA;                Button("&#127335;") {&#xA;                    player.replaceCurrentItem(with: nil)&#xA;                }&#xA;            }&#xA;            VideoPlayer(player: player)&#xA;        }&#xA;        .padding()&#xA;    }&#xA;}&#xA;&#xA;class Id3Observer: NSObject, AVPlayerItemMetadataOutputPushDelegate {&#xA;    let metadataOutput = AVPlayerItemMetadataOutput()&#xA;    &#xA;    override init() {&#xA;        super.init()&#xA;        metadataOutput.setDelegate(self, queue: .global())&#xA;    }&#xA;    &#xA;    func metadataOutput(_ output: AVPlayerItemMetadataOutput, didOutputTimedMetadataGroups groups: [AVTimedMetadataGroup], from: AVPlayerItemTrack?) {&#xA;        print("metadataOutput", groups.count)&#xA;        print("\t", groups.map { group in&#xA;            group.items.map { item in&#xA;                "\(item.dataType) \(item.keySpace!) \(item.key!) \(item.time.seconds) \(item.duration.seconds.rounded())"&#xA;            }.joined(separator: "/n/t")&#xA;        }.joined(separator: "\n\t"))&#xA;    }&#xA;}&#xA;

    &#xA;

  • Combining two video from ffmpeg

    27 January 2024, by Astha

    I want to combine two mp4 videos to form a single mp4 video using ffmpeg.

    &#xA;&#xA;

    what i tried so far is

    &#xA;&#xA;

    ffmpeg -i input1.mp4 -i input2.mp4 output.mp4&#xA;

    &#xA;&#xA;

    But, every time i get the video with video codec of first input and not the other. How can i combine them? Any idea on this will be highly appreciated.

    &#xA;