
Recherche avancée
Autres articles (88)
-
Configuration spécifique pour PHP5
4 février 2011, parPHP5 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 (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Installation en mode standalone
4 février 2011, parL’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
[mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)
Sur d’autres sites (5470)
-
Combining Video and Audio of different length in bulk
27 avril 2017, par user2981223I am going through a tv series right now and editing the files to be to my liking. I have one set which has the video I want and one set that has the audio. I have a batch file that I can run that takes the video from every file in folder "A" and the audio from every file in folder "B" and outputs it to a folder named "output." But with this particular series, that is only half of what I need done.
At the end of every episode of the files in the "B" folder there are some extra things. What I would like to do is take the audio and video from "A" and the audio from "B", combine it all into one file and also take the "A" and "B" files, compare the time stamps, and add the extra video from "B" to the output file.
Let me put it another way. Let’s say "A" is 1080p with Japanese audio and is 20 minutes long. Let’s say "B" is 720p with English audio and is 23 minutes long. I want the whole 1080p video with both audio tracks, plus the 720p video spliced onto the end. Both files start at the same spot so syncing isn’t an issue. The issue is that the difference in time is different for every episode. So some episodes are 3 minutes longer, some only 30 seconds. Is there a way to make ffmpeg or another tool look at the difference in times and just add the excess to the output file ?
Sorry for being long winded. Thanks for any help and guidance.
-
Use ffmpeg to cut out the first chapter
7 janvier 2017, par UnR34LI’m trying to remove the first chapter of a TV show rip. The idea is to have something similar to netflix, where the first episode will show the intro then the consecutive episodes don’t.
I’ve been getting the chapter time with ffprobe then doing it manually with this
for %%A IN (*.mp4) DO ffmpeg -ss <chaptertime> -i "%%A" -vcodec copy -acodec copy "tmp.mp4" && DEL "%%A" && RENAME "tmp.mp4" "%%A"
</chaptertime>How do I pass the first chapter time code value so ffmepg knows where to seek to ?
Also hoping to use the same the same value to offset the subtitles so they align after the cut.
Note : The machine I’ve doing the cutting on is windows but I can use my FreeBSD server if that’s easier.
-
ffmpeg concat : 2nd video stream frozen, no image
31 juillet 2016, par AzevedoI’m trying to concatenate two video streams with the same econding into one :
ffmpeg -y -f concat -i parts.txt -c copy join.mkv
parts.txt
file part1.mkv
file part2.mkvffmpeg will concatenate them but the playback (any player) gives a still image if the playing position corresponds to the 2nd part.
I tried to switchpart1.mkv
andpart2.mkv
to see the results.
The 1st part (whichever part1 or part2) will play normally but when I seek the playback to the time corresponding the 2nd part the image won’t show, only the audio plays.
What happens if i seek the playback to the 2nd part :
UPDATE :
FULL CONSOLE OUTPUT FORffmpeg -y -f concat -i parts.txt -c copy episode.mkv
ffmpeg version N-81118-gfb91850 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 50.100 / 57. 50.100
libavformat 57. 44.100 / 57. 44.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 49.100 / 6. 49.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[matroska,webm @ 000000000242bd40] Auto-inserting h264_mp4toannexb bitstream filter
Input #0, concat, from 'parts.txt':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1280x720, SAR 1:1 DAR 16:9, 23.97 fps, 23.97 tbr, 1k tbn, 47.95 tbc
Metadata:
BPS : 1023638
BPS-eng : 1023638
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION-eng : 00:23:17.980000000
NUMBER_OF_FRAMES: 33518
NUMBER_OF_FRAMES-eng: 33518
NUMBER_OF_BYTES : 178878340
NUMBER_OF_BYTES-eng: 178878340
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-07-30 17:28:29
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-30 17:28:29
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:22:13.164000000
[matroska @ 0000000000e7c920] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Output #0, matroska, to 'episode.mkv':
Metadata:
encoder : Lavf57.44.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 23.97 fps, 23.97 tbr, 1k tbn, 1k tbc
Metadata:
BPS : 1023638
BPS-eng : 1023638
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION-eng : 00:23:17.980000000
NUMBER_OF_FRAMES: 33518
NUMBER_OF_FRAMES-eng: 33518
NUMBER_OF_BYTES : 178878340
NUMBER_OF_BYTES-eng: 178878340
_STATISTICS_WRITING_APP: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v9.3.1 ('Mask Machine') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-07-30 17:28:29
_STATISTICS_WRITING_DATE_UTC-eng: 2016-07-30 17:28:29
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
DURATION : 00:22:13.164000000
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska,webm @ 0000000002605dc0] Auto-inserting h264_mp4toannexb bitstream filterpeed=1.87e+003x
frame=56417 fps=47467 q=-1.0 Lsize= 304604kB time=00:39:13.05 bitrate=1060.5kbits/s speed=1.98e+003x
video:304191kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.135798%