
Recherche avancée
Autres articles (35)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (6589)
-
Why am I getting FFMPEG "cannot set sample format 0x10000 2 (Invalid argument)" error ? [duplicate]
30 mars 2020, par EmbeddedI’m trying to stream audio input from Seeed Studio 4-Mic-Array Respeaker on desired IP address and port on Raspberry Pi 4.
Command that I’m using is :
ffmpeg -re -f alsa -i hw:1,0 -ac 4 -ar 16000 -f rtp rtp://10.0.0.1:1234
Error I’m getting is :
cannot set sample format 0x10000 2 (Invalid argument)
Result from
arecord --dump-hw-params -D hw:1,0
command is :Recording WAVE 'stdin' : Unsigned 8 bit, Rate 8000 Hz, Mono
HW Params of device "hw:1,0":
--------------------
ACCESS: MMAP_INTERLEAVED RW_INTERLEAVED
FORMAT: S32_LE
SUBFORMAT: STD
SAMPLE_BITS: 32
FRAME_BITS: 128
CHANNELS: 4
RATE: [8000 48000]
PERIOD_TIME: (333 2048000]
PERIOD_SIZE: [16 16384]
PERIOD_BYTES: [256 262144]
PERIODS: [2 2048]
BUFFER_TIME: (666 4096000]
BUFFER_SIZE: [32 32768]
BUFFER_BYTES: [512 524288]
TICK_TIME: ALL
--------------------
arecord: set_params:1299: Sample format non available
Available formats:
- S32_LE -
FFMPEG hls event start always from first segment on Android device
29 juillet 2020, par tidpeI've this live streaming server that encode RTMP stream into HLS.
My server is doing something like that :


ffmpeg -re -i rtmp://server:port/address/name -rw_timeout 500 -http_persistent 1 -method PUT -http_user_agent myuseragent -f hls -hls_list_size 5 -hls_flags discont_start+delete_segments+omit_endlist -async 1 -vf "scale=640:trunc(ow/a/2)*2" -movflags +faststart -c:a libfdk_aac -ar 48000 -c:v h264 -profile:v main -crf 24 -sc_threshold 0 -g 48 -keyint_min 48 -hls_time 4 -hls_playlist_type event -preset veryfast -b:v 350k -maxrate 800k -bufsize 1100k -b:a 96k -vcodec libx264 -hls_segment_filename %03d.ts master.m3u8



On desktop all working fine, problem is that on android devices/android native players the live streaming is starting always from begin.


I'm trying to remove segments from playlist, but nothing can work and playlist is starting always from first TS segment.


What I've tried




-hls_list_size 5






-hls_flags delete_segments






-hls_delete_threshold 2




-
how to use the pts in ffmpeg
2 décembre 2016, par AllanI have a library with can provide video data and PTS. The library head file Like this:
/**
* \brief Write mirror video H.264 frame to player.
* \param p_src Pointer to source buffer.
* \param size H.264 frame size. (unit: byte)
* \param ptsValue PTS value.
* \return Copied size. (unit: byte)
*/
int (*WriteMirrorVideoData)(const std::string& ip, const void *p_src, int size, double ptsValue);As you see, the library give me video frame buffer address and PTS.
I use FFMpeg to decode video data correctly.
My question is how to control the display time by ptsValue which provided by library.
Did I need to set the ptsValue to AVFrame ? then FFMPeg can control the display time itself.
Or I need to control the display by my own code ?I am a newer to FFMpeg. please help me. Thank you very much !