
Recherche avancée
Autres articles (13)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
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 (...) -
La gestion des forums
3 novembre 2011, parSi les forums sont activés sur le site, les administrateurs ont la possibilité de les gérer depuis l’interface d’administration ou depuis l’article même dans le bloc de modification de l’article qui se trouve dans la navigation de la page.
Accès à l’interface de modération des messages
Lorsqu’il est identifié sur le site, l’administrateur peut procéder de deux manières pour gérer les forums.
S’il souhaite modifier (modérer, déclarer comme SPAM un message) les forums d’un article particulier, il a à sa (...)
Sur d’autres sites (3345)
-
FFMPEG bash > folder processing > AI upscale - script ERROR ">" [closed]
13 novembre 2022, par Jason Paul MichaelsTrying to port a single file manual command from Topaz AI so I can run it as a part of a simple script allowing me to run multiple sessions from terminal. I am running MacOS with BASH 5.2 and when I run the script I get dumped to ">" instead of command prompt and no error message is displayed.


This is my command -


for f in *.mp4; do
 /Applications/Topaz\ Video\ AI.app/Contents/MacOS/ffmpeg \
 -hide_banner \
 -nostdin \
 -y \
 -nostats \
 -i “$f” \
 -vsync 0 \
 -avoid_negative_ts 1 \
 -sws_flags spline+accurate_rnd+full_chroma_int \
 -color_trc 1 \
 -colorspace 1 \
 -color_primaries 1 \
 -filter_complex veai_up=model=prob-3:scale=0:w=1920:h=1080:preblur=0:noise=0:details=0:halo=0:blur=0:compression=0:estimate=20:device=0:vram=1:instances=1,scale=w=1920:h=1080:flags=lanczos:threads=0,scale=out_color_matrix=bt709 \
 -c:v prores_videotoolbox \
 -profile:v lt \
 -pix_fmt p210le \
 -allow_sw 1 \
 -map_metadata 0 \
 -movflags frag_keyframe+empty_moov+delay_moov+use_metadata_tags+write_colr \
 -map_metadata:s:v 0:s:v \
 -map_metadata:s:a 0:s:a \
 -c:a aac \
 "encoded/${f%.*}.mp4”;
done



I have a feeling it's something really simple I'm missing but I've gone through it a dozen times and can't seem to modify in any way to success.


Thank you !


Getting dumped back to ">" terminal prompt.


-
ffmpeg error "Output file is empty, nothing was encoded" when trying to increase the tempo (speed up) mp3 file
28 octobre 2022, par rasoolZeroI'm trying to increase the tempo of an mp3 file using ffmpeg and atempo filter, but always get "Output file is empty, nothing was encoded"


this is the output log


ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.1 (GCC) 20200726
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 51.100 / 56. 51.100
 libavcodec 58. 91.100 / 58. 91.100
 libavformat 58. 45.100 / 58. 45.100
 libavdevice 58. 10.100 / 58. 10.100
 libavfilter 7. 85.100 / 7. 85.100
 libswscale 5. 7.100 / 5. 7.100
 libswresample 3. 7.100 / 3. 7.100
 libpostproc 55. 7.100 / 55. 7.100
[mp3 @ 0000023bf37fdbc0] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'normal.mp3':
 Metadata:
 encoder : Lavf58.65.100
 Duration: 00:00:05.93, start: 0.000000, bitrate: 32 kb/s
 Stream #0:0: Audio: mp3, 22050 Hz, mono, fltp, 32 kb/s
Stream mapping:
 Stream #0:0 -> #0:0 (mp3 (mp3float) -> mp3 (mp3_mf))
Press [q] to stop, [?] for help
[mp3_mf @ 0000023bf3822880] MFT name: 'MP3 Encoder ACM Wrapper MFT'
Output #0, mp3, to 'faster.mp3':
 Metadata:
 TSSE : Lavf58.45.100
 Stream #0:0: Audio: mp3 (mp3_mf), 22050 Hz, mono, s16, 128 kb/s
 Metadata:
 encoder : Lavc58.91.100 mp3_mf
size= 0kB time=00:00:05.42 bitrate= 0.7kbits/s speed= 116x
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames parameters if used)



this is the command I'm using

ffmpeg -i normal.mp3 -af "atempo=1.1" faster.mp3


-
ffmpeg : "Input/output error" Read gif from named pipe ?
23 octobre 2022, par XiradoI've been trying to debug this for hours now, and cannot seem to understand why it doesn't work.


I want to overlay a png onto all frames of a gif, and since writing all the files to disk is slow, i wanted to use pipes.


I created a named pipe using
mkfifo imgstream1
and then launch ffmpeg :

ffmpeg -report -hide_banner -v 9 -loglevel 99 -y -f gif -i imgstream1 out1.gif



(This isn't actually useful as it just spits out the same gif again but it's simpler for debugging)


After ffmpeg launches it waits for data from the pipe, so i write an actual gif file to the pipe using this kotlin code


val backgroundFifo = File("imgstream1")
val inputOne = File("background.gif").readBytes()
println("background.gif -> ${inputOne.size} bytes")
val output = backgroundFifo.outputStream()
output.write(inputOne)
output.flush()
output.close()



It prints :
background.gif -> 7233247 bytes


Now ffmpeg should read the bytes and spit out a gif, but it always seems to fail doing so.


Opening an input file: imgstream1.
[gif @ 0x7714180] Opening 'imgstream1' for reading
[file @ 0x7714980] Setting default whitelist 'file,crypto,data'
[AVIOContext @ 0x7724dc0] Statistics: 7233247 bytes read, 0 seeks
imgstream1: Input/output error



Sadly this does not give any further information, i'm already on the highest log level...


I've tried multiple things :


- 

-f image2pipe
-> Works, but only loads the first 2 frames of the gif- Renaming the pipe to
imgstream1.gif
so ffmpeg thinks it's a gif file, no change. - Different ffmpeg versions
- Using the actual gif as an ffmpeg input works










At this point i have no idea what the problem might be, as ffmpeg seems to load all bytes.
It's worth noting that doing
cat imgstream1 > file.gif
produces the desired gif.

Any help would be appreciated !