Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (62)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The 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 (8479)

  • Conversion of H.264 media file to mp4

    2 juin 2016, par arceus

    I have a raw h264 file which I want to convert to mp4 format so that I can play them in any video player.But I am getting many errors when I use ffmpeg for this task.
    I have used the following command line to convert to mp4.

    ffmpeg -f h264 -i input.264 -vcodec output.mp4

    Below are the errors I get.

    missing picture in access unit with size 3273224
    no frame
    decoding for stream 0 failed
    could not find codec parameters for stream 0

    When I probe using ffprobe input.264 I get these errors.

    Missing picture in access unit with size 3273224
    No start code found
    Error splitting the input into NAL units
    decoding for stream 0 failed
    could not find codec parameters for stream 0

    I have checked other similar problems in this site but could not find the solution.I have added the file at http://s000.tinyupload.com/index.php?file_id=81246308569166574331

    Have a look at the video.

  • Parse dynamic mpd file with Media Source Extensions

    17 février 2023, par FrankC

    I just started learning about adaptive streaming, and currently I'm working on a project that needs showing a live video. In order to control some of the elements in mpd file, I determined to use MSE instead of dash.js. I refer to the code at the following URL :https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/samples/dn551368(v=vs.85)
But I found out that there is no "Initialization" tag or "range" attribute in my mpd file. I don't find any relative attribute as well. By the way I'm use nginx-rtmp + ffmpeg to generate dash file.
So here is my dash file looks like

    


    &lt;?xml version="1.0"?>&#xA; &#xA;  <period start="PT0S">&#xA;    &#xA;      &#xA;        &#xA;          <segmenttimeline>&#xA;             <s t="0" d="10000"></s>&#xA;             <s t="10000" d="10000"></s>&#xA;             <s t="20000" d="5000"></s>&#xA;             <s t="25000" d="10000"></s>&#xA;          </segmenttimeline>&#xA;        &#xA;      &#xA;    &#xA;  </period>&#xA;&#xA;

    &#xA;

    My question is :&#xA;1.Did I have any missing parameters in using ffmpeg or nginx-rtmp resulting in losting tag in mpd file ?&#xA;2.Or there is other way to setup "Initialization"/"range" attribute and let my program work ?&#xA;3.I also curious about why my mpd file doesn't have a baseURL element ?

    &#xA;

    ※My mpd file works fine with dash.js, I can see the video properly

    &#xA;

    THANKS A LOT

    &#xA;

  • Ffmpeg video output is 0 seconds with correct filesize when uploading to google cloud bucket

    22 août 2022, par Turgut

    I've made a C++ program that lives in gke and takes some videos as input using ffmpeg, then does something with that input using opengl(not relevant), then finally encodes those edited videos as a single output. Normally the program works perfectly fine on my local machine, it encodes just as I want it to with no warnings or valgrind errors whatsoever. Then, after encoding the said video, I want my program to upload that video to the google cloud storage. This is where the problem comes, I have tried 2 methods for this : First, I tried using curl to upload to the cloud using a signed url. Second, I tried mounting the google storage using gcsfuse(I was already mounting the bucket to access the inputs in question). Both of those methods yielded undefined, weird behaviour's ranging from : Outputing a 0byte or 44byte file, (This is the most common one :) encoding in the correct file size 500mb but the video is 0 seconds long, outputing a 0.4 second video or just encoding the desired output normally (really rare).

    &#xA;

    From the logs I can't see anything unusual, everything seems to work fine and ffmpeg does not give any errors or warnings, so does valgrind. Everything seems to work normally, even when I use curl to upload the video to the cloud the output is perfectly fine when it first encodes it (before sending it with curl) but the video gets messed up when curl uploads it to the cloud.

    &#xA;

    I'm using the muxing.c example of ffmpeg to encode my video with the only difference being :

    &#xA;

    void video_encoder::fill_yuv_image(AVFrame *frame, struct SwsContext *sws_context) {&#xA;    const int in_linesize[1] = { 4 * width };&#xA;    //uint8_t* dest[4] = { rgb_data, NULL, NULL, NULL };&#xA;    sws_context = sws_getContext(&#xA;            width, height, AV_PIX_FMT_RGBA,&#xA;            width, height, AV_PIX_FMT_YUV420P,&#xA;            SWS_BICUBIC, 0, 0, 0);&#xA;&#xA;    sws_scale(sws_context, (const uint8_t * const *)&amp;rgb_data, in_linesize, 0,&#xA;            height, frame->data, frame->linesize);&#xA;}&#xA;

    &#xA;

    rgb_data is the data I got after editing the inputs. Again, this works fine and I don't think there are any errors here.

    &#xA;

    I'm not sure where the error is and since the code is huge I can't provide a replicable example. I'm just looking for someone to point me to the right direction.

    &#xA;

    Running the cloud's output in mplayer wields this result (This is when the video is the right size but is 0 seconds long, the most common one.) :

    &#xA;

    MPlayer 1.4 (Debian), built with gcc-11 (C) 2000-2019 MPlayer Team&#xA;do_connect: could not connect to socket&#xA;connect: No such file or directory&#xA;Failed to open LIRC support. You will not be able to use your remote control.&#xA;&#xA;Playing /media/c36c2633-d4ee-4d37-825f-88ae54b86100.&#xA;libavformat version 58.76.100 (external)&#xA;libavformat file format detected.&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f2cba1168e0]moov atom not found&#xA;LAVF_header: av_open_input_stream() failed&#xA;libavformat file format detected.&#xA;[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f2cba1168e0]moov atom not found&#xA;LAVF_header: av_open_input_stream() failed&#xA;RAWDV file format detected.&#xA;VIDEO:  [DVSD]  720x480  24bpp  29.970 fps    0.0 kbps ( 0.0 kbyte/s)&#xA;X11 error: BadMatch (invalid parameter attributes)&#xA;Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory&#xA;[vdpau] Error when calling vdp_device_create_x11: 1&#xA;==========================================================================&#xA;Opening video decoder: [ffmpeg] FFmpeg&#x27;s libavcodec codec family&#xA;libavcodec version 58.134.100 (external)&#xA;[dvvideo @ 0x7f2cb987a380]Requested frame threading with a custom get_buffer2() implementation which is not marked as thread safe. This is not supported anymore, make your callback thread-safe.&#xA;Selected video codec: [ffdv] vfm: ffmpeg (FFmpeg DV)&#xA;==========================================================================&#xA;Load subtitles in /media/&#xA;==========================================================================&#xA;Opening audio decoder: [libdv] Raw DV Audio Decoder&#xA;Unknown/missing audio format -> no sound&#xA;ADecoder init failed :(&#xA;Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders&#xA;[dvaudio @ 0x7f2cb987a380]Decoder requires channel count but channels not set&#xA;Could not open codec.&#xA;ADecoder init failed :(&#xA;ADecoder init failed :(&#xA;Cannot find codec for audio format 0x56444152.&#xA;Audio: no sound&#xA;Starting playback...&#xA;[dvvideo @ 0x7f2cb987a380]could not find dv frame profile&#xA;Error while decoding frame!&#xA;[dvvideo @ 0x7f2cb987a380]could not find dv frame profile&#xA;Error while decoding frame!&#xA;V:   0.0   2/  2 ??% ??% ??,?% 0 0 &#xA;&#xA;&#xA;Exiting... (End of file)&#xA;&#xA;&#xA;

    &#xA;

    Edit : Since the code runs on a VM, I'm using xvfb-run ro start my application, but again even when using xvfb-run it works completely fine on when not encoding to the cloud.

    &#xA;