
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (60)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 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, parMediaSPIP 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 (...)
Sur d’autres sites (14530)
-
Ffmpeg hangs while transcoding HDHomerun Prime on channel change
23 octobre 2017, par devo1929I’m using ffmpeg to transcode a live stream from a HDHomerun Prime. Everything is working beautifully. However, one ability that I would like, if possible, is the ability to change the channel on the HDHomerun without having to stop and restart the ffmpeg transcoding process.
I start the ffmpeg process to begin reading the UDP feed from the HDHomerun. It writes the stream to a series of *.ts files with a m3u8 playlist.
The second I use
hdhomerun_config
to change the channel on the device, ffmpeg immediately reports the following and hangs :[mpegts @ 0000018b4e05be60] New video stream 0:3 at pos:295211888 and DTS:40884.7s=108 drop=0 speed=1.02x
[mpegts @ 0000018b4e05be60] New audio stream 0:5 at pos:295279568 and DTS:40884.4s
frame= 4488 fps= 29 q=23.0 q=27.0 q=23.0 size=N/A time=00:02:28.94 bitrate=N/A dup=108 drop=0 speed=0.959xThe command I am using to launch ffmpeg is :
ffmpeg.exe -t 03:00:00 -i "udp://192.168.1.150:5000?fifo_size=1000000&overrun_nonfatal=1" -vf yadif=0:-1:1 -y -threads 4 -c:v libx264 -s 1280x720 -r 30 -b:v 4500k -force_key_frames expr:gte(t,n_forced*2) -profile:v high -preset fast -x264opts level=41 -c:a libfdk_aac -b:a 96k -ac 2 -hls_time 10 -hls_list_size 6 -hls_wrap 6 -hls_base_url /stream/ -hls_flags temp_file -hls_playlist_type event "C:\temp\streams\4500-stream.m3u8"
Is there a specific command that I can pass to allow ffmpeg to "recover" from this ? Or, is there an arg that prevents this hang in the first place ? I’m using the latest version v3.4 of ffmpeg cross-compiled for Windows from Ubuntu. The issue also occurred using the stable version v3.4 of ffmpeg for Windows from ffmpeg.org.
Edit :
A new discovery to the issue, but still not yet resolved :
If I change to the channel BACK to the original channel, Ffmpeg is able to continue writing the stream.Example : I start on channel X. Ffmpeg is recording to a file. I change to channel Y. Ffmpeg outputs a message similar to the one posted above and "hangs." I change back to channel X and ffmpeg picks up where it left off, no problem.
-
GStreamer x264 on Linux (ARM)
8 septembre 2017, par Tõnu SamuelTrying to get streaming work with x264 encoding.
I am doing some black magic with stitching two images which is known to work :
gst-launch-1.0 -e \
v4l2src device=/dev/video0 ! \
video/x-raw,framerate=90/1,width=640,height=480 ! m.sink_0 \
v4l2src device=/dev/video1 ! \
video/x-raw,framerate=90/1,width=640,height=480 ! m.sink_1 \
videomixer name=m sink_1::xpos=640 ! \
video/x-raw,framerate=90/1,width=1280,height=480 ! \
xvimagesinkNow I am trying to get same thing over x264 stream with help of internet :
gst-launch-1.0 -e \
v4l2src device=/dev/video0 ! \
video/x-raw,framerate=90/1,width=640,height=480 ! m.sink_0 \
v4l2src device=/dev/video1 ! \
video/x-raw,framerate=90/1,width=640,height=480 ! m.sink_1 \
videomixer name=m sink_1::xpos=640 ! \
video/x-raw,framerate=90/1,width=1280,height=480 ! \
x264enc tune=zerolatency byte-stream=true bitrate=3000 threads=2 ! \
h264parse config-interval=1 ! \
rtph264pay ! \
udpsink host=127.0.0.1 port=5000And seems to work because no errors appear. But I see no way to receive image.
I have tried
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp ! rtph264depay ! h264parse ! avdec_h264 ! xvimagesink
which does not provide anything useful. Also attempted to use VLC with SDP file :
c=IN IP4 127.0.0.1
m=video 5000 RTP/AVP 96
a=rtpmap:96 H264/3000I must be doing something wrong but unsure what.
EDIT : Question about version of GStreamer. Probably this is information needed :
ubuntu@tegra-ubuntu:~$ gst-launch-1.0 --version
gst-launch-1.0 version 1.2.4
GStreamer 1.2.4
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0
ubuntu@tegra-ubuntu:~$
$ dpkg -l | grep gstreamer
ii gir1.2-gstreamer-1.0 1.2.4-0ubuntu1.1 armhf Description: GObject introspection data for the GStreamer library
ii gstreamer-tools 0.10.36-1.2ubuntu3 armhf Tools for use with GStreamer
ii gstreamer0.10-alsa:armhf 0.10.36-1.1ubuntu2 armhf GStreamer plugin for ALSA
ii gstreamer0.10-fluendo-mp3:armhf 0.10.23.debian-3 armhf Fluendo mp3 decoder GStreamer 0.10 plugin
ii gstreamer0.10-nice:armhf 0.1.4-1 armhf ICE library (GStreamer 0.10 plugin)
ii gstreamer0.10-plugins-bad:armhf 0.10.23-7.2ubuntu1.3 armhf GStreamer plugins from the "bad" set
ii gstreamer0.10-plugins-bad-multiverse 0.10.21-1ubuntu3 armhf GStreamer plugins from the "bad" set (Multiverse Variant)
ii gstreamer0.10-plugins-base:armhf 0.10.36-1.1ubuntu2 armhf GStreamer plugins from the "base" set
ii gstreamer0.10-plugins-base-apps 0.10.36-1.1ubuntu2 armhf GStreamer helper programs from the "base" set
ii gstreamer0.10-plugins-good:armhf 0.10.31-3+nmu1ubuntu5.2 armhf GStreamer plugins from the "good" set
ii gstreamer0.10-plugins-ugly:armhf 0.10.19-2ubuntu5 armhf GStreamer plugins from the "ugly" set
ii gstreamer0.10-pulseaudio:armhf 0.10.31-3+nmu1ubuntu5.2 armhf GStreamer plugin for PulseAudio
ii gstreamer0.10-tools 0.10.36-1.2ubuntu3 armhf Tools for use with GStreamer
ii gstreamer0.10-x:armhf 0.10.36-1.1ubuntu2 armhf GStreamer plugins for X11 and Pango
ii gstreamer1.0-alsa:armhf 1.2.4-1~ubuntu2 armhf GStreamer plugin for ALSA
ii gstreamer1.0-clutter 2.0.8-1build1 armhf Clutter PLugin for GStreamer 1.0
ii gstreamer1.0-fluendo-mp3:armhf 0.10.23.debian-3 armhf Fluendo mp3 decoder GStreamer 1.0 plugin
ii gstreamer1.0-libav:armhf 1.2.4-1~ubuntu1 armhf libav plugin for GStreamer
ii gstreamer1.0-nice:armhf 0.1.4-1 armhf ICE library (GStreamer plugin)
ii gstreamer1.0-plugins-bad:armhf 1.2.4-1~ubuntu1.1 armhf GStreamer plugins from the "bad" set
ii gstreamer1.0-plugins-bad-faad:armhf 1.2.4-1~ubuntu1.1 armhf GStreamer faad plugin from the "bad" set
ii gstreamer1.0-plugins-bad-videoparsers:armhf 1.2.4-1~ubuntu1.1 armhf GStreamer videoparsers plugin from the "bad" set
ii gstreamer1.0-plugins-base:armhf 1.2.4-1~ubuntu2 armhf GStreamer plugins from the "base" set
ii gstreamer1.0-plugins-base-apps 1.2.4-1~ubuntu2 armhf GStreamer helper programs from the "base" set
ii gstreamer1.0-plugins-good:armhf 1.2.4-1~ubuntu1.3 armhf GStreamer plugins from the "good" set
ii gstreamer1.0-plugins-ugly:armhf 1.2.3-2build1 armhf GStreamer plugins from the "ugly" set
ii gstreamer1.0-pulseaudio:armhf 1.2.4-1~ubuntu1.3 armhf GStreamer plugin for PulseAudio
ii gstreamer1.0-tools 1.2.4-0ubuntu1.1 armhf Tools for use with GStreamer
ii gstreamer1.0-x:armhf 1.2.4-1~ubuntu2 armhf GStreamer plugins for X11 and Pango
ii libgstreamer-plugins-bad0.10-0:armhf 0.10.23-7.2ubuntu1.3 armhf GStreamer shared libraries from the "bad" set
ii libgstreamer-plugins-bad1.0-0:armhf 1.2.4-1~ubuntu1.1 armhf GStreamer development files for libraries from the "bad" set
ii libgstreamer-plugins-base0.10-0:armhf 0.10.36-1.1ubuntu2 armhf GStreamer libraries from the "base" set
ii libgstreamer-plugins-base1.0-0:armhf 1.2.4-1~ubuntu2 armhf GStreamer libraries from the "base" set
ii libgstreamer-plugins-good1.0-0:armhf 1.2.4-1~ubuntu1.3 armhf GStreamer development files for libraries from the "good" set
ii libgstreamer0.10-0:armhf 0.10.36-1.2ubuntu3 armhf Core GStreamer libraries and elements
ii libgstreamer1.0-0:armhf 1.2.4-0ubuntu1.1 armhf Core GStreamer libraries and elements
$ -
FFplay : WASAPI can't initialize audio client (FFmpeg 3.4 binaries)
9 juillet 2022, par fveI am trying to playback a stream that is multicasted over RTP using ffplay on Windows 7 64 bits.
The computer that serves the audio over RTP runs :



ffmpeg -re -f dshow -audio_buffer_size 15 -ac 1 -i audio="Mic in at front Mic-in (Realtek" -ar 8k -acodec pcm_alaw -vn -f rtp rtp://127.0.0.1:5000




The client runs :



ffplay rtp://127.0.0.1:5000




While this was working correctly in release 3.3, release 3.4 fails with this error :



SDL_OpenAudio (1 channels, 8000 Hz): WASAPI can't initialize audio client: CoInitialize has not been called.

No more combinations to try, audio open failed
Failed to open file 'rtp://127.0.0.1:5000' or configure filtergraph




Anyone has an idea of whats going on ?



Thanks



UPDATE #1 :



A workaround is to specify an alternate output driver.
Set SDL_AUDIODRIVER environment variable value to the driver you want to use.
Under windows 7, directsound and winmm both solved my issue.