
Recherche avancée
Autres articles (42)
-
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (11246)
-
download part youtube video with ffmpeg ?
1er août 2020, par testoflowI can't get this right

ffmpeg works well so can you help me ?

#I can't get this right


#!/bin/bash
var=$(xclip -o)

if [ -z $var ]; then 
 echo 'copia url a descargar al portapapeles' 
fi 

printf "(1) download part of video without audio\n"
printf "(2) download part of audio\n"
echo
echo -n 'opcion: '
read opcion
case $opcion in
 "1") c=$(youtube-dl -g $var | awk '{ if(NR==1) print $0 }' | sed 's/^/"/;s/$/"/') && echo -n 'start time: ' && read segundos && echo -n 'duration: ' && read duration && ffmpeg -i $c -ss $segundos -t $duration probe.mp4;; 
 "2") b=$(youtube-dl -g $var | awk '{ if(NR==2) print $0 }' | sed 's/^/"/;s/$/"/') && echo $b && ffmpeg -ss 0 -i $b -t 10 probe.mp3;; 
esac 



-
ffmpeg extracts only part of 1 audio stream from .ts file
6 juillet 2020, par ShakalakahHere is what
ffprobe input.ts
shows :

libavutil 56. 55.100 / 56. 55.100
 libavcodec 58. 93.100 / 58. 93.100
 libavformat 58. 47.100 / 58. 47.100
 libavdevice 58. 11.100 / 58. 11.100
 libavfilter 7. 86.100 / 7. 86.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mpegts, from 'D:\Downloads\TEST\audio.ts':
 Duration: 02:22:29.67, start: 0.000000, bitrate: 51 kb/s
 Program 1
 Stream #0:0[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 83 kb/s



So the length of .ts file is 2h:22m:29.67s and looks like it contains only audio (AAC) : when i open it in Windows Media Player i can jump to any position within the 2h:22m range and hear sound playing, and there is no video on the screen. This makes me think the extracted audio will also be of 2h:22m length, but i get only a 51m:14s file.
I tried the following commands :
1)
ffmpeg -i input.ts -vn -acodec copy outputaudio.aac
2)
ffmpeg -i input.ts -map 0:v -map 0:a -c copy outputaudio.aac
(as far as i understood this is "extract ALL audiotracks" command)3)
ffmpeg -i input.ts -ss 00:00:00 -t 02:22:29.6 -q:a 0 -map a outputaudio.aac
(to force extraction to the full length, i.e. 2h:22m)4)
ffmpeg -i input.ts -map 0:a outputaudio.aac -map 0:v outputonlyvideo.avi
(i heard this is an alternative way to force extraction of full-length audio through simultaneous extraction of video. Though looks like my .ts has no video, i decided to try this command too and got an error message : Stream map '0:v' matches no streams)What am i doing wrong ? Which alternative commands can i try ?
Is it possible, that the real length of audio stream is 51m:14s only ? But why i can listen to all 2h:22m length in Windows Media Player - could 51m:14s piece be somehow looped inside .ts to create an impression of 2h:22m length ?


-
FFmpeg concat filter part 2
16 juin 2020, par Narek AydinyanI have videos. The video files have a different count of video tracks.



video1 = 1 video stream + 1 audio stream.



video2 = 2 video stream + 1 audio stream.



The output result should be
2(concatenated) video streams, 1 audio stream.



The same issue for the Audio case solved in my previous question(FFmpeg concat filter).
Also, I want to mark that I need to generate a video track with custom size.
For example, I can do this with
color
filter but this filter has fixed image sizes(https://ffmpeg.org/ffmpeg-utils.html#toc-Color) 
Thanks in advance