Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (47)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (7220)

  • ffmpeg command is not able capture mobile video image properly. Always getting stretch image

    1er février 2021, par Vipul Jethva

    I have tried many ffmpeg commands to capture image from mobile video but it's always getting stretch image output.

    


    There are following commands which I used. My video format is mobile shoot. Desktop video is fine. Only mobile video having problem. Always getting stretch image. I need perfect image horizontally and vertically without stretch image.

    


    $command = "ffmpeg  -i &lt;<input video="video" />> -r 0.0033 -vf scale=-1:120 -vcodec png output.jpg";&#xA;&#xA;$command = "ffmpeg -i &lt;<input video="video" />> -ss 00:00:25 -vframes 1  output.jpg";&#xA;&#xA;$command = "ffmpeg -ss 00:00:45 -i &lt;<input video="video" />> -vframes 1 -q:v 2 output.jpg";&#xA;&#xA;$command = "ffmpeg -i &lt;<input video="video" />> -deinterlace -an -ss 00:00:45 -f mjpeg -t 1 -r 1 -y -s 850x478 output.jpg 2>&amp;1";&#xA;&#xA;$command = "ffmpeg -ss 100 -i &lt;<input video="video" />> -frames:v 1 -q:v 2 -vf scale=850:478:force_original_aspect_ratio=increase,crop=850:478 output.jpg";&#xA;

    &#xA;

    Please let me know where I am wrong in above command ? Or if you have other command please let me know.

    &#xA;

  • added suspended event notifications so we are notified when Mobile Safari needs user interaction

    19 octobre 2011, par Tim Evans

    m script/soundmanager2-nodebug.js m script/soundmanager2.js added suspended event notifications so we are notified when Mobile Safari needs user interaction

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