Recherche avancée

Médias (0)

Mot : - Tags -/interaction

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

Autres articles (102)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

Sur d’autres sites (16220)

  • java.lang.OutOfMemoryError : Physical memory usage is too high : physicalBytes (1100M) > maxPhysicalBytes (1024M)

    16 février 2021, par Rudra

    When I record video using FFmpegFrameRecorder it shows me this error

    



       E/AndroidRuntime: FATAL EXCEPTION: Thread-36&#xA;    java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes (1100M) > maxPhysicalBytes (1024M)&#xA;    at org.bytedeco.javacpp.Pointer.deallocator(Pointer.java:588)&#xA;    at org.bytedeco.javacpp.Pointer.init(Pointer.java:124)&#xA;    at org.bytedeco.javacpp.avcodec$AVPacket.allocate(Native Method)&#xA;    at org.bytedeco.javacpp.avcodec$AVPacket.<init>(avcodec.java:1516)&#xA;    at java.lang.Thread.run(Thread.java:784)    &#xA;</init>

    &#xA;&#xA;

    . Can anyone please help me to solve this Physical memory issue ?

    &#xA;

  • Revision 093a32ffd7 : Reworks high-bit-depth profiles Splits profile 2 into Profile 2 and 3, where pr

    11 juin 2014, par Deb Mukherjee

    Changed Paths :
     Modify /vp9/common/vp9_enums.h


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/decoder/vp9_decodeframe.h


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/vp9_dx_iface.c


     Modify /vpxdec.c


     Modify /vpxenc.c



    Reworks high-bit-depth profiles

    Splits profile 2 into Profile 2 and 3, where profile 2
    ony supports 420 sampling, while profile 3 adds 422/444 and
    alpha. Keeps room for further expansion.

    Also makes some minor changes in the decoder parameters,
    replacing —convert-to-8bit with output-bit-depth.

    Change-Id : I713525880512de6c36698d212795db1543c1d0dd

  • How to Capture a Sequence of High-Quality PDF Frames from a Website (Without Screen Recording) ?

    9 mars, par Pubg Mobile

    In Firefox, I can take very high-quality screenshots of a webpage by using Ctrl + P and saving the page as a PDF. This method preserves the text, images, and code in excellent resolution.

    &#xA;

    Now, I have created a movable bar chart race in Flourish Studio and want to convert it into a high-quality video. However, I do not want to use screen recording tools.

    &#xA;

    My Goal :
    &#xA;I want to capture 30 high-resolution PDF frames from the website at different points in time (like a video sequence). Ideally, I need a tool or script that can automate the process of saving multiple PDFs from the website as it plays the animation.

    &#xA;

    What I Tried :
    &#xA;I attempted to write a Python script that :

    &#xA;

    Opens the local HTML file of my Flourish chart in Firefox using Selenium.
    &#xA;Waits for the page to load.
    &#xA;Listens for the F1 key and triggers Ctrl + P to print the page as a PDF.
    &#xA;However, the script does not save the PDF file in the output folder. I'm not sure why.

    &#xA;

    Here is my code :

    &#xA;

    import time&#xA;import keyboard&#xA;from selenium import webdriver&#xA;from selenium.webdriver.firefox.service import Service&#xA;from selenium.webdriver.common.by import By&#xA;from selenium.webdriver.common.keys import Keys&#xA;from selenium.webdriver.firefox.options import Options&#xA;&#xA;# Define paths&#xA;html_file_path = r"E:\Desktop\New folder (4)\20250309101616805.html"&#xA;geckodriver_path = r"E:\Desktop\New folder (4)\geckodriver.exe"&#xA;save_path = r"E:\Desktop\New folder (4)\New folder\output.pdf"  # Save PDF location&#xA;&#xA;# Set up Firefox options&#xA;options = Options()&#xA;options.set_preference("print.always_print_silent", True)  # Silent printing&#xA;options.set_preference("print.show_print_progress", False)  # Hide progress&#xA;options.set_preference("print.print_to_file", True)  # Print to file&#xA;options.set_preference("print.save_print_settings", True)  # Save settings&#xA;options.set_preference("print.printer_PDF", "Save as PDF")  # Set printer&#xA;options.set_preference("print.print_to_file", True)  # Enable saving print output to file&#xA;options.set_preference("print.print_file_name", save_path)  # Define the save location for PDF&#xA;&#xA;# Start WebDriver&#xA;service = Service(executable_path=geckodriver_path)&#xA;driver = webdriver.Firefox(service=service, options=options)&#xA;&#xA;# Open the HTML file&#xA;driver.get("file:///" &#x2B; html_file_path)&#xA;&#xA;# Wait for the page to load&#xA;time.sleep(2)&#xA;&#xA;print("Press F1 to save as PDF.")&#xA;&#xA;# Listen for F1 key press&#xA;while True:&#xA;    if keyboard.is_pressed(&#x27;F1&#x27;):&#xA;        print("F1 pressed, saving as PDF...")&#xA;        &#xA;        # Trigger print command (Ctrl &#x2B; P)&#xA;        body = driver.find_element(By.TAG_NAME, &#x27;body&#x27;)&#xA;        body.send_keys(Keys.CONTROL &#x2B; &#x27;p&#x27;)&#xA;        &#xA;        # Wait for the print dialog to process&#xA;        time.sleep(2)&#xA;&#xA;        print("PDF should be saved to:", save_path)&#xA;        break&#xA;&#xA;# Close browser&#xA;driver.quit()&#xA;

    &#xA;

    My Questions :

    &#xA;

    Why is my script not saving the PDF in the specified output folder ?

    &#xA;

    Is there a better way to automate capturing 30 sequential PDFs from the website at different animation frames ?

    &#xA;

    Is there any tool or script that can generate a sequence of PDFs (like 30 frames per second) from a webpage ?

    &#xA;

    Important :

    &#xA;

    I do NOT want to use screen recording tools.

    &#xA;

    I only need high-quality PDF frames that can later be converted into a video.

    &#xA;

    Any help would be greatly appreciated !

    &#xA;