
Recherche avancée
Autres articles (24)
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (3504)
-
How to downscale video using subprocess and then piping the data over to stdout and play using ffplay and save it as well
2 avril 2021, par ZeroDay FractureI am trying to use ffmpeg to downscale a video and pipe the stdout data to ffplay to play the new downsized video by piping it to ffplay on aws lambda.


This is the command I have so far, but for some reason adding a scale option is not working.


I am trying to run this command locally before I deploy it on python with subprocess command. I need the raw video to be able to save into database for streaming the data in realtime.


%ffmpeg -i sample.mp4 -vf scale=240:-2 -f mpegts -c:v copy -af aresample=async=1:first_pts=0 - | ffplay -


adding the scale optioin for some reason is saving the video as the name scale=240 :-2 which does not make sense.


-
How to play an local video in arbitrary codec and format in browser ? [closed]
24 septembre 2023, par HanXuI am developing a video player in browser to let the user select a local video to play, and want to support as many video formats as possible. I know that in browser a
video
tag can only play videos in a limited set of codecs, and on desktop libraries like VLC can play literally any videos. I would like to bring that broad compatibility to the browser, but not sure how to achieve it.

One thing come up in my mind is to let the user run a thin client natively, which read the local video and stream it at, say,
http://localhost:8080
, in some web-friendly codec and format, and in the frontend I use avideo
withsrc
to behttp://localhost:8080
.

In the client I think I need to run some
ffmpeg
command to somehow stream and process the video in real-time. I also run into the libVLC which seems nice, and am not sure which one to use.

Furthermore, I need to enable the user to seek to any arbitrary timestamp, and am not sure if the streaming technic supports it.


I have done some googling, and found a method which first runs a
ffmpeg
command as

VIDSOURCE="/some/video.mp4"
AUDIO_OPTS="-c:a aac -b:a 160000 -ac 2"
VIDEO_OPTS="-s 854x480 -c:v libx264 -b:v 800000"
OUTPUT_HLS="-hls_time 10 -hls_list_size 10 -start_number 1"
ffmpeg -i "$VIDSOURCE" -y $AUDIO_OPTS $VIDEO_OPTS $OUTPUT_HLS /some/public/video.m3u8



and in the frontend I can use the react-player to play the video like


<reactplayer url="/some/public/video.m3u8"></reactplayer>



However, I can not seek to an arbitrary timestamp, and the
ffmpeg
command creates a lot of.ts
files one by one about which I am not sure what is going on. It seems that before it creates avideo77.ts
, I can not seek to timestamp within that segment.

All in all, I am looking for some solution like




that supports


- 

- playing videos in browsers in as many codecs and formats as possible,
- allowing users to seek to any arbitrary timestamp.






Since many native video player like VLC supports it, I believe it can be done. Does anyone have any idea that may help ? Appreciate in advance !


-
Avplayer can not play streaming link from youtune on ios 7
12 septembre 2015, par thaitujimI have a problem. Im trying to play audio streamming from youtube response.
When i fecth youtube to get real Stream audio. And then i get real linkexample in this case is : "https://r6---sn-8qj-nbol.googlevideo.com/videoplayback?id=3c9bf82a23c991cb&itag=140&source=youtube&requiressl=yes&mv=m&ms=au&mm=31&gcr=vn&ratebypass=yes&mime=audio/mp4&gir=yes&clen=3662991&lmt=1394274529113749&dur=230.574&signature=232B6692726E12E9CFAEAC0C3990648710FCAE04.733EBD94E30ED230299CFA2E993577D656E18457&sver=3&fexp=907259,930666,932404,943909,947209,947215,948124,952302,952605,952901,953745,953913,957103,957105,957201&key=dg_yt0&upn=_bm8tftRoZM&mt=1415673491&ip= XXX.XXX.XXX.XXX &ipbits=0&expire=1415695122&sparams=ip,ipbits,expire,id,itag,source,requiressl,mv,ms,mm,gcr,ratebypass,mime,gir,clen,lmt,dur"
with itag = 140, this link contain only audio format.
and this problem here.
when i handle it by Avplayer, i work well on IOS 8 device. but on IOS 7 device. it’s not working. Does Anybody can help me fix it or give me any solution.my code is very simple.
self.mSongPlayer = [[AVPlayer alloc] initWithURL:urlAudio] ;
self.mSongPlayer play] ;with urlAudio link is this link above.
i tried with normal Stream link. example is : http://www.abstractpath.com/files/audiosamples/sample.mp3
and it work normaly on same ios7 and ios8.thanks everybody.