
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (59)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8962)
-
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 ?