Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (105)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (12671)

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

    12 mars 2024, par 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 octobre 2024, par 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;

  • Open source media server for web service.

    20 février 2016, par Scarface

    I am currently building a website where users can listen to music, and watch videos. However, I am worried about the media content(music/videos) being downloaded from the website(I initially stuck to the HTML5 video/audio tags), I did a little research and found that my best option to prevent this was by using a media server, I have search for free open source media servers to use, but none seem promising. I thought my best bet was ffmpeg, but I am scared to use it as there it seems to be no longer maintained. Does anyone know of any good media servers out there I could use ?