Recherche avancée

Médias (91)

Autres articles (86)

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

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (5854)

  • What are supported ffmpeg rtp_mpegts Muxer options ? (mpegts Muxer options are ignored)

    7 mars 2020, par drake7

    I created a UDP stream with -f mpegts and some options like -mpegts_transport_stream_id.

    I received the stream with "StreamXpert - Real-time stream analyzer" that shows all options are in the output. See my ffmpeg parameters and the StreamXpert at the end.

    The same Muxer options seem to be ignored with -f rtp_mpegts.

    I have tried to use -f mpegts and pipe it to -f rtp_mpegts like so :

    ffmpeg -i ... -f mpegts pipe: | ffmpeg pipe: -c copy -f rtp_mpegts "rtp://239.1.1.9:1234?pkt_size=1316"

    The options are still ignored.

    This ticket "support options for MPEGTS muxer when using RTP_MPEGTS" also notices the ignored option. Furthermore in this comment, "thovo" gives an analysis and suggests a solution.

    Obviously the problem still exists. Anybody found a workaround for this ?

    My additional question : I have not questioned if my project really needs rtp in the first place. Maybe my coworker didn’t know better and requested rtp when udp would be sufficient as well.

    The aim was to receive the RTP stream with a TV using DVB via IP. This was successful an a Panasonic TV.

    The SAT>IP Specification on page 10 requires rtp for Media Transport :

    The SAT>IP protocol makes use of :

    • UPnP for Addressing, Discovery and Description,
    • RTSP or HTTP for Control,
    • RTP or HTTP for Media Transport.

    Is udp out of the equation ?


    ffmpeg : (all options are in the output with -f mpegts)

    (HEX to decimal : 0x005A = 90, 0x005B = 91 0x005C = 92, 0x005D = 93, 0x005E= 94)

    ffmpeg -f lavfi -i testsrc \
    -r 25 \
    -c:v libx264 \
    -pix_fmt yuv420p \
    -profile:v main -level 3.1 \
    -preset veryfast \
    -vf scale=1280:720,setdar=dar=16/9 \
    -an \
    -bsf:v h264_mp4toannexb \
    -flush_packets 0 \
    -b:v 4M \
    -muxrate 8M \
    -pcr_period 20 \
    -pat_period 0.10 \
    -sdt_period 0.25 \
    -metadata:s:a:0 language=nya \
    -mpegts_flags +pat_pmt_at_frames \
    -mpegts_transport_stream_id 0x005A \
    -mpegts_original_network_id 0x005B \
    -mpegts_service_id 0x005C \
    -mpegts_pmt_start_pid 0x005D \
    -mpegts_start_pid 0x005E \
    -mpegts_service_type advanced_codec_digital_hdtv \
    -metadata service_provider='WI' \
    -metadata service_name='W' \
    -mpegts_flags system_b -flush_packets 0 \
    -f mpegts "udp://239.1.1.10:1234?pkt_size=1316"

    StreamXpert Output :

    -mpegts_transport_stream_id = Transport Stream ID (yellow text highlight)

    -mpegts_original_network_id = Original Network ID, onw (green text highlight)

    -mpegts_service_id = Program, service (pink text highlight)

    -mpegts_pmt_start_pid = PMT PID, Table PID (turquoise text highlight)

    -mpegts_start_pid = PID, PCR PID (red text highlight)

    -mpegts_service_type = service type (blue text)

    service_name = Service name (orange text)

    service_provider = Service provider (pink text)

    enter image description here

  • VLC/ffplay can't read some audiotracks created by ffmpeg

    19 juin 2021, par skanarr

    I have two different .mkv files of the same movie. One contains the English, German, Italian, Spanish and French audio and subtitle tracks, the other contains Japanese Audio and Subtitle tracks. Since I want to have all tracks in one file I tried to 'merge' them using :

    


    $ ffmpeg -i "Assassin's Creed (2016).mkv" -i "./Other/Assassin's Creed_t13.mkv" -map 0:v -map 0:a -map 1:a:2 -map 0:s -map 1:s:1 -map 1:s:2 -map 1:s:3 -c:v copy -c:s copy -c:a copy tmp2.mkv


    


    Full Command Output from ffmpeg

    


    However playing it in VLC none of the Tracks from ./Other/Assassin's Creed_t13.mkv are working properly.
There are short periods where there is audio and then it is gone again for some minutes.
Also tmp2.mkv freezes at 4:44 and freezes VLC for some time, before only audio continues top play.
Looking under Messages this is what I got : All Message from VLC
(Messages were set to display warnings and errors)

    


    I don't know what I did wrong. The Japanese tracks are working in ./Other/Assassin's Creed_t13.mkv.
The all non-japanese Tracks are still working in tmp2.mkv.
Also there are working Tracks with the same codecs on tmp2.mkv (dts) as well as subtitles (pgs).

    


    I then tried playing it with ffplay and got the same result.
Whenever i switched the audiotrack to stream 7 (the japanese audio)
It said non A-V: non in the little progress bar instead of the usual numbers.

    


  • I am phasing a issue of " ffmpeg attribute 'error'" in my project which is a voice command assistant using GPT 3.5 Turbo and BING API [closed]

    2 mai 2023, par Rudraksh Singh Bhadauria

    I ma working on a pyhton project as want to make a program which can work as fluent as GPT and can also adapt latest news through BING API but after trying a lot I am stuck with a issue where "Error transcribing audio : module 'ffmpeg' has no attribute 'Error'" I have tried installing these ffmpeg files again and again in the way already mentioned in stack overflow but for me its not working.

    


    I have tried using :
installing ffmpeg-pyhton in my terminal and also ffmpeg module and also I have reinstalled the whole files and also have put them in my environment variables.
If anyone could help me to sort this problem out then it will be great help.