
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 (80)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
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
Sur d’autres sites (11887)
-
FFmpeg "no frame !" encoding error
9 juillet 2015, par oleg.semenI’m trying to compress video by scaling it. Here is how
But I’m getting this error :D/FFMpeg﹕ progress[h264 @ 0x42124970] no frame!
D/FFMpeg﹕ progress[aac @ 0x42122fe0] Input buffer exhausted before END element foundhere is whole log :
Loading FFmpeg for armv7-neon CPU
start
Running publishing updates method
progressWARNING: linker: /data/data/com.example.ffmpeg/files/ffmpeg has text relocations. This is wasting memory and is a security risk. Please fix.
progressffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
progress built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
progress configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
progress libavutil 54. 7.100 / 54. 7.100
progress libavcodec 56. 1.100 / 56. 1.100
progress libavformat 56. 4.101 / 56. 4.101
progress libavdevice 56. 0.100 / 56. 0.100
progress libavfilter 5. 1.100 / 5. 1.100
progress libswscale 3. 0.100 / 3. 0.100
progress libswresample 1. 1.100 / 1. 1.100
progress libpostproc 53. 0.100 / 53. 0.100
progress[h264 @ 0x42124970] no frame!
progress[aac @ 0x42122fe0] Input buffer exhausted before END element found
progressInput #0, mov,mp4,m4a,3gp,3g2,mj2, from '/storage/emulated/0/Movies/Instagram/VID_37551017_035953.mp4':
progress Metadata:
progress major_brand : isom
progress minor_version : 0
progress compatible_brands: isom3gp4
progress creation_time : 2015-06-19 09:03:19
progress Duration: 00:00:03.20, start: 0.000000, bitrate: 2975 kb/s
progress Stream #0:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x640, 2911 kb/s, 15.22 fps, 14.92 tbr, 90k tbn, 180k tbc (default)
progress Metadata:
progress creation_time : 2015-06-19 09:03:19
progress handler_name : VideoHandle
progress Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 101 kb/s (default)
progress Metadata:
progress creation_time : 2015-06-19 09:03:19
progress handler_name : SoundHandleDid I miss something in config ?
Thanks. -
Convert png images to HEVC with alpha video via ffmpeg [closed]
6 mai 2024, par foxhableI am trying to create a video from a sequence of png images in the HEVC with alpha codec via ffmpeg.


After the command


ffmpeg -i a%d.png -r 30 -c:v hevc_videotoolbox -allow_sw 1 -alpha_quality 1 -vtag hvc1 ffmpeg-hevc.mov



I get a video with a transparent background that opens in QuickTime, but not Safari.


Info about this video via ffprobe :


ffprobe .\ffmpeg-hevc.mov
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\ffmpeg-hevc.mov':
 Metadata:
 major_brand : qt
 minor_version : 512
 compatible_brands: qt
 encoder : Lavf61.3.103
 Duration: 00:00:12.77, start: 0.000000, bitrate: 3437 kb/s
 Stream #0:0[0x1]: Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, bottom coded first (swapped)), 1920x1920, 3435 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
 Metadata:
 handler_name : VideoHandler
 vendor_id : FFMP
 encoder : Lavc61.5.103 hevc_videotoolbox



I compared this to a video that has a transparent background and works in Safari and QuickTime


ffprobe movie-hevc.mov
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '.\movie-hevc.mov':
 Metadata:
 major_brand : qt
 minor_version : 0
 compatible_brands: qt
 creation_time : 2021-01-02T10:33:38.000000Z
 Duration: 00:00:09.02, start: 0.000000, bitrate: 4053 kb/s
 Stream #0:0[0x1](und): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv, progressive), 1280x720 [SAR 1:1 DAR 16:9], 4046 kb/s, 60 fps, 60 tbr, 600 tbn (default)
 Metadata:
 creation_time : 2021-01-02T10:33:38.000000Z
 handler_name : Core Media Video
 vendor_id : [0][0][0][0]
 encoder : HEVC



The only thing I noticed is the encoder. In the working version this is HEVC but in my Lavc61.5.103 hevc_videotoolbox.


The question is, is it possible to create a video with a native HEVC codec via ffmpeg ?


Tried answers :




PC info :


- 

- macOS Monterey 12.7.2
- Mac mini (Late 2012)
- Core i5 3210M
- Graphics Intel HD 4000










-
Input path errors while running FFMPEG and keeping subdirectory structure [closed]
29 juillet, par piet koosMy goal is to reduce the size of all .ogg files found under the parent directory "Formatted", while keeping the sub-directories and files structure the same.


Example


.../Formatted/"test1, test2, test3 and so on"/"files.ogg"



to


.../Contributors/"test1, test2, test3 and so on"/"reduced_files.ogg"



However. While the script runs ffmpeg it seems that the some input file paths gives "Error opening input : No such file or directory". eg. It either cuts off the 'h' of home or adds a '.' to the end of the file extension.


"ome/user1/Downloads/Encoding/Formatted/test1/"file""



or


Parse error, at least 3 arguments were expected, only 1 given in string "oding/Formatted/test1/"file"



Resulting in


.../Contributors/"test1, test2, test3 and so on"/ with only a single file or missing .ogg files.



I'm new to coding, any help is appreciated .
I've tried echoing the variables to make sure they are correct but early on in the process
echo "3" "$dirName"
shows the absolute path being inrorrect.

#!/bin/bash

sourceDir=$HOME/Downloads/Encoding/Formatted
destDir=$HOME/Backup/LEARN/Contributors

find ~/Downloads/Encoding/Formatted/ -type f -name "*.ogg" | while IFS= read -r d; do
# find -name "*.ogg" 
 echo "1" "$d"
baseName=$(basename "$d")
 echo "2" "$baseName"
dirName=$(dirname "$d")
 echo "3" "$dirName"
dirName_0=$(basename "$dirName")
 echo "4" "$dirName_0"
 echo "5" "$destDir"
outputDir="$destDir/$dirName_0"
 echo "6" "$outputDir"
outputPath="$outputDir/$baseName"
 
# echo "1" "$d"
# echo "2" "$baseName"
 echo "3" "$dirName"
# echo "4" "$dirName_0"
# echo "5" "$destDirecho"
# echo "6" "$outputDir"
# echo "7" "$outputPath"
# echo "8" "$destDir/$dirName_0/$baseName"
# echo "9" "$sourceDir"

 mkdir -p "$outputDir"

 ffmpeg -i "$d" -b:a 24k -acodec libopus -map_metadata 0 -map_metadata 0:s:0 "$outputPath"
 
done

For the first file found, *echo* returns:

1 /home/user/Downloads/Encoding/Formatted/test/file1.ogg
2 file1.ogg
3 /home/user/Downloads/Encoding/Formatted/test
4 test
5 /home/user/Backup/LEARN/Contributors
6 /home/user/Backup/LEARN/Contributors/test
7 /home/user/Backup/LEARN/Contributors/test/file1.ogg
8 /home/user/Backup/LEARN/Contributors/test/file1.ogg
9 /home/user/Downloads/Encoding/Formatted

Which is correct, but then for the next file found:

1 ome/user/Downloads/Encoding/Formatted/test/file2.ogg
2 file2.ogg
3 ome/user/Downloads/Encoding/Formatted/test
4 test
5 /home/user/Backup/LEARN/Contributors
6 /home/user/Backup/LEARN/Contributors/test
7 /home/user/Backup/LEARN/Contributors/test/file2.ogg
8 /home/user/Backup/LEARN/Contributors/test/file2.ogg
9 /home/user/Downloads/Encoding/Formatted

line 1 and 3 both miss a h from home? It does this for files in multiple folders.