Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (65)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

Sur d’autres sites (5278)

  • GOP structure via FFmpeg

    17 juillet 2021, par chronosynclastic

    I have two questions regarding the Group-of-Pictures (GOP) in MPEG4 Video (both for MPEG4 Part2 and H.264) :

    



      

    1. How can I extract the GOP structure and size of a video sequence using FFmpeg ? I know that the av_get_picture_type_char function of the AVPicture struct yields picture types for each frame, but I wonder if there is a more direct method to obtain the GOP information ?

    2. 


    3. How can I detect whether the sequence has open GOPs or closed GOPs, i.e. whether B frames from one GOP are allowed to refer to the I and P frames in an adjacent GOP ?

    4. 


    


  • How to Convert u-law 8000 Hz Audio Files to OPUS in Python

    21 juillet, par user60108

    I'm working on a Python project where I need to convert audio files from μ-law format with an 8000 Hz sampling rate to OPUS format. The challenge is to keep the original channels separated in the conversion process. Despite several attempts with different methods and libraries, I haven't succeeded yet. I'm looking for advice or a Python library that can efficiently handle this conversion.

    


    What I've tried :

    


    1- Using pydub to Load and Export Files : Attempted to load .au files with pydub and export them as OPUS. This approach resulted in ffmpeg related errors, specifically "Invalid data found when processing input".

    


    from pydub import AudioSegment
audio_1 = AudioSegment.from_file("path/to/file1.au", format="au", frame_rate=8000)
audio_2 = AudioSegment.from_file("path/to/file2.au", format="au", frame_rate=8000)
combined_audio = AudioSegment.from_mono_audiosegments(audio_1, audio_2)
combined_audio.export("output.opus", format="opus", bitrate="32k")


    


    2- Direct Conversion Using ffmpeg : Also tried direct conversion with ffmpeg from both the command line and within Python, specifying codecs, but kept encountering "Invalid data found when processing input".

    


    ffmpeg -acodec pcm_mulaw -i input_file.au -ar 8000 -ac 1 output.wav


    


    3- Playback with aplay : Interestingly, the files play back fine using aplay with specified sampling rate and format, confirming the files are not corrupted.

    


    aplay -r 8000 -f MU_LAW input_file.au


    


    How can I convert audio files from u-law 8000 Hz format to OPUS format in Python, ideally keeping the original audio channels separate ? Is there a specific Python library or tool that works well for this type of audio conversion ?

    


  • Do ffmpeg command programmatically

    8 juin 2016, par AlexLocust

    I use this command to streaming of my app’s output to ffserver :

    ffmpeg -i video.mjpg -threads 2 http://localhost:8090/cam_mjpg.ffm

    video.mjpg is a named pipe which my app writes to.

    Is there any way to embed same functionality directly to my app, without calling external command ?

    The reason is less components is better and more reliable.

    Of course all transcoding may be implemented by direct calls to codec’s API, but I’m looking for some sort of high-level solution, similar to one provided by that command.

    Environment :

    Ubuntu linux, c++.