
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (54)
-
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 -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (9672)
-
Revision 29744 : Update de la base de donnée
8 juillet 2009, par kent1@… — LogUpdate de la base de donnée
-
ffmpeg concat demuxer dropping audio after first clip
6 septembre 2020, par marcmanI'm trying to concatenate a video collection that all should be the same type and format. It seems to work like expected when the original sources are the same type, but when they're different types the demuxer drops audio. I understand that the demux requires all inputs to have the same codecs, but I believe I am doing that already.


This is my workflow (pseudocode with Python-like for loop) :


for i, video in enumerate(all_videos):
 # Call command for transcoding and filtering
 # I allow this command to be called on mp4, mov, and avi files
 # The point of this filter is:
 # (1) to superimpose a timestamp on the bottom right of the video
 # (2) to scale and pad the videos to a common output resolution (the specific numbers below are just copied from a video I ran, but they are filled in automatically for each given video by the rest of my script)
 # (3) To transcode all videos to the same common format
 ffmpeg \
 -y \
 -loglevel quiet \
 -stats \
 -i video_<i>.{mp4, mov, avi} \
 -vcodec libx264 \
 -acodec aac \
 -vf "scale=607:1080, pad=width=1920:height=1080:x=656:y=0:color=black, drawtext=expansion=strftime: basetime=$(date +%s -d'2020-08-27 16:42:26')000000 : fontcolor=white : text='%^b %d, %Y%n%l\\:%M%p' : fontsize=36 : y=1080-4*lh : x=1263-text_w-2*max_glyph_w" \
 tmpdir/video_<i>.mp4


# create file_list.txt, e.g.
#
# file '/abspath/to/tmpdir/video_1.mp4'
# file '/abspath/to/tmpdir/video_2.mp4'
# file '/abspath/to/tmpdir/video_3.mp4'
# ...


ffmpeg \
 -f concat \
 -safe 0 \
 -i file_list.txt \
 -c copy \
 all_videos.mp4
</i></i>


In my test case, my inputs are 3 videos in this order :


- 

- a camcorder video output in H.264+aac in a mp4
- an iphone video in mov format
- an iphone video in mp4 format








When I review each of the intermediate mp4-transcoded videos in
tmpdir
they all playback audio and video just fine and the filtering works as expected. However, when I review the final concatenated output, only the first clip (the camcorder video) has sound. When all the videos are from the camcorder, there is no audio issue—they all have sound.

When I output ffmpeg warnings and errors, the only thing that shows up is an expected warning about the timestamp :


[mp4 @ 0x55997ce85300] Non-monotonous DTS in output stream 0:1; previous: 5909504, current: 5430298; changing to 5909505. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55997ce85300] Non-monotonous DTS in output stream 0:1; previous: 5909505, current: 5431322; changing to 5909506. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55997ce85300] Non-monotonous DTS in output stream 0:1; previous: 5909506, current: 5432346; changing to 5909507. This may result in incorrect timestamps in the output file.
[mp4 @ 0x55997ce85300] Non-monotonous DTS in output stream 0:1; previous: 5909507, current: 5433370; changing to 5909508. This may result in incorrect timestamps in the output file.
...



What might I be doing wrong here ? I'm testing in both the Ubuntu 20.04 "Videos" applications as well as VLC Player and both demonstrate the same problem. I'd prefer to use the demuxer if possible for speed as re-encoding during concatenation is quite expensive.


NOTE : This is a different issue than laid out here, in which some of the videos had no audio. In my case, all videos have both video and audio.


-
no such file or directory in ffmpeg when trying to convert mkv to mp3
1er août 2018, par Kreation$in_path = "H:\Music\Spotify Music conversion\conversion 2018";
$out_path = "H:\Music\Spotify Music conversion\conversion 2018";
for /R %f IN (*.mkv) DO ffmpeg -i $in_path -c $out_path\%~nf.mp3this script is supposed to convert all the mkv files in the input path to mp3, however when I try and run it, I get :
$in_path: No such file or directory