
Recherche avancée
Autres articles (91)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (4228)
-
send point to point video stream using ffmpeg with rtsp (c++)
8 décembre 2015, par seleciii44I need to send a h264 encoded video stream to a(only one) specific IP address with RTSP protocol on a windows PC with C++. I’m trying to use the FFMPEG library.
I used the example in this post and i can play the stream as :
ffplay -rtsp_flags listen -i rtsp://127.0.0.1:8554/live.sdp
The problem is, according to the solution of post i need a server. Where
-rtsp_flags listen
option of ffplay behaves like a server.On the other hand, according to StreamingGuide of ffmpeg i can send a point to point stream like :
ffmpeg -i INPUT -acodec libmp3lame -ar 11025 --f rtp rtp://host:port
This is fine and works well. But i need to use rtsp. According to StreamingGuide again,
Another option is to use RTP (which by default uses UDP) but by
specifying it use TCP :ffmpeg -i input -f rtsp -rtsp_transport tcp rtsp://localhost:8888/live.sdp
which seems to be what i’m looking for. Yet the ffmpeg tool seems to be doing nothing when i try this method (don’t know why i need tcp,but udp does not work neither). Why is that ?
FFMPEG protocols documentation, says that i need to use a media server to send the video.
- Why would i need a media server to just send the video stream to another PC or whatever ?
- If i need a media server, how does the IP Camera sends the stream ?
- If i have no option but to use a media server, could some one please recommend a server for Windows 7 ?
- ffserver is only for linux
- live555mediaServer seems to be used for local files or am i wrong ?
- ..?
Best regards,
Gokhan. -
Merge pull request #3419 from matthewrhoden1/master
24 février 2016, par blueimpMerge pull request #3419 from matthewrhoden1/master
Wiki Update
-
ffmpeg for archival and convertibility
27 juillet 2021, par SatyaI've got a couple hundred gigs of *.dv files. I'd like to convert them to H.264 or something else or even leave them alone. The purpose is archival, with an eye to maximum convertibility especially to DVD. The content is family videos.


Would this be fine ?


ffmpeg -i input.dv \
 -c:v libx264 -preset slower \
 -crf 17 \
 -pix_fmt yuv420p \
 output.mp4



I went with the
slower
preset because encoding time isn't an issue and I'd like a smaller file size. crf 17 is for least-lossy while being widely playable. I read somewhere that yuv420p is needed for some Quicktime players.

Should I throw in
-c:a aac
for AAC audio ? The audio is voice only, no need for music-hall quality.

I looked at https://trac.ffmpeg.org/wiki/Encode/H.264 for previous research and that's where I got those settings, but it is silent on the audio settings.


Edited : My priorities, in order of importance, are :


- 

- Compatibility
- Losslessness (doesn't have to be 100% lossless, hence crf of 17 and not 0)
- File size








Most of the input files say this :


[lavf] stream 0: video (dvvideo), -vid 0
[lavf] stream 1: audio (pcm_s16le), -aid 0
VIDEO: [dvsd] 720x480 0bpp 29.970 fps 25000.0 kbps (3051.8 kbyte/s)
Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)
AUDIO: 32000 Hz, 2 ch, s16le, 1024.0 kbit/100.00% (ratio: 128000->128000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)



Output from ffmpeg :


Stream #0:1: Audio: pcm_s16le, 32000 Hz, stereo, s16, 1024 kb/s