Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (50)

Sur d’autres sites (8992)

  • My Website Downloads MP4s Instead of Plays them

    18 juillet 2014, par user3412869

    I have a website I am working on and I have an uploads/ folder with mp4 files. When I test this site locally using XAMPP and click the link to the MP4 files, Chrome plays the MP4 with the browser and then when I click the back button it takes me back to my site. When I upload all of the site files to a webserver and click the same links to view the mp4 files it downloads the files and keeps me on the same page. However, I would like it to perform the same actions it does when I am developing locally, and play them, not download the files.

    Is it possible to have Chrome play Mp4 files that are hosted on a server and not download them ?

  • ffmpeg incorrectly adds a fixed delay to the end of each video chunk

    13 janvier 2023, par Skyler

    I am trying to combine audio a video data to output as an mp4 file using the command below, the videos are segmented to match the exact length of the audio file they are going to be merged with :

    


        command = 'ffmpeg -y -i {} -i {} -strict -2 -q:v 1 {} -loglevel {} -c:v h264_nvenc'.format(
        audio_file, temp_result_avi, outfile, self.ffmpeg_loglevel
    )
    subprocess.call(command, shell=True)


    


    however each video made by this is exactly 24 ms longer so this causes large delays as they get stitched back together. This doesnt work since the combined video needs to be combined back with another video and the desync gets worse as you get further in the combined videos.

    


    How can I remedy this ?

    


  • Infrequent ffmpeg in Google Cloud

    17 février 2020, par suztomo

    Which service should I use for my Go program that runs ffmpeg in Google Cloud Platform ?

    The Go program downloads videos from my Google Cloud Storage and runs ffmpeg command to combine them into 5 minutes mp4 file. I use this program only around 10 times in a month.

    I thought of using a compute instance with GPU to get fast ffmpeg processing. However, because of infrequency of the invocation, I don’t want to run the pricey GPU instance for all the time. Cloud Run does not seem to support GPU.

    What service would you choose for such workload ?