
Recherche avancée
Autres articles (45)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
Sur d’autres sites (7146)
-
How to play a part of the MP4 video stream ?
14 novembre 2014, par AgentFireI have a URL (
<ip>/ipcam/mpeg4.cgi</ip>
) which points to my IP camera which is connected via Ethernet.
Accessing the URL resuls in a infinite stream of video (possibly with audio) data.I would like to store this data into a video file and play it later with a video player (HTML5’s
video
tag is preferred as the player).However, a straightforward approach, which is simple saving the stream data into
.mp4
file, didn’t work.I have looked into the file and here is what I saw (click to enlarge) :
It turned out, there are some HTML headers, which I further on manually excluded using the binary editing tool, and yet no player could play the rest of the file.
The HTML headers are :
--myboundary
Content-Type: image/mpeg4
Content-Length: 76241
X-Status: 0
X-Tag: 1693923
X-Flags: 0
X-Alarm: 0
X-Frametype: I
X-Framerate: 30
X-Resolution: 1920*1080
X-Audio: 1
X-Time: 2000-02-03 02:46:31
alarm: 0000My question is pretty clear now, and I would like any help or suggestion. I suspect, I have to manually create some MP4 headers myself based on those values above, however, I fail to understand format descriptions such as these.
I have the following video stream settings on my IP camera (click to enlarge) :
I could also use the
ffmpeg
tool, but no matter how I try and mix the arguments to the program, it keeps telling me this error : -
Firefox doesn't play mp4 file in HTML5 video
21 janvier 2016, par DeveloperI recorded a video with my mobile which had the format ".mp4". Now if I load that video in HTML5 video tag, I get an error
HTTP "Content-Type" of "video/3gpp" is not supported.
Why does Firefox consider the file as3gpp
although it is anmp4
file ?
If I log the file properties when it is loaded on to browser, I see the following{ name: "test.mp4", lastModified: 1434536249000, lastModifiedDate: Date 2015-06-17T10:17:29.000Z, size: 41151959, type: "video/mp4" }
This means firefox identifies the type as
mp4
only. But doesn’t play it giving the errorHTTP "Content-Type" of "video/3gpp" is not supported.
-
Unable to play clear content packaged using ffmpeg mpeg-dash -single_file option
20 novembre 2017, par diSAble to package the mpeg-dash clear content into a single file using -single_file option but unable to play the content.
ffmpeg command :
ffmpeg -y -loglevel info -loglevel verbose -err_detect careful -analyzeduration 8000000 -probesize 4000000 -rtbufsize 300000 -flush_packets 0 -fflags +genpts+discardcorrupt -f mpegts -i Sample_Input.ts -i -map 0:p:1:0 -c copy -f dash -window_size 24 -min_seg_duration 4 -use_timeline true -use_template true -single_file true live.mpd
Able to package and play using below command :
MP4Box -dash 150000 -dash-profile onDemand -segment-name chunk-stream clear.mp4
Am I Missing any parameters while packaging with ffmpeg command ?
FFMPEG latest code from https://git.ffmpeg.org/ffmpeg.git
commit :- ce001bb8fc6677541c401a614e05e5058d58dde1Thank you in advance.