
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (43)
-
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 (...)
-
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 (...) -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users.
Sur d’autres sites (7714)
-
TypeError at /api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/ 'module' object is not callable
16 avril 2023, par OlyxPlease help me, I'm writing a patch request that should change the video resolution, but I can't get the file back from celery
views.py


def patch(self, request, id = None):
 file = File.objects.get(id = id)
 width = request.data.get('width')
 height = request.data.get('height')
 file.width = width
 file.height = height 
 
 file.video = change_video_extension.delay(file.video.path, width, height).get()
 file.save()
 return Response({'width':width, 'height':height})



tasks.py


import os
from demo.celery import app

@app.task(name = "change_video_extension")
def change_video_extension(input_file, width, height):
 output_file = "abc123.mp4"
 os.system(f"ffmpeg -i {input_file} -s {width}x{height} {output_file}")
 return output_file



TypeError


TypeError at /api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/
'module' object is not callable
Request Method : PATCH
Request URL : http://127.0.0.1:8000/api/v1/file/86370b91-8e25-4833-bbc6-a4b833363893/
Django Version : 4.2
Exception Type : TypeError
Exception Value :

'module' object is not callable

-
AttributeError : module 'ffmpeg' has no attribute 'load'
23 avril 2023, par az-purplepenI'm having difficulty with ffmpeg. I've installed it properly (I think) but still get AttributeErrors.


I used the online guide (https://ffmpeg.org/download.html), and doing
pip install ffmpeg-python
instead ofpip install ffmpeg
. I've verified the installation withpip show
. I've also made sure to not name my filesffmpeg.py
.

However, when I try running the following commands in terminal, I get an Attribute Error. Any tips ? I've seen this question pop up before, but none of the tips have worked.


>>> import ffmpeg
>>> ffmpeg.load('cover.wav')
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
AttributeError: module 'ffmpeg' has no attribute 'load
</module></stdin>


-
How to use the QMediaPlayer module to connect to a rtsp stream ?
19 juin 2023, par DanielaI'm creating an RTSP stream using FFmpeg :


ffmpeg -f gdigrab -framerate 30 -probesize 100M -i title="" -c:v libx264 -preset veryfast -maxrate 1000k -bufsize 1000k -pix_fmt yuv420p -g 50 -c:a aac -b:a 128k -f rtsp -rtsp_transport udp rtsp://...129:8554/stream



and trying to connect to it using the Qt module
QMediaPlayer
.

It stuck for many seconds when it read the line

player->setSource(QUrl("rtsp://....129:8554/stream"));


and then debug this message :


qt.multimedia.ffmpeg.mediadataholder: AVStream duration -9223372036854775808 is invalid. Taking it from the metadata



Also,
connect(player, &QMediaPlayer::errorOccurred
print :

Error: "Invalid argument"


class MediaPlayer : public QObject
{
 Q_OBJECT
public:
 MediaPlayer (QObject* parent = nullptr) : QObject(parent)
 {
 player = new QMediaPlayer;
 player->setSource(QUrl("rtsp://....129:8554/stream"));
 connect(player, &QMediaPlayer::errorOccurred, this, [this](QMediaPlayer::Error error, const QString& errorString)
 {
 qDebug() << "Error:" << errorString;
 });

 videoWidget = new QVideoWidget;
 player->setVideoOutput(videoWidget);

 videoWidget->show();
 player->play();
 }

private:
 QMediaPlayer* player;
 QVideoWidget* videoWidget;
};



Testing the exactly same
streamUrl
onvlc
does work correctly.
I'm using Qt 6.6, and Win10. ffmpeg 6.0

How I could debug this ?