
Recherche avancée
Médias (9)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
Elephants Dream - Cover of the soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Image
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (109)
-
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation" -
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. -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.
Sur d’autres sites (9347)
-
Google Colab Runtime Error please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source
4 juillet 2021, par ImanI'm using Google Colab to write a program using torch vision to extract frames from an mp4 video in my google drive. Thus far, I haven't wrote the full code yet but have been experimenting with torch vision.io library. Upon running the code, I get the following errors.


Mounted at /content/gdrive
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call last)
 in <module>()
 6 
 7 video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"
----> 8 reader = torchvision.io.VideoReader(video_path, "video")
 9 reader.seek(2.0)
 10 frame = next(reader)

/usr/local/lib/python3.7/dist-packages/torchvision/io/__init__.py in __init__(self, path, stream)
 106 + "to enable video_reader support, please install "
 107 + "ffmpeg (version 4.2 is currently supported) and"
--> 108 + "build torchvision from source."
 109 )
 110 self._c = torch.classes.torchvision.Video(path, stream)

RuntimeError: Not compiled with video_reader support, to enable video_reader support, please install ffmpeg (version 4.2 is currently supported) andbuild torchvision from source.

</module>


The code that I have written in the notebook so far is the following :


import os 
import torchvision 
from google.colab import drive
drive.mount('/content/gdrive', force_remount=True)

video_path = "/content/drive/MyDrive/Training-Data-Videos/MASKED/00_MASKED_0_0.mp4"
reader = torchvision.io.VideoReader(video_path, "video")
reader.seek(2.0)
frame = next(reader)
print (frame)




To solve the problem, I tried to install ffmpeg on colab as this post says but it did not work. Can someone tell me what is the error ?


-
I can't get bitmap from Process StandardOutput pipe ffmpeg
7 juin 2018, par Srdjan M.Following article Read and Write Video Frames Using FFMPEG, I am trying to extract and process all frames from a video. The problem is that I don’t get exact same bytes in
buffer
and sample image.string Arguments = string.Format(@"-i {0} -f image2pipe -pix_fmt bgr24 -vcodec rawvideo pipe:", "output.mp4");
using (Process process = new Process())
{
process.StartInfo.CreateNoWindow = false;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;
process.StartInfo.FileName = "ffmpeg.exe";
process.StartInfo.Arguments = Arguments;
process.Start();
char[] buffer = new char[854 * 480 * 3];
using (StreamReader reader = process.StandardOutput)
{
while (!reader.EndOfStream)
{
reader.Read(buffer, 0, buffer.Length);
}
}
process.WaitForExit();
} -
Incorrect frame rate in video (Xuggler + MPEG 4 + H.264)
12 novembre 2014, par Vladislav BauerI have a problem with incorrect value of frame rate in output file, after converting. I made a really simple example to describe a problem :
public static void main(String[] args) {
// reader
IMediaReader reader = ToolFactory.makeReader("/tmp/1/i3.avi");
IMediaWriter writer = ToolFactory.makeWriter("/tmp/1/o3.mp4", reader);
reader.addListener(writer);
while (true) {
try {
final IError error = reader.readPacket();
if(error != null) {
System.err.println("Error decoding packet " + error.getDescription());
if (!reader.isOpen()) {
break;
}
}
} catch (final Exception ex) {
System.err.println("Error decoding packet " + ex.getMessage());
if (!reader.isOpen()) {
break;
}
}
}
}Any additional parameters for video or audio streams/codecs aren’t configured .
The input video file ("/tmp/1/i3.avi") has the following features :
- General
- Container : Audio Video Interleave (AVI)
- Video
- Dimensions : 624x352
- Codec : XVID MPEG-4
- Framerate : 24 frames per second
- Bitrate : N/A
- Audio :
- Codec : MPEG-1 Layer 3 (MP3)
- Channels : Stereo
- Sample rate : 48000 Hz
- Bitrate : 112 kbps
The output video file ("/tmp/1/o3.avi") has the following features :
- General
- Container : Quicktime
- Video
- Dimensions : 624x352
- Codec : H.264
- Framerate : 8 frames per second
- Bitrate : 378 kbps
- Audio :
- Codec : MPEG-4 AAC
- Channels : Stereo
- Sample rate : 48000 Hz
- Bitrate : 127 kbps
So, the frame rate in output file is 8 instead of 24. How can I fix it ? Please, help me..
PS : I’ve already tried Xuggler H264 FPS encoding issue and few another solutions, it doesn’t help..
UPD : After a long war with Xugler I wrote my own pure-java interface to the avconv and it works fine for me : https://github.com/vbauer/avconv4java
- General