Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (88)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 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 (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (6831)

  • 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)


    


  • Writing H.264 RTP stream data to a container file

    2 avril 2018, par Kamal

    In a call, I receive RTP packets (h264 payload). I am trying to depacketize it and write it to a container file like mkv or mp4 using ffmpeg. However the output file is not playing. I am following below steps, please let me know whats wrong here.

    1. Got RTP packet
    2. Removed RTP header 12 bytes
    3. Read one more byte and calculated F, NRI & Type value. Type value comes to 1 most of the time, sometime it is 5 also.
    4. Since type is in between 1 & 23, it is of type single NAL unit.
    5. Allocates a buffer say BUF.
    6. Writes first 3 byte as 0x00 0x00 0x01.
    7. Then copy from video payload + 1 offset (since we have read 1 byte as described in point #3) to BUF
    8. Use this BUF to prepare avpacket and write this to output file using AV_Write_* API of ffmpeg. This part I have done correctly as it works fine for me in case of vp8 codec.
    9. Get the output file.
    10. However this file is not playing in ffmpeg.

    Please let me know of my approach is correct.

    I have observed sometimes group of packets coming with marker bit as 0, with same RTP timestamp. Do I need to concatenate such group of packets and write as single NALU, or each packet I should write as single NALU to output file.

  • 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