
Recherche avancée
Autres articles (44)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (4563)
-
FFmpeg : encoding a PCM audio file to AAC using AAC codec info from another file
7 septembre 2022, par Siddharth KumarI have two audio files :


- 

audio_0.wav
: PCM audioaudio_1.aac
: encoded audio using some parameters






I'm trying to achieve the following outcome with FFmpeg :


Create a new file
audio_2.aac
which contains audio fromaudio_0.wav
encoded using the codec parameters fromaudio_1.aac
.

If I run the following :

ffmpeg -i audio_0.wav -i audio_1.aac -c copy audio_2.aac
then I get streams from both muxed together.
I do not want content fromaudio1.aac
. Any pointers to solve this would be appreciated.

-
gst-launch commands for playing Audio files(.mp3) + Video Files(.mp4) and only video files without audio (.mp4)
1er novembre 2018, par Blesson ChackoI want to use gst-launch-1.0 for playing my media files but I am facing some issue in that.
Anyone has any idea or suggestion then plz help me to solve this issue.I have 3 types of media files with me -
-
Audio file (.mp3)
-
Video files (.mp4) (With Audio + video Data both)
-
Video files (.mp4) (Without Audio Data... only Video data)
When I use the following 3 different commands then I am able to play my above-mentioned files but I need a single command or only 2 commands through which I can play my above-mentioned files.
1)To Play Audio files (.mp3) I am using following cmd
gst-launch-1.0 filesrc location=/media/Storage/audio_stream_pipe ! decodebin ! audioconvert ! audiotrack audio-name=Testplayer &
2)To Play video files (.mp4) (with Audio + Video Data) i am using following cmd
gst-launch-1.0 filesrc location=/media/Storage/video_stream_pipe ! decodebin name=dec ! audioconvert ! audiotrack audio-name=Testplayer dec. ! videoconvert ! autovideosink &
3) To Play video files (.mp4) (without Audio Data) I am using following cmd
gst-launch-1.0 filesrc location=/media/Storage/video_stream_pipe ! decodebin ! videoconvert ! autovideosink &
With above 3 different commands, I am able to play my files but I need single command hence I tried below command using demux.
gst-launch-1.0 filesrc location=/media/Storage/video_stream_pipe ! qtdemux name=demuxer demuxer. ! queue ! decodebin ! videoconvert ! autovideosink demuxer. ! queue ! decodebin ! audioconvert ! audiotrack audio-name=Testplayer &
In above command when I give any .mp4 files with Audio + Video Data then it works fine but when I give any .mp3 file which has no video data or any .mp4 files which has no audio data then it gives error -
"
ERROR : from element /GstPipeline:pipeline0/GstQTDemux:demuxer : This file contains no playable streams.
Additional debug info :
qtdemux.c(653) : gst_qtdemux_post_no_playable_stream_error () : /GstPipeline:pipeline0/GstQTDemux:demuxer :
no known streams found
ERROR : pipeline doesn’t want to preroll.
Setting pipeline to NULL ...
"As per my understanding if any component(i.e.Audio or video data) is missing then it gives the error but if the media file has both the component then it works fine...
so my question is -
-
How can I solve this issue ?
-
What changes are needed to make all the 3 different files works using
single command ? -
How can we identify if any component is missing in media files and
avoid this issue ? -
how can I check the ’queue’ element output which we are using in above
command after demux to identify if any component is missing ?
As I am using a target board, there are limited GStreamer elements available. (alsasink, xvimagesink, ximagesink, pulsesink, faad, mad are not available)
Any Help or suggestion will be really helpful.
Thanks,
Blesson -
-
Connecting IP Camera with YouTube using FFMPEG
19 novembre 2022, par vcimaI´m trying to connect my ip camera with Youtube using ffmpeg to convert the stream from RTSP to RTMP.


rtsp_url="rtsp://xxxxxx"
rtmp_url="rtmp://xxxxxx"

ffmpeg -rtsp_transport tcp -i $rtsp_url -tune zerolatency -vcodec libx264 -pix_fmt + -c:v copy -c:a aac -strict experimental -f flv $rtmp_url



This works fine, but I have several problems that I don't know how to solve.


- 

-
Sometimes, for different reasons, I lose the connection with the camera : stoppage during the night, coverage problems... and I don't want the process disconnect from Youtube. How could I do it ? Could I put a default image while there is no connection to the camera ?


-
The last question would be. How can I guarantee that the Youtube player id associated with the process is always the same. It is quite inconvenient to have to update the player every time there is a connection problem.








Regards


-