Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (69)

  • 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

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    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 (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (12695)

  • I am using ffmpeg.wasm library and I can compress all type of videos except mov files

    14 décembre 2022, par Martí Serra Molina

    I am using ffmpeg.wasm library and I can't compress mov files in the browser. I don't know if there is a way to solve it. If you try it in their official website it doesn't work either : https://ffmpegwasm.netlify.app/#demo.

    


    How could I compress all videos in the browser without having any problem. I can't use the server because there are a lot of users and the server would have to do too much work.

    


  • How can I generate a metadata.mov file for higher-resolution Live Photos (e.g. 1440x2560) ?

    30 juillet, par brijesh patel

    I'm generating Live Photos programmatically for use as wallpapers on iOS. I'm using a known metadata.mov file bundled with the app (likely extracted from a working Live Photo with resolution 1080x1920). This setup works fine when I use a video of the same resolution.

    


    I'm using this open-source library to handle the video-to-LivePhoto conversion :
    
https://github.com/TouSC/Video2LivePhoto

    


    However, when I try using a higher-resolution video (e.g. 2560x1440) to avoid black bars on high-resolution devices (like iPhone 14 Pro Max), the Photos app shows the Live Photo, but the motion component doesn't work—it just says “Motion Not Available.”

    


    I believe the issue is that the static metadata.mov contains resolution-specific metadata, which prevents it from working correctly with other video sizes.

    


      

    • Tried changing the resolution of the video (e.g. 1440x2560, 1284x2778) – motion breaks.

      


    • 


    • Tried generating a new .mov file using FFmpeg with a silent video track, matching the new resolution – Live Photo not recognized or shows errors.

      


    • 


    • Tried modifying the existing metadata.mov with tools like FFmpeg, AtomicParsley, Bento4, and mp4box – resulting files often break the Live Photo entirely.

      


    • 


    • I expected to generate a valid metadata.mov (or similar track) that would support the custom resolution and restore Live Photo motion support.

      


    • 


    


    static func convertVideo(videoURL: URL, complete: @escaping (_ success: Bool, _ errorMessage: String?) -> Void) {
    print("start converting")
    
    guard let metaURL = Bundle.main.url(forResource: "metadata", withExtension: "mov") else {
        complete(false, "metadata.mov not found")
        return
    }

    let livePhotoSize = CGSize(width: 1440, height: 2560) // <-- updated resolution
    let livePhotoDuration = CMTime(value: 550, timescale: 600)
    let assetIdentifier = UUID().uuidString

    guard let documentPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first else {
        complete(false, "Document path not found")
        return
    }

    let durationPath = documentPath + "/duration.mp4"
    let acceleratePath = documentPath + "/accelerate.mp4"
    let resizePath = documentPath + "/resize.mp4"
    let finalPath = resizePath

    removeFileIfExists(at: durationPath)
    removeFileIfExists(at: acceleratePath)
    removeFileIfExists(at: resizePath)

    let converter = Converter4Video(path: finalPath)

    Task {
        do {
            try await converter.durationVideo(at: videoURL, outputPath: durationPath, targetDuration: 3)
            try await converter.accelerateVideo(at: durationPath, to: livePhotoDuration, outputPath: acceleratePath)
            try await converter.resizeVideo(at: acceleratePath, outputPath: resizePath, outputSize: livePhotoSize)

            print("### resize Success")
            let image = try await generateCGImage(finalPath: finalPath)

            await generateLivePhoto(
                image: image,
                documentPath: documentPath,
                assetIdentifier: assetIdentifier,
                metaURL: metaURL,
                converter: converter,
                complete: complete
            )
        } catch {
            print("Video conversion error: \(error)")
            complete(false, error.localizedDescription)
            return
        }
    }
}


    


  • Converting dolby vision + lossless audio mkv to higher compatibility mp4 using ffmpeg

    28 septembre 2023, par Infinity

    I want to convert mkv to mp4 for the following reasons.

    


    Mkv files do not trigger dolby vision on an LG OLED A1 but mp4 files do.

    


    Lossless TrueHD with Atmos audio and DTS-HD MA audio are not supported by LG A1 OLED.

    


    I would like guidance on what commands need to be used to to perform a conversion that keeps all original audio and subtitle tracks of different languages and file formats.

    


    I have had some success with a reddit post converting mkv files that have dolby vision and eac3 with atmos tracks to mp4 maintaining dolby vision and atmos data but I lose all subtitle tracks and only one audio track is converted other languages and tracks lost.

    


    I have not been able to find information online regarding going from DTS-HD MA or TrueHD with atmos to eac3 with atmos or any other supported format by LG A1 OLED.