
Recherche avancée
Autres articles (111)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...)
Sur d’autres sites (10930)
-
download hls from m3u8 file with a particular resolution with ffmpeg [on hold]
22 octobre 2018, par C.J.hi i am a new member of this site after looking at this site for hours i found how to download HLS from a site and it works also. but one thing i could not find is if a particular site has available video in more than one resolution say 1280*720 and 1920*1080. so how do i tell FFMPEG to download 1280*720 and not 1920*1080. this is the code i tried.
ffmpeg i "https://hsprepack.akamaized.net/videos/hotstarint/world/kwks6/1_2/master.m3u8?hdnea=st=1540178095 exp=1540179895 acl=/* hmac=ee2361306de510cf4f372c359b5ec21fd3d3b61d65b6f5e2f16259508e08c625" output.mp4
-
How I can receive MJPEG stream via RTSP with resolution more than 1080p
21 septembre 2018, par chuchuchuThere is a problem :
When I get a video stream with a resolution of 1080 and below - everything is fine.
But if I select a stream with a resolution higher than 1080 on the camera, an error occurs.
FFMPEG :[mjpeg @ 0x7f5488003e40] [IMGUTILS @ 0x7f5494acb4f0] Picture size 0x0 is invalid
If I open a stream in the player I get a disparate image :
[mjpeg @ 0x7fd9f8043b20] error y=91 x=16
[mjpeg @ 0x7fd9f8043b20] error dcI repeatedly recompiled and reinstalled various versions of the ffmpeg, the problem is not solved.
I suspect that there is a restriction for video stream over 1080p, but I can not find any description or solution.
And I found next string in rfc "RTP Payload Format for JPEG" :The maximum width is 2040 pixels.
but it is dated 1998. I know for certain that this stream on the RTSP receives in the resolution I need, but I can not understand how.
Please, tell me the way to the solution. I’m using Ubuntu 16.04 amd64.
Perhaps there is an alternative way to receive a rtsp-stream without using a ffmpeg ?? Since all ways known to me are using ffmpeg. -
FFmpeg - Change resolution of the video with aspect ratio
18 septembre 2024, par Arthurall.



How to change resolution of the video with aspect ratio with FFmpeg ?



There are options 
http://manpages.ubuntu.com/manpages/oneiric/man1/ffmpeg.1.html



-s size
 Set frame size. The format is wxh (ffserver default = 160x128,
 ffmpeg default = same as source). The following abbreviations are
 recognized:




and



-aspect aspect
 Set the video display aspect ratio specified by aspect.

 aspect can be a floating point number string, or a string of the
 form num:den, where num and den are the numerator and denominator
 of the aspect ratio. For example "4:3", "16:9", "1.3333", and
 "1.7777" are valid argument values.




For example, I have two input videos :



- 

- with 200*400 resolution
- with 400*700 resolution







I need to make output video with 100*200 resolution.



If I will run ffmpeg with -s 100x200, then second video will have bad aspect ratio.



How can I limit output video by width, with auto aspect ratio by height ?



For example, I want specify for the output video only width 100px and ffmpeg must automatically calculate height with right aspect ratio.



For first video it will be :



200/100=2



400/2=200



Ie 100x200



For second video it will be :



400/100=4



700/4=75



Ie 100x75



Is it possible ?