Recherche avancée

Médias (91)

Autres articles (92)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (10121)

  • FFMPEG mkv to mp4 conversion lacks audio

    28 septembre 2017, par Landslyde

    I used ffmpeg to convert an mkv file to mp4 using this command line :

    ffmpeg -i input.mkv -c copy file-1.mp4

    The resulting mp4 plays fine (video and audio) on Linux Mint's Xplayer. But after uploading file-1, it played with no audio. So I uploaded another mp4 file-2, one I didn’t have to convert, and it plays both video and audio without a problem. So whatever’s going on with file-1 seems to be with my use of ffmpeg.

    The player I’m using is called afterglow. But the HTML5 player handles these two files the same way : file-1 & file-2

    Does anyone know why the ffmpeg converted file is soundless when played online ? Is there a different conversion command that ensures converted mkv files will play with sound by online players ?

  • Streaming Encoded MPEG-4 live video from a web camera using RTP in C++

    20 juin 2022, par Maad A.Galil

    I have been working on building a video streamer from a webcam using RTP protocol in C++ language in Linux. I was able to use opencv to take frames from the webcam and send them frame by frame to a client app that shows those frames one by one using the same frame per second parameter.

    


    But that is mostly a MJPEG kind of transfer as the encoding used is JPEG encoding with a specific quality for each frame. However, I would like to use MPEG-4 encoding before transferring the video. After a deep search online I found out that ffmpeg is the best for such purpose. But the samples online mostly work through a command line interface to capture a webcam video and save it as a video file with the given encoding and format.

    


    Is there a possibility to encode the webcam "LIVE", and get byte data while encoding the camera stream ?

    


    I would like to use those byte data to transfer it using RTP for example. And then I would like to decode the received byte data and show the video using opencv imshow function for example.

    


  • How can I solve this error, file not found error

    11 août 2021, par Kapil Kumar

    from pydub import AudioSegment
sound = AudioSegment.from_mp3("F :\work\online internship\M1ML\Language_Recg\Test.mp3")
sound.export("F :\work\online internship\M1ML\Language_Recg\Test.wav", format="wav")

    


    C :\Users\hp\anaconda3\envs\Language_Recg\python.exe "F :/work/online internship/M1ML/Language_Recg/mp3_wav.py"
C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py:170 : RuntimeWarning : Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py:198 : RuntimeWarning : Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
Traceback (most recent call last) :
File "F :/work/online internship/M1ML/Language_Recg/mp3_wav.py", line 2, in 
sound = AudioSegment.from_mp3("F :\work\online internship\M1ML\Language_Recg\Test.mp3")
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\audio_segment.py", line 796, in from_mp3
return cls.from_file(file, 'mp3', parameters=parameters)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C :\Users\hp\anaconda3\envs\Language_Recg\lib\subprocess.py", line 1311, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError : [WinError 2] The system cannot find the file specified

    


    Process finished with exit code 1