
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (83)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Formulaire personnalisable
21 juin 2013, parCette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire. (...)
Sur d’autres sites (12679)
-
PHP : Return response immediately, but run multiple lengthy shell_exec functions in the background
15 janvier 2016, par JakeI am creating a simple web service that accepts a video upload, runs multiple different encodes on the video (mp4, webm, ogv), and then uploads the newly created files to our video host.
Let’s say I have multiple commands..
shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1280x720 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1280x720.mp4');
shell_exec('ffmpeg -i input.mp4 -f mp4 -c:v libx264 -preset slow -crf 24 -s 1920x1080 -c:a libfdk_aac -profile:a aac_he -ar 22050 -b:a 64k -movflags +faststart output-1920x1080.mp4');
shell_exec('ffmpeg -i input.mp4 -f ogg -c:v libtheora -q:v 5 -s 1280x720 -c:a libvorbis -ar 22050 -b:a 64k -movflags +faststart output-1280x720.ogv');
shell_exec('ffmpeg -i input.mp4 -f ogg -c:v libtheora -q:v 5 -s 1920x1080 -c:a libvorbis -ar 22050 -b:a 64k -movflags +faststart output-1920x1080.ogv');In summary, I want to...
- Print an immediate response : success : true
- Kick off multiple ffmpeg jobs synchronously.
- After each job is complete, send a POST to another server (one POST for each shell_exec).
It would also be nice to only send the POST if the job was successful, but I could easily work around that by just checking to see if the output file exists on the server.
I know that I can force shell_exec to run in the background by simply appending
>/dev/null 2>/dev/null &
to each command — which would allow me to print a response immediately — but I think by doing this, this would cause all of the jobs to run in parallel, and also, since this is diverting the output, I do not get any true callbacks when jobs are complete.Any ideas ??
-
VB Dot Net ffMpeg Network Web Server Cannot Execute JS Ajax Call to Private Web Server When Client is Outside Network
29 septembre 2019, par SonbeltI have a solution that is using Windows Server 2008 (Web Server), Windows Server 2008 (MS Sql Database Server), Computer with Windows 10 Home with IIS acting as a file server that runs command line calls where ffMpeg converts video files to html5 compliant files and then puts them on the NAS (a WD Network Drive.). Users then use the public website to view the videos streamed from the NAS.
Windows Server 2008 cannot make a command line call to ffMpeg. If it could the performance hit would be too large.
In order to get the public web server to call a private web page I’m using an Ajax post call to the file server web site. That site converts the videos and then there is a separate routine that moves the files using the same methodology. In order to get the file server where it can move the files to the NAS I’ve set the application pool identity to a specific user. The public web server is using the Network Service as the identity for the application pool.
When I run the pages on the public server from behind the firewall where the calling ip address is in the same network the solution works fine but when I use any device or browser when the calling ip address is not in the local network the JS Ajax call to the private web site does not work. No lines appear in the IIS log on the file server.
I’ve tried changing to the other built in choices and set the identity as the administrator on the public web server. Turned off the public server firewall, turned off the private files server firewalls without success.
The solution needs to work when the calling ip address is not in the local network. I apologize for long post. Can you help me please ?
-
My ExoPlayer Is opening Streams but no audio
21 décembre 2019, par OniI have created an app to play some m3u8/ts urls with exoplayer version 2.10.5
The urls play good but some of them has only video but no audio and some other urls it works as it should, having both video and audio. Some of the urls on vlc say that have aac audios and those links seems to play both video and audio. The app struggles play both audio and video on a part of the streams with mp2 audio, there are other streams with mp2 audio which play both audio and video. Thats why i don’t know what is going on, on audio mp2 40% of the links i have tried work good, and some of mp2 60% do not work with audio.
the debugI/ExoPlayerImpl: Init b6a37fa [ExoPlayerLib/2.10.5] [lv3n, LG-M200, LGE, 27]
D/INFO: ActivityVideoPlayer
E/FA: Task exception on worker thread: java.lang.NoSuchFieldError: No static field zzaqq of type [Ljava/lang/String; in class Lcom/google/android/gms/measurement/internal/zzcu; or its superclasses (declaration of 'com.google.android.gms.measurement.internal.zzcu' appears in /data/app/com.app.OniHD-d6Z9YgKSRXasFDMB0IqZuQ==/base.apk!classes2.dex): com.google.android.gms.measurement.internal.zzfy.zzcu(Unknown Source:161)
V/FA: Activity resumed, time: 868504897
W/Adreno-EGL: : EGL_BAD_ATTRIBUTE
D/vndksupport: Loading /vendor/lib/hw/gralloc.msm8937.so from current namespace instead of sphal namespace.
D/ActivityStreamPlayer: onTimelineChanged:
D/ActivityStreamPlayer: onLoadingChanged: true
D/FA: Connected to remote service
V/FA: Processing queued up service tasks: 1
I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@af1afee time:281647215
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
Unrecognized profile 2130706434 for video/avc
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
Unrecognized profile 2130706434 for video/avc
D/ActivityStreamPlayer: onTracksChanged: 3
D/MediaCodec: CreateByComponentName name=OMX.qcom.video.decoder.avc
Mediacodec create pid=16947
init()++ name=OMX.qcom.video.decoder.avc,nameIsType=0,encoder=0
V/LGCodecAdapter: LG Codec Adapter start
load libLGCodecOSAL library
V/LGCodecOSAL: Just Validatation check function
I/ACodec: Now uninitialized
D/MediaCodec: kWhatInit received
I/ACodec: onAllocateComponent
I/OMXClient: Treble IOmx obtained
D/MediaCodec: onComponentAllocated() componentName=OMX.qcom.video.decoder.avc
I/ACodec: [OMX.qcom.video.decoder.avc] Now Loaded
D/MediaCodec: kWhatComponentAllocated received
D/MediaCodec: init()--
D/MediaCodec: kWhatConfigure received
D/SurfaceUtils: connecting to surface 0x76ff4808, reason connectToSurface
I/MediaCodec: [OMX.qcom.video.decoder.avc] setting surface generation to 17353729
D/SurfaceUtils: disconnecting from surface 0x76ff4808, reason connectToSurface(reconnect)
D/SurfaceUtils: connecting to surface 0x76ff4808, reason connectToSurface(reconnect)
V/LGCodecAdapter: called getLGCodecSpecificData
V/LGCodecOSAL: Called LGgetCodecSpecificDataMSG
V/LGCodecAdapter: called IsLGComponent
I/ExtendedACodec: setupVideoDecoder()
I/ExtendedACodec: Decoder will be in frame by frame mode
V/LGCodecOSAL: Called LGconfigureCodecMSG
Not support LGCodec
D/MediaCodec: onComponentConfigured()
D/MediaCodec: kWhatComponentConfigured received
D/MediaCodec: start()
D/MediaCodec: kWhatStart received
D/SurfaceUtils: set up nativeWindow 0x76ff4808 for 720x576, color 0x7fa30c04, rotation 0, usage 0x20002900
I/ACodec: [OMX.qcom.video.decoder.avc] Allocating 22 meta buffers on output port
I/ACodec: [OMX.qcom.video.decoder.avc] Now Idle->Executing
I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
I/ACodec: [OMX.qcom.video.decoder.avc] Now handling output port settings change
D/SurfaceUtils: set up nativeWindow 0x76ff4808 for 720x576, color 0x7fa30c04, rotation 0, usage 0x20002900
I/ACodec: [OMX.qcom.video.decoder.avc] Allocating 10 meta buffers on output port
I/ACodec: [OMX.qcom.video.decoder.avc] Now Executing
D/ActivityStreamPlayer: onPlayerStateChanged: true
I/zygote: Background concurrent copying GC freed 103397(7MB) AllocSpace objects, 70(2MB) LOS objects, 66% free, 5MB/17MB, paused 197us total 127.642ms
V/FA: Session started, time: 868507783
E/FA: Task exception on worker thread: java.lang.NoSuchFieldError: No static field zzaqr of type [Ljava/lang/String; in class Lcom/google/android/gms/measurement/internal/zzcu; or its superclasses (declaration of 'com.google.android.gms.measurement.internal.zzcu' appears in /data/app/com.app.OniHD-d6Z9YgKSRXasFDMB0IqZuQ==/base.apk!classes2.dex): com.google.android.gms.measurement.internal.zzaq.zzbt(Unknown Source:11)
I/zygote: Do full code cache collection, code=507KB, data=419KB
I/zygote: After code cache collection, code=502KB, data=339KB
V/FA: Inactivity, disconnecting from the service
I/zygote: Do partial code cache collection, code=506KB, data=343KB
I/zygote: After code cache collection, code=506KB, data=343KB
Increasing code cache capacity to 2MB
W/DpmTcmClient: Couldn't find 'tcm' socket after 120times. quit tryingExoPlayer -
private void setupPlayer() {
BANDWIDTH_METER = new DefaultBandwidthMeter.Builder(this)
.build();
mediaDataSourceFactory = buildDataSourceFactory(true);
RenderersFactory renderersFactory = new DefaultRenderersFactory(this);
TrackSelection.Factory videoTrackSelectionFactory = new AdaptiveTrackSelection.Factory();
TrackSelector trackSelector = new DefaultTrackSelector(videoTrackSelectionFactory);
LoadControl loadControl = new DefaultLoadControl();
player = ExoPlayerFactory.newSimpleInstance(this, renderersFactory,
trackSelector,
loadControl);
playerView = findViewById(R.id.exoPlayerView);
playerView.setPlayer(player);
playerView.setRepeatToggleModes(REPEAT_TOGGLE_MODE_ALL);
playerView.setUseController(true);
playerView.requestFocus();
Uri uri = Uri.parse(url);
MediaSource mediaSource = buildMediaSource(uri, null);
player.prepare(mediaSource);
player.setPlayWhenReady(true);```