Recherche avancée

Médias (29)

Mot : - Tags -/Musique

Autres articles (106)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (18926)

  • Feed raw data to ffmpeg from python

    27 octobre 2020, par eri

    I want to wrap h264 stream to mp4 container on fly. But ffmpeg exits after first buffer

    


    ffmpeg = subprocess.Popen("ffmpeg -f h264 -i pipe: -c copy -f mp4 -movflags frag_keyframe+empty_moov+faststart pipe:".split(), stdout=subprocess.PIPE, stdin=subprocess.PIPE)

fd = ffmpeg.stdout.fileno()
fl = fcntl.fcntl(fd, fcntl.F_GETFL)
fcntl.fcntl(fd, fcntl.F_SETFL, fl | os.O_NONBLOCK)

while True:
    data = infile.read(32768)
    ffmpeg.stdin.write(data)
    data = ffmpeg.stdout.read()
    outfile.write(data)


    


  • ffmpeg command not working with VANC data [closed]

    3 avril 2024, par Parmesh Kumawat

    when i am running below ffmpeg command

    


    ffmpeg -i "udp://ip:port?localaddr=ip&sources=ip&overrun_nonfatal=1&buffer_size=4000000&fifo_size=1000000" -c copy -map 0 -vsync passthrough -copyts vanc_stream1.ts

    


    the bin_data for VANC is changing/not recognized saving as below output

    


    Input #0, mpegts, from 'vanc_stream_ffmpeg.ts':                                                                                                                                                            
  Duration: N/A, bitrate: N/A                                                                        
  Program 1  
  Metadata:
      service_name    : Service01 
      service_provider: FFmpeg              
      Stream #0:0[0x100]: Data: bin_data ([6][0][0][0] / 0x0006) 
      Stream #0:1[0x101]: Data: bin_data ([6][0][0][0] / 0x0006)
      Stream #0:2[0x100]: Data: bin_data ([6][0][0][0] / 0x0006) 
      Stream #0:3[0x101]: Data: bin_data ([6][0][0][0] / 0x0006)


    


    It should be saved as

    


    Stream #0:0[0x100]: Data: bin_data ([6][0][0][0] / 0x0006) 
Stream #0:1[0x101]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream #0:2[0x100]: Data: bin_data (VANC / 0x434E4156) 
Stream #0:3[0x101]: Data: bin_data (VANC / 0x434E4156) 


    


    I have tried below tsp command to fetch the stream and it works fine

    


    tsp -I ip port --source ip -O file stream_capture1.ts


    


    i need the same output with ffmpeg command

    


  • Determining size of data[0] in AVFrame of FFMPEG

    27 mars 2015, par user2742299

    I am relatively new to FFMPEG andII am trying to allocate AVFrame->data[0] of a video frame to uint8_t* buffer using the following lines of code :

    size_t sizeOfFrameData = mpAVFrameInput->linesize[0] * mpAVFrameInput->height;

    memcpy(mFrameData, mpAVFrameInput->data[0], sizeOfFrameData);

    I would like to know if this is a correct way of copying frame data to uint8_t* variable in FFMPEG ?

    Thanks