
Recherche avancée
Autres articles (23)
-
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 -
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 -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7046)
-
ffmpeg batch process issue mac
22 octobre 2023, par e eI'm using ffmpeg to batch process all files(with names containing spaces) in a directory. The script is like :


echo my converter
read -p "Enter give folder: " folder
echo '//////////////////////START CONVERTING FROM FOLDER///////////////////////'

find $folder -type f -name "*[[:space:]]*" | while read file; do
 release="${file%%.*}"'_t.mp4';
 echo "$file";
 ffmpeg -i "$file" -c copy "$release" -loglevel error -stats
 echo $release;
done



the script searches all the files in the address and ffmpeg one by one. However the first file will always fail due to some unknown issues :


[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 17 expected 2 got 3
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 0 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 4096 expected 0 got 2
[mpegts @ 0x7fb8e9904a40] Continuity check failed for pid 256 expected 2 got 7
[mpegts @ 0x7fb8e9904a40] Packet corrupt (stream = 0, dts = 203523000).
/Users/xy/Downloads/aaa/aa vv.ts: corrupt input packet in stream 0
[NULL @ 0x7fb8e9905a40] Decoding VUI




If there is only one file, the process works fine.
If comment out the ffmpeg command, it echoes as expected :


/Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/aa vv_t_t.mp4
/Users/xy/Downloads/aaa/aa vv.ts
/Users/xy/Downloads/aaa/aa vv_t.mp4
/Users/xy/Downloads/aaa/cc ee.ts
/Users/xy/Downloads/aaa/cc ee_t.mp4



it first find the target files and then converts into another with different file names.
Any suggestions, thank you !!


-
lavc/tiff : Enable decoding of LinearRaw images
29 août 2019, par Nick Renierislavc/tiff : Enable decoding of LinearRaw images
"LinearRaw" is a value that the PhotometricInterpretation tag can be set
to on DNG images that contain color information for all channels instead
of being bayer-encoded ("CFA" value).The DNG decoder is complete enough that we can enable this now.
Sample :
http://www.rawsamples.ch/raws/nikon/SCANNER_NIKON_LS5000.DNG
Signed-off-by : Nick Renieris <velocityra@gmail.com>
-
Revision ad484fc6be : Add support for armv7-win32-vs11 The arm assembly files are named .s after conv
18 mai 2013, par Martin StorsjoChanged Paths :
Add /build/arm-msvs/obj_int_extract.bat
Modify /build/make/Makefile
Modify /build/make/configure.sh
Modify /build/make/gen_msvs_vcxproj.sh
Modify /configure
Modify /libs.mk
Add support for armv7-win32-vs11The arm assembly files are named .s after conversion, to reuse
as much of the existing makefile infrastructure for conversion to
gas format as possible. Within the generated visual studio project,
only the converted assembly sources are available, which might not
be optimal for actually developing it, but is acceptable for
just building the library.Multithreading is disabled since the traditional win32 threading
functions aren't available on WinRT/Windows Phone 8.Building of vpx itself and the examples succeed, while building the
tests fail due to them using functions not available in the
windows store/windows phone API subsets - therefore the unit tests
are disabled.This works for building in Visual Studio Express 2012 for Windows
Phone, while Visual Studio Express 2012 for Windows 8 (for
"Windows Store" apps) seems to reject the vcxproj files due to
not supporting "classic style native application or managed
projects". The built static library should be compatible with that
platform though.Change-Id : Idcd7eca60bfaaaeb09392a9cd7a02e4a670e3b30