
Recherche avancée
Médias (2)
-
Valkaama DVD Label
4 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Image
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
Autres articles (36)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Other interesting software
13 avril 2011, parWe don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
We don’t know them, we didn’t try them, but you can take a peek.
Videopress
Website : http://videopress.com/
License : GNU/GPL v2
Source code : (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (7184)
-
FFmpeg file path exception like file name not found
7 février 2018, par Sagar HudgeI am getting following exception on video trimming.
video path :
/storage/emulated/0/Pictures/Instagram/Fast & Furious 7 - Get Low Extended Version Video.mp4
file name :
Fast & Furious 7 - Get Low Extended Version Video.mp4
and ffmpeg searching for only
Fast
in/storage/emulated/0/Pictures/Instagram/Fast: No such file or directory
I have found the issue ,it is causing due to the file name having spaces in between them you can check in above mentioned path and in exception.
after changing file name its working but changing name of every file from device its not the right way so how can I solve this exception
FAILED with output : WARNING: linker: /data/user/0/com.example.SeekBarActivity/files/ffmpeg
has text relocations. This is wasting memory and prevents security hardening.
Please fix. ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Oct 7 2014 15:08:46 with gcc 4.8 (GCC)
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=
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
/storage/emulated/0/Pictures/Instagram/Fast: No such file or directory -
How to decrypt AES 128 encrypted HLS stream when URI for key is "k/timestamp"
25 janvier 2021, par Wilfred AlmeidaI have downloaded 1784
.ts
files and they are AES 128 encrypted.

The
.m3u8
file has#EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29
which I guess indicates that the key must be in a file named timestamp. I got the "timestamp" file and now I want to decrypt.

I tried replacing the URI with
URI="file:timestamp"
with all the.ts
, the.m3u8
and the timestamp file all in same directory and ran the ffmpeg command

ffmpeg -allowed_extensions ALL -protocol_whitelist file,tcp,crypto,http,https -i playlist.m3u8 -c copy op.mp4


but got the errors
Error when loading first segment 'hls_350k_000.ts' playlist.m3u8: Invalid data found when processing input
even though it opened the file successfully.

I tried specifying the URI as
URI="http://localhost/mydir/timestamp"
but got the same error as specified above. I had all.ts
,.m3u8
,"timestamp" file in XAMPP's htdocs folder.

When I open the "timestamp" file in browser's inspect->Network->Click on file->preview, I see weird text like
kf¯2“.ú¸“Á•ª Bn5ydr/x$.9+cgKC!<ßû¢ÌNñ®jûŸŸ
and it changes everytime I refresh the site.

I specified the link of the file in
URI
and tried, same error.

I tried specifying
.key
extension to the "timestamp" file, same error.

I downloaded the "timestamp" file by entering its URL into browser which I got from inspect->Network->Click on file->Headers, I didn't download it as HAR or other stuff.


I tried playing the
.m3u8
file in chrome using chrome by using Native HLS Playback extension with files hosted using XAMPP but it doesn't play, video player shows loading and the chrome's console has following errors

(anonymous) @ player.js:57
player.js:11 trying to recover from media Error ...
handleMediaError @ player.js:11
hls.0.12.4.min.js:1 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:17 trying to swap Audio Codec and recover from media Error ...
handleMediaError @ player.js:17
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:22 cannot recover, last media error recovery failed ...
handleMediaError @ player.js:22
DevTools failed to load SourceMap: Could not load content for chrome-extension://emnphkkblegpebimobpbekeedfgemhof/hlsjs/hls.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME



I tried combining the
.ts
files using ffmpeg but got the same errors specified above.

How do I decrypt the files and combine them into a single vlc playable file ?


-
Video is too short in Avconv (ffmpeg) — but only when run as a crontab
2 septembre 2016, par Dr. Paul RuthI’m working on a PHP script that creates half-hour videos, combining a 30-minute MP3 with a still-frame background image, and then putting it on YouTube through the Google API. It works great except when I run it from a crontab, and I can’t figure out why.
It uses a shell command to run the following.
avconv -loop 1 -framerate 2 -i background.png -loglevel verbose -i audio.mp3 -c:v libx264 -preset medium -tune stillimage -vf scale=\"trunc(oh*a/2)*2:720\" -crf 18 -c:a copy -shortest -y -pix_fmt yuv420p output.mkv
When I run it from my shell, it produces a video just as long as the 30 minute MP3. But if I run it from any kind of crontab, the result is just a fraction of the full length as it will stop at about 3 or 4 minutes.
Typical output below for a failed result. What baffles me is that it’s not that the script is aborted, and it doesn’t seem to time out. Rather than stop, it keeps going and will upload the short, unfinished version to YouTube.
I thought it might be a shell environment problem, missing some part of the $PATH or variables. But even when I import all the env and path settings, it does not seem to work.
Is there some way to make sure the avconf (or ffmpeg) command continues all the way through and does not stop too early ?
Typical output dump below from one of the times it fails : https://gist.github.com/anonymous/ecaa77037926821dba19e9db5ccb3a10
(I used avconv because my host service claimed ffmpeg was deprecated and that I should use avconv instead. Could a library like PHP-FFMPEG be better for this ?)