
Recherche avancée
Médias (3)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
-
GetID3 - Boutons supplémentaires
9 avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (77)
-
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. -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (6207)
-
How to send AVPacket through a QTcpSocket.write() with all of its data ?
24 juin 2024, par CottonBudsI want to send an AVPacket though a QTcpSocket.write() I tried to cast the avpacket pointer to an char * but it only shows 8 bytes of the avpacket and without the avpacket.data.




here is my code


void DisplayStreamServer::sendDataToClient(AVPacket* packet) {
 if (client == nullptr) {
 return;
 }


 client->write((char*) packet);
 client->waitForBytesWritten();

 av_packet_unref(packet);
 av_packet_free(&packet);
}



I can see that my packet.data has data inside it using the visual studio memory viewer. but it seems like when i convert the packet to char * the data is not included




-
convert image stream received from ros subscribe topic straight to video with ffmpeg
20 mai 2021, par techyidiotWhat i want to do is generate a video file(mp4 or mkv format) with ffmpeg from the receiving frames simultaneously without saving images on storage. Attached below is my python ROS subscriber code.


import cv2
from cv_bridge import CvBridge
import rospy
from sensor_msgs.msg import Image
import numpy as np


def callback(data):
 # Used to convert between ROS and OpenCV images
 br = CvBridge()

 # Output debugging information to the terminal
 rospy.loginfo("receiving video frame")
 # Convert ROS Image message to OpenCV image
 current_frame = br.imgmsg_to_cv2(data)

 cv2.imshow("camera", current_frame)

 cv2.waitKey(1)


def listener():
 rospy.init_node("video_sub_py", anonymous=True)
 rospy.Subscriber("video_frames", Image, callback)

 rospy.spin()

 cv2.destroyAllWindows()


if __name__ == "__main__":
 listener()



-
mp4 And Rotation - Remove Flags But Set Rotation
7 avril 2024, par BudI'm having a hard time with the rotation on some mp4 files I have. It may well be my poor understanding, so forgive me if I set out what I know (or think I know) and then what I want to happen.


An mp4 has, obviously, a right way up - that is, the way you want it to show when you watch it. Call this the orientation. This isn't metadata - it's just the way you, as a person, want to see the image, with people's heads at the top of the screen and their feet at the bottom.


As part of the metadata, mp4 files have a value/parameter (I believe called 'rotate') that tells how much the mp4 needs to be rotated (0, 90, 180, 270 degrees) so that it is correctly oriented. This value/parameter is observed by some players and not by some others. So if I play my video using this player, all is good (because it observes the value/parameter) - but if I play it with that other player, everything is sideways (because it doesn't observe the value/parameter).


What I want to do is orient the mp4 correctly with the value/parameter set to 0, so that no matter what player plays it, it will always be played oriented correctly (because those players that observe the value/parameter will see it's 0 and do nothing). So I think what I need to do is somehow remove the value/parameter, then rotate the mp4 to the correct orientation without using the rotate value/parameter. I'm thinking of something like what FastStone Image Viewer can do with JPGs - rotate them losslessly without setting the rotate value.


I've used ffmpeg and believe that it removed the rotate value/parameter (or set it to 0) because after I used it, suddenly my video appeared sideways in Windows Explorer, where previously it had appeared right way up. But how do I now rotate it to the correct orientation without changing the rotate value/parameter ?


Sorry, this is very long winded and confused. Just like me.