
Recherche avancée
Médias (91)
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
-
Exemple de boutons d’action pour une collection collaborative
27 février 2013, par
Mis à jour : Mars 2013
Langue : français
Type : Image
-
Exemple de boutons d’action pour une collection personnelle
27 février 2013, par
Mis à jour : Février 2013
Langue : English
Type : Image
Autres articles (91)
-
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.
Sur d’autres sites (6429)
-
ffmpeg simple re-mux short video : Invalid data found when processing input
19 mai 2021, par NicI try to remux (surveillance cam) raw AVC files (file header begins with "STL Stream Format v1.0") to get playable MP4 files.


The command I used does work for the longer file but not for the short one :


.\ffmpeg.exe -framerate 25 -i video.ssf -c copy video.mp4



Good result for long video :


Trailing option(s) found in the command: may be ignored.
Input #0, h264, from 'file.ssf':
 Duration: N/A, bitrate: N/A
 Stream #0:0: Video: h264 (Baseline), yuv420p(progressive), 704x576, 25 fps, 25 tbr, 1200k tbn, 50 tbc
Output #0, mp4, to 'file.mp4':
 Metadata:
 encoder : Lavf58.76.100
 Stream #0:0: Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(progressive), 704x576, q=2-31, 25 fps, 25 tbr, 1200k tbn, 1200k tbc
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0000020c1a048240] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[NULL @ 0000020c1997f640] sps_id 32 out of range00:00:00.00 bitrate=384000.0kbits/s speed= 0.2x
frame= 4814 fps=0.0 q=-1.0 Lsize= 21829kB time=00:03:12.52 bitrate= 928.9kbits/s speed=2.34e+03x
video:21808kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.098001%



Bad result for short video :


[AVIOContext @ 000002c6db8e6d80] Statistics: 846679 bytes read, 0 seeks
video.ssf: Invalid data found when processing input



Is there anything I can adjust to fix this ?


Thanks !


Nico


-
lavfi/dnn : refine code to separate processing and detection in backends
17 mai 2021, par Guo, Yejun -
Slow down background processing when USB is disconnected
28 mai 2021, par TakuI create video editing app with openCV and ffmpeg in kotlin.
After taking movie with USB debugging, it can edited for about 5 min.
but, as soon as disconnect the USB, it will take 30 min to edit the video for some reason...


I am in trouble because I can not correct it without debugging.
Is it problem to do from editing it to saving it in the background ?


class OpenCV(val inputPath: String, val context: Context, val setuptime: Int){

 .....

 init{
 videoCapture = VideoCapture()
 videoCapture.open(inputPath)

 videoCapture.grab()
 width = videoCapture.get(Videoio.CAP_PROP_FRAME_WIDTH)
 height = videoCapture.get(Videoio.CAP_PROP_FRAME_HEIGHT)

 val file = File(context.getExternalFilesDir(Environment.DIRECTORY_MOVIES), "output.avi")

 writer = VideoWriter()
 writer.open(
 file.path,
 VideoWriter.fourcc('M', 'J', 'P', 'G'),
 30.0,
 Size(width,height)
 )


 if(writer.isOpened){
 posefinish=true
 val inpMat = Mat(width.toInt(), height.toInt(),CvType.CV_8UC4)
 while (true){
 if (!posefinish){continue}//Wait in an infinite loop until one frame is processed

 if(videoCapture.read(inpMat)){
 posefinish=false
 if(inpMat.dims() == 0){ posefinish = true; continue }


 val bmp = Bitmap.createBitmap(
 width.toInt(),
 height.toInt(),
 Bitmap.Config.ARGB_8888
 )

 Utils.matToBitmap(inpMat, bmp, false)

 DrawPose(inpMat, bmp)// the function to edit video frame by frame

 }else{
 if(MainActivity.debag){Log.d(MainActivity.TAG, "videoCapture終了!")}
 writer.release()
 videoCapture.release()


 with_ffmpeg(file, file2, file3, file4)// avi -> mp4 -> save video with ffmpeg

 break
 }
 }

 }
 }

 }



And I call the above code with thread of coroutine.


val job =CoroutineScope(Dispatchers.Default).launch {
 OpenCV(file.toString(),this, taskSec)
 }