
Recherche avancée
Autres articles (61)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...)
Sur d’autres sites (9590)
-
Cannot join mp3 file and avi file with ffmpeg
13 novembre 2014, par RULE101I am using this code to join an mp3 file and video file with ffmpeg
ffmpeg -i /file1.mp3 -ab 128k -i /file2.avi -vcodec copy -f avi /file3.avi
But this code gives that error
Option ab (audio bitrate (please use -b:a)) cannot be applied to input file /file1.mp3 -- you are trying to apply an input option to an output file or vice versa. Move this option before the file it belongs to.
Error parsing options for input file /file1.mp3.
Error opening input files: Invalid argumentHow can i do this job ?
-
How to keep the orientation number(exif) after converting from a video file to a image file by a ffmpeg command
24 novembre 2023, par user27240The command below is working perfectly fine for my environment except it deletes the orientation number (EXIF) of the image file after being converted from a video file.


System info :


- 

- FFmpeg 2.2.2
- CentOS 6 (x86_64)






I'd like to know how to keep the orientation number(exif) of the image with the command line below(it also have to keep the original purpose of its functionality which is to convert a video to a image from one directory to another.). I'd appreciate if anyone could help me out.


for i in /path/to/inputs/*.mp4; do ffmpeg -i "$i" -frames:v 1 "/path/to/outputs/$(basename "$i" .mp4).jpg"; done



-
Connect ffmpeg and pyaudio by rtmp
3 février 2023, par Odino CanoIs it possible in cross platform to create an rtmp connection with ffmpeg and pyaudio ?


This the code :
Camera


import sys, pyaudio, subprocess, cv2
rtmp_url = "rtmp://MYURL"
cap = cv2.VideoCapture(0)

fps = int(cap.get(cv2.CAP_PROP_FPS))
width = int(cap.get(cv2.CAP_PROP_FRAME_WIDTH))
height = int(cap.get(cv2.CAP_PROP_FRAME_HEIGHT))



Command ffmpeg


command = ['']




Init the microphone


CHUNK = 1024
FORMAT = pyaudio.paInt16
CHANNELS = 1 if sys.platform == 'darwin' else 2
RATE = 44100
RECORD_SECONDS = 20
PyA = pyaudio.PyAudio()
stream = PyA.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True)
subProcess = subprocess.Popen(command, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)



Write the bytes


while stream.is_active():
 ret, frame = cap.read()
 if not ret:
 print("frame read failed")
 break
 subProcess.stdin.write(frame.tobytes())

 subProcess.stdin.write(stream.read(CHUNK))
subProcess.stdin.close()



All in multiplatform.