
Recherche avancée
Autres articles (58)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (10031)
-
How to combine/concatenate videos stored in AWS S3 bucket based on title of the file name
9 juin 2020, par orangecubeI am using a service that allows me to record videos that get automatically pushed to a folder (submissions) in an S3 bucket. There are multiple videos however they need to be grouped together and concatenated so the output is one video per group.



So, basically, any tips on how I can take videos based on the title and stitch them together ?



Example :



Submissions folder will have :



a-100-2.mp4
a-200-6.mp4
b-123-5.mp4




Expected output in processed folder :



a.mp4 - (both 'a' videos get stitched together)
b.mp4 - (only 'b' gets sent over since there is only one video.)




Thanks in advance !



Edit : Some additional and detailed information below if it helps.



The files will be labeled with :
name-location-video_token-stream_token.mp4



Need help creating a script or process that will concatenate the videos using the procedure outlined below :



Processing rules (back end) :



- 

-
Check if videos have same video_token in ‘submissions folder’. If so, keep the newest one and delete old ones.
-
Take all videos in ‘submissions folder’ with same name and location in title and concatenate the videos. Save output video to a new folder in the bucket labeled as the location for the folder name. 
Output file name : 
name-location-year.mp4.







EXAMPLE :



Submissions folder :
joey-toronto-001-354.mp4



joey-toronto-001-241.mp4 - this will be deleted



joey-toronto-103-452.mp4



alex-montreal-352-232.mp4



alex-montreal-452-223.mp4



Resulting output :



Toronto folder :



Joey-toronto-2020.mp4



Montreal folder :



Alex-montreal-2020.mp4


-
-
MobileFFMPEG Output file #0 does not contain any stream
30 septembre 2020, par AlhajI am using implementation 'com.arthenica:mobile-ffmpeg-full:4.4'


I just want o crop audio file to 10 second to 20 second


'''
fun cropAudio(input :String)


val newFileName = UUID.randomUUID().toString()

 val location: String = getBatchDirectoryName()!!

 val output: String = location + "/" + newFileName + ".mp3"

 val temp=" -i $input -ss 60 -to 70 $output"

 Log.e("alhaj", " a $s")

 FFmpeg.execute(temp, object : ExecuteCallback {

 fun onSuccess(message: String?) {
 uploadOnFirebase(output, title)
 mediaPlayer.stop()
 Log.e("alhaj", message!!)
 }

 override fun apply(executionId: kotlin.Long, returnCode: Int) {
 if (returnCode == RETURN_CODE_SUCCESS) {
 Log.i("alhaj", "Async command execution completed successfully.");
 } else if (returnCode == RETURN_CODE_CANCEL) {
 Log.i("alhaj", "Async command execution cancelled by user.");
 } else {
 Log.i("alhaj", String.format("Async command execution failed with rc=%d.", returnCode));
 }
 }
 }.toString())
}



'''


but i am getting error


'''


2020-09-30 03:13:41.079 10300-10410/com.example.touchmeadmin I/mobile-ffmpeg : Output #0, mp3, to ' -i /storage/emulated/0/AJ backup/songs/Maroon 5 - Memories (Official Video) ( 256kbps cbr ).mp3 -ss 60 -to 70 /storage/emulated/0/Android/data/com.example.touchmeadmin/files/Music/830350fd-5218-4ee0-bd99-0dd50b802930.mp3' :
2020-09-30 03:13:41.079 10300-10410/com.example.touchmeadmin E/mobile-ffmpeg : Output file #0 does not contain any stream


'''


-
CDN Stream Play Video + Audio With Referer ?
30 avril 2020, par lavara123This is orginal site play script :





const player = jwplayer("player").setup({
					title: "Extraction",
					description: "2020",
					file: "https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh",
					tracks: [{"file":"https:\/\/sinefy.com\/subtitles\/tt8936646.tr.vtt","label":"T\u00fcrk\u00e7e","kind":"captions","default":true}],					image: "https://sinefy.com/uploads/series/cover/extraction-2020.jpg",					type: "application/vnd.apple.mpegurl",
					playbackRateControls: true,
					preload: "auto",
					autostart: autopl,
					hlshtml: true,
					androidhls: true,
					stagevideo: false,
					"primary": "html5"
				})








this is HLS (Fragmented MP4) url open with referer :



https://cdn.rapidvideocdn.xyz/videoplayback/1598e8ae991e78c6d87cf31b5e5db280be1012101221e017b1b20f8331f820fbh




referer :



https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902




i'm play code :



ffmpeg -referer "https://sinefy.com/api/runner/80d4d32765c4d9466bf646958663f902" -i "https://e1-ad930d.rapidvideocdn.xyz/videoplayback/6d3d454e9fd30ac1a7ed678ff1d77e325" -f hls -vcodec libx264 -crf 27 -preset veryfast -c:a copy - | ffplay -




but no sound ?