Recherche avancée

Médias (91)

Autres articles (37)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Use, discuss, criticize

    13 avril 2011, par

    Talk 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 (5646)

  • Copying GoPro metadata with ffmpeg - Could not find tag for codec none

    12 juin 2024, par TomMaier

    I am trying to use ffmpeg to copy the metadata of a gopro file.
The most basic demonstration of the problem would be to copy everything to a new file :

    


    ffmpeg -y -i source.MP4 -c copy -copy_unknown -map 0:v -map 0:a -map 0:2 -map 0:3 -map 0:4 -map_metadata 0 result.MP4


    


    This produces the error :

    


    Could not find tag for codec none in stream #2, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument
Error initializing output stream 0:4 --


    


    As I understand it this means that ffmpeg doesn't apply the -c copy operation correctly and instead complains that there is no encoder for the data streams. The same error happens for 0:2 and 0:4

    


    While searching on google if have found some people who have had the same issue in the past but I have also found some reports of it working.

    


    Any ideas what am I doing wrong or is this actually a bug ?

    


    Here is the ffprobe and the link to the GoPro file.

    


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'source.MP4':
  Metadata:
    major_brand     : mp41
    minor_version   : 538120216
    compatible_brands: mp41
    creation_time   : 2021-05-17T22:36:48.000000Z
    firmware        : HD7.01.01.90.00
  Duration: 00:00:02.88, start: 0.000000, bitrate: 58664 kb/s
  Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 58557 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 59.94 tbc (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro H.265
      vendor_id       : [0][0][0][0]
      encoder         : GoPro H.265 encoder
      timecode        : 02:43:36:15
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 187 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro AAC
      vendor_id       : [0][0][0][0]
      timecode        : 02:43:36:15
  Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro TCD
      timecode        : 02:43:36:15
  Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 30 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro MET
  Stream #0:4(eng): Data: none (fdsc / 0x63736466), 16 kb/s (default)
    Metadata:
      creation_time   : 2021-05-17T22:36:48.000000Z
      handler_name    : GoPro SOS
Unsupported codec with id 0 for input stream 2
Unsupported codec with id 100359 for input stream 3
Unsupported codec with id 0 for input stream 4


    


  • Opus Audio Codec in Linphone Android 2013 Version

    2 septembre 2015, par Redturbo

    I want to just enabled Opus Audio Codec in my VOIP application, I have try code from here : http://stackoverflow.com/questions/31635522/force-using-just-opus-codec-in-linphone-android/31652551#31652551

    I try to check findpayloadtype first :

    for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("PCMA", 8000, 1);
                   Log.d("LinphoneManager", "PayloadType PCMA : " + pt);
               }

               for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("PCMU", 8000, 1);
                   Log.d("LinphoneManager","PayloadType PCMU : "+pt);
               }

               for (PayloadType pt : mLc.getAudioCodecs()) {
                   pt = mLc.findPayloadType("OPUS", 8000, 1);
                   Log.d("LinphoneManager","PayloadType P : "+pt);

               }

    PCMA and PCMU show value in log :

    [PCMA] clock [8000], bitrate [64000]

    [PCMU] clock [8000], bitrate [64000]

    but OPUS show null value :

    null

    is that something wrong with my code to got OPUS audio codec, or something else ?

  • FFmpeg : Image sequence with ffv1 codec ?

    31 octobre 2014, par manu

    Is it possible to output an image sequence in ffmpeg using the ffv1 codec ?

    If so, in what container, how would I reimport these back into ffmpeg ?

    • movie containers seem not possible for seq output
    • i can force output -f image2 to any container, but import is not possible even with -c:v ffv1 as an input option.

    Encode of "intermediate.ffv1"

    ffmpeg -y -ss 250 -i "/media/pool/vrender_input/movie.mov" -vframes 1 -c:v ffv1 -compression_level none -map 0:0 -an -f image2 -threads 0 "/media/scratch/intermediate.ffv1"    

    Decode of "intermediate.ffv1"

    ffmpeg -y -c:v ffv1 -f image2 -i "/media/scratch/intermediate.ffv1" -c:v tiff -an -f image2 "/media/scratch/final.tif"

    Error :

    [image2 @ 0x2f85c80] Failed to open codec in av_find_stream_info
    [image2 @ 0x2f85c80] Could not find codec parameters for stream 0 (Video: ffv1, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    /media/scratch2/vrender_tmp/intermediate.ffv1: could not find codec parameters
    Input #0, image2, from '/media/scratch2/vrender_tmp/intermediate.ffv1':
    Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: ffv1, none, 25 tbr, 25 tbn, 25 tbc
    [buffer @ 0x2f7ce20] Unable to parse option value "0x0" as image size
    [buffer @ 0x2f7ce20] Unable to parse option value "-1" as pixel format
    [buffer @ 0x2f7ce20] Unable to parse option value "0x0" as image size
    [buffer @ 0x2f7ce20] Error setting option video_size to value 0x0.
    [graph 0 input from stream 0:0 @ 0x2f6cfc0] Error applying options to the filter.
    Error opening filters!

    Whats wrong ?

    Thank you !