
Recherche avancée
Autres articles (111)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...) -
Déploiements possibles
31 janvier 2010, parDeux types de déploiements sont envisageable dépendant de deux aspects : La méthode d’installation envisagée (en standalone ou en ferme) ; Le nombre d’encodages journaliers et la fréquentation envisagés ;
L’encodage de vidéos est un processus lourd consommant énormément de ressources système (CPU et RAM), il est nécessaire de prendre tout cela en considération. Ce système n’est donc possible que sur un ou plusieurs serveurs dédiés.
Version mono serveur
La version mono serveur consiste à n’utiliser qu’une (...)
Sur d’autres sites (8988)
-
Android cannot play a video, but PC can [duplicate]
6 juin 2018, par CoXierThis question already has an answer here :
I use
ffmpeg
to convert gif to mp4 on Android. And part of configuration is :--disable-encoders \
--disable-decoders \
--enable-small \
--enable-encoder=libx264 \
--enable-encoder=flv \
--enable-encoder=opus \
--enable-encoder=gif \
--enable-decoder=h264 \
--enable-decoder=flv \
--enable-decoder=opus \
--enable-decoder=gif \However I can not play the output mp4 on Android. But pc can play it.
ffmpeg -i output.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.12.100
Duration: 00:00:09.73, start: 0.000000, bitrate: 330 kb/s
Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 / 0x31637661), yuv444p, 280x174, 328 kb/s, 11 fps, 11 tbr, 11264 tbn, 22 tbc (default)
Metadata:
handler_name : VideoHandlerIs there anything wrong ?
-
gstreamer vaapih264enc generated ts segment dont play on AVPlayer
21 juin 2022, par Guru GovindanI have a pipeline that transcodes an rtsp stream into hls segments. The manifest is playable in browsers(with hlsjs) and ffplay and VLC. However when I play the stream or individual ts segments in Quicktime player or my IOS App that uses avplayer, it doesnt work.


This seems to be an issue only with
vaapih264enc
. When I try the same with software encode likex264enc
it works fine.

The following is a simple pipeline where this is reproducible.


GST_DEBUG=3 gst-launch-1.0 rtspsrc location='rtsp://user:pass@10.10.10.12:554/' name=rtpsrc0 \
 rtpsrc0. ! rtph264depay ! queue ! decodebin ! vaapih264enc ! mpegtsmux name=mux ! filesink location=mymux.ts \
 rtpsrc0. ! decodebin ! queue ! fdkaacenc ! mux.



when I run the following command to copy the encoded stream as is from the generated ts segment it works


ffmpeg -i mymux.ts -c copy mymux_ffmpeg.ts



Is the ffmpeg adding some additional header information that the quicktime player is happy with ?


I appreciate any help with this.


-
unable to play downloaded .ts video files
29 mai 2021, par nishi have downloaded a ts video file from m3u8 index file with the help of this python script


import requests
import m3u8
url1 = "url of the m3u8 file"
r = requests.get(url1)
master_m3u8 = m3u8.loads(r.text)

preurl = "preurl of the m3u8 file "

url2 = preurl + master_m3u8.data["playlists"][2]["uri"]
r2 = requests.get(url2)
sub_m3u8_file = m3u8.loads(r2.text)


with open("philosophy_intro.ts","wb") as f:
 for segment in sub_m3u8_file.data["segments"]:
 url = preurl + segment["uri"]
 res = requests.get(url)
 f.write(res.content)



and this is what segments of the playlists look like
playlists segments


video of the size 800mb is being downloaded but it dosen't play in any media player in my computer also when i try to convert it to mp4 with moviepy script


import moviepy.editor as moviepy
clip = moviepy.VideoFileClip("philosophy_intro.ts")
clip.write_videofile("philosophy_intro.mp4")



it says failed to read the duration of the video file,whats the problem