
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (97)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (4420)
-
Error in compiling x264 on ARM 64-bit platform
2 septembre 2021, par yanzhang.guoThe same x264 source code I compiled on Debian 10 (Buster) system has no problem, but I can't compile it on an ARM 64-bit platform. Why ?


Maybe there is something wrong with the Makefile, but I don't know where it is.


- 

-
Configure


./configure --disable-asm --enable-shared --host=aarch64-linux

platform: AARCH64
byte order: little-endian
system: LINUX
cli: yes
libx264: internal
shared: yes
static: no
asm: no
interlaced: yes
avs: avxsynth
lavf: no
ffms: no
mp4: no
gpl: yes
thread: posix
opencl: yes
filters: crop select_every
lto: no
debug: no
gprof: no
strip: no
PIC: yes
bit depth: all
chroma format: all



-
Edit file config.mak,


SRCPATH=.
prefix=/usr/local
exec_prefix=${prefix}
bindir=${exec_prefix}/bin
libdir=${exec_prefix}/lib
includedir=${prefix}/include
SYS_ARCH=AARCH64
SYS=LINUX
CC=aarch64-linux-gnu-gcc
CFLAGS=-Wno-maybe-uninitialized -Wshadow -O3 -ffast-math -Wall -I. -I$(SRCPATH) -std=gnu99 -
D_GNU_SOURCE -fPIC -fomit-frame-pointer -fno-tree-vectorize
COMPILER=GNU
COMPILER_STYLE=GNU
DEPMM=-MM -g0
DEPMT=-MT
LD=aarch64-linux-gnu-gcc -o
LDFLAGS= -lm -lpthread -ldl
LIBX264=libx264.a
AR=aarch64-linux-gnu-gcc-ar rc
RANLIB=aarch64-linux-gnu-gcc-ranlib
STRIP=aarch64-linux-gnu-strip
INSTALL=install
AS=
ASFLAGS= -I. -I$(SRCPATH) -DSTACK_ALIGNMENT=16 -DPIC
RC=
RCFLAGS=
EXE=
HAVE_GETOPT_LONG=1
DEVNULL=/dev/null
PROF_GEN_CC=-fprofile-generate
PROF_GEN_LD=-fprofile-generate
PROF_USE_CC=-fprofile-use
PROF_USE_LD=-fprofile-use
HAVE_OPENCL=yes
CC_O=-o $@
default: cli
install: install-cli
SOSUFFIX=so
SONAME=libx264.so.157
SOFLAGS=-shared -Wl,-soname,$(SONAME) -Wl,-Bsymbolic
default: lib-shared
install: install-lib-shared
LDFLAGSCLI = -ldl
CLI_LIBX264 = $(LIBX264)



-
Make, an error occurred, details in error.


-
Add file config.h after configure,


#define HAVE_MALLOC_H 1
 #define ARCH_X86_64 1
 #define SYS_LINUX 1
 #define STACK_ALIGNMENT 64
 #define HAVE_POSIXTHREAD 1
 #define HAVE_CPU_COUNT 1
 #define HAVE_THREAD 1
 #define HAVE_LOG2F 1
 #define HAVE_STRTOK_R 1
 #define HAVE_CLOCK_GETTIME 1
 #define HAVE_MMAP 1
 #define HAVE_THP 1
 #define HAVE_AVS 1
 #define USE_AVXSYNTH 1
 #define HAVE_VECTOREXT 1
 #define fseek fseeko
 #define ftell ftello
 #define HAVE_BITDEPTH8 1
 #define HAVE_BITDEPTH10 1
 #define HAVE_GPL 1
 #define HAVE_INTERLACED 1
 #define HAVE_OPENCL (BIT_DEPTH==8)
 #define HAVE_ALTIVEC 0
 #define HAVE_ALTIVEC_H 0
 #define HAVE_MMX 0
 #define HAVE_ARMV6 0
 #define HAVE_ARMV6T2 0
 #define HAVE_NEON 0
 #define HAVE_BEOSTHREAD 0
 #define HAVE_WIN32THREAD 0
 #define HAVE_SWSCALE 0
 #define HAVE_LAVF 0
 #define HAVE_FFMS 0
 #define HAVE_GPAC 0
 #define HAVE_LSMASH 0
 #define HAVE_X86_INLINE_ASM 0
 #define HAVE_AS_FUNC 0
 #define HAVE_INTEL_DISPATCHER 0
 #define HAVE_MSA 0
 #define HAVE_WINRT 0
 #define HAVE_VSX 0
 #define HAVE_ARM_INLINE_ASM 0













-
-
Changing mkv to mp4 with a batch script
1er février 2021, par HetsigWhat I want the
.bat
to do is to "scan" the files, in this case,.mkv
, looking for streams (if there's more than a video stream and an audio stream you might need a matroska file). If you have an audio stream and a video stream, let's change the files as there's no reason to use matroska.

Currently I have 10 seasons of a TV show, which I personally ripped from my own DVDs, and they are in
.mkv
format. But inside the.mkv
there's only video and audio, the subtitles are separate.

The only reason I want to change
.mkv
to.mp4
is that plex can't use.mkv
.

The current code I have to remove metadata on all
.XXX
in the folder :

if not exist "%~dp1_temp" (
 goto foldercreate
 )
 else (
 goto continue
 )

:foldercreate
echo.
echo Created temp folder.
echo -
mkdir _temp
attrib _temp +h
set errorlevel=
:continue
for %%f in (*%~x1) do (
 title Fixing %%f...
 move "%%f" _temp >nul
 echo Currently fixing %%f...
 ffmpeg -xerror -hide_banner -i "%~dp1_temp\%%f" -map_metadata -1 -codec copy -map 0 "%~dp1%%f" -loglevel warning -stats
 if %errorlevel% neq 0 (
 pause
 )
 del "%~dp1_temp\%%f"
 echo -
 )
if %errorlevel% neq 0 (
 echo FFmpeg errored...
 pause
 )
echo All done! removing temp dir...
rmdir _temp /S /Q
timeout /t 2 /nobreak>nul


:eof



-
How to add this line to FFMPEG batch command ? [closed]
10 décembre 2020, par user7959439I inherited a batch command that takes every png file inside the folder (with the .exe and the command inside) and converts it into a webp file.


for /r %%F in (*.png) do (
 ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
 if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)



I want to add a line that at the same time checks for any mp4 files and converts them to gifs.


This is the line


ffmpeg -i input.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif



I tried something like but it doesn't work.


for /r %%F in (*.png) do (
 ffmpeg.exe -y -i "%%F" -compression_level 6 "%%~dpnF.webp"
 if not errorlevel 1 if exist "%%~dpnF.webp" del /q "%%F"
)


for /r %%F in (*.mp4) do (
 ffmpeg.exe -y -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 "%%~dpnF.gif"
 if not errorlevel 1 if exist "%%~dpnF.mp4" del /q "%%F"
)