
Recherche avancée
Autres articles (48)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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 (7953)
-
perturbation of an audio/video decoding execution trace with gstreamer
9 mars 2013, par KKcI am a new comer in gstreamer community and i have a pipeline to decode and trace a .mp4 file.
gst-launch --gst debug=filesrc:7,queue:7,audioconvert:7,audioresample:7,qtdemux:7,faad:7,ffmpeg:7,audioresample:7,audioconvert:7,autoaudiosink:7,autovideosink:7, filesrc location=...! qtdemux name=demuxer demuxer. ! queue ! faad ! audioconvert ! audioresample ! autoaudiosink demuxer. ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink > file1
I inserted the "identity" component to disturb the decoding, and effectively, i saw images which became very slow and sound disappeared.
I used this command :gst-launch --gst debug=filesrc:7,queue:7,audioconvert:7,audioresample:7,qtdemux:7,faad:7,ffmpeg:7,audioresample:7,audioconvert:7,autoaudiosink:7,autovideosink:7, filesrc location=...! qtdemux name=demuxer demuxer. ! queue ! faad ! audioconvert ! audioresample ! autoaudiosink demuxer. ! queue ! identity sleep-time=1000000 ! ffdec_h264 ! ffmpegcolorspace ! autovideosink > file2
The first time i did this execution, two new functions appeared in file2,
(i) gst_ffmpegdec_chain...'skipping...',
(ii) gst_ffmpegdec_video_frame...'Dropping..'
I assumed that the meaning is that some data were dropped or something else
However, since many days, i use the same pipelines, with the same video to decode ; i obtain the same bad visualization, but any new function in file 2 :(
the only difference is the number of occurrence of the functions below :*gst_ffmpegdec_update_qos :...'update* 558 times in one case
*gst_ffmpegdec_update_qos :...'update* 4 times in the other case
I don't know why i am unable to produce again a disturbed trace with 'skipping..' and 'dropping..'
My questions are :
1- have you any idea about the meaning of the above functions ?
2- Do you know any other component useful to disturb a A/V decoding processing ?
Thank you for any reply
-
mov : Export geotag metadata fields
3 juin 2014, par Martin Storsjömov : Export geotag metadata fields
The ’ ?xyz’ form is used by android devices (and according to apple
mailing list archives, also by older iOS devices). The ’loci’ field
(defined in 3GPP 26.244) is used by recent iOS devices.Even though the loci field can contain an altitude, it was plain
0 in my sample. Just export longitude and latitude, in a string
format matching the one used by the ’ ?xyz’ metadata field.Signed-off-by : Martin Storsjö <martin@martin.st>
-
FFmpeg conversion to mp3 works in terminal, not in script
19 juillet 2013, par user2598172I can run
ffmpeg -i test.m4a -vn -acodec libmp3lame -ab 256k test.mp3
And it works perfectly. However, when I have the line :
./ffmpeg -i "$SONG_SAVE.m4a" -vn -acodec libmp3lame -ab 256k "$SONG_SAVE$EXT" &> /dev/null
running in a .sh script (downloading the same file that I was able to successfully convert through the terminal), it returns an mp3 file with no audio data. Does anyone have any idea what could be causing this ? Thanks !
EDIT : here is the whole script :
#!/bin/bash
TITLE="$(echo "$1" | ./recode html..ascii | tr -d '\' | tr -s ' ' | sed 's|\ *$||')"
TAG_TITLE="$2"
ARTIST="$(echo "$3" | ./recode html..ascii | tr -d '\' | tr -s ' ')"
ALBUM="$(echo "$4" | ./recode html..ascii | tr -d '\' | tr -s ' ')"
IMG="$5"
TRACK_NUMBER="$6"
TOTAL_TRACKS="$7"
URL="$8"
MIX_TITLE="$9"
CONVERT="${10}"
RECURSIVE="${11}"
SESSION_ID="${12}"
DOWNLOAD_ID="${13}"
SONG_ID="${14}"
SONG_SAVE="songs/$SONG_ID"
ZIP_SAVE="$SESSION_ID-$DOWNLOAD_ID.zip"
ZIP_DIR="$MIX_TITLE/"
ARTWORK_SAVE="artwork/$MIX_TITLE.png"
SAVE_TITLE="$(echo "$TITLE" | sed 's|/|-|g;s|^\.||g')"
[ "$TAG_TITLE" == "false" ] && unset TITLE
[ "$ARTIST" == "false" ] && unset ARTIST
[ "$ALBUM" == "false" ] && unset ALBUM
[ "$IMG" == "false" ] && unset IMG
[ "$TRACK_NUMBER" == "false" ] && unset TRACK_NUMBER TOTAL_TRACKS
[ "$CONVERT" == "false" ] && unset CONVERT
[ "$RECURSIVE" == "false" ] && unset RECURSIVE
while [ -f "SONG_SAVE".part ]; do
sleep 2
done
if [ -f "$SONG_SAVE".m4a ]; then
EXT=".m4a"
touch "$SONG_SAVE$EXT"
elif [ -f "$SONG_SAVE".mp3 ]; then
EXT=".mp3"
touch "$SONG_SAVE$EXT"
else
curl -Lso "$SONG_SAVE".part "$URL"
if [ -n "$(file -b "$SONG_SAVE".part | grep "MPEG ADTS")" ]; then
EXT=".mp3"
elif [ -n "$(file -b "$SONG_SAVE".part | grep "MPEG v4")" ]; then
EXT=".m4a"
else
EXT=".txt"
echo "Unable to download: $URL. Sorry ):" > "$SONG_SAVE".part
fi
mv "$SONG_SAVE".part "$SONG_SAVE$EXT"
fi
if [ -n "$CONVERT" ] && [ "$EXT" == ".m4a" ]; then
EXT=".mp3"
if [ ! -f "$SONG_SAVE$EXT" ]; then
./ffmpeg -i "$SONG_SAVE.m4a" -vn -acodec libmp3lame -ab 256k "$SONG_SAVE$EXT" &> /dev/null
fi
fi
if [ "$EXT" == ".mp3" ]; then
./eyeD3 --remove-images -t "$TITLE" -a "$ARTIST" -A "$ALBUM" -n "$TRACK_NUMBER" -N "$TOTAL_TRACKS" "$SONG_SAVE$EXT" &> /dev/null
if [ -n "$IMG" ]; then
[ ! -f "$ARTWORK_SAVE" ] && curl -Lso "$ARTWORK_SAVE" "$IMG"
./eyeD3 --add-image="$ARTWORK_SAVE":FRONT_COVER "$SONG_SAVE$EXT" &> /dev/null
fi
elif [ "$EXT" == ".m4a" ]; then
if [ -n "$IMG" ]; then
[ ! -f "$ARTWORK_SAVE" ] && curl -Lso "$ARTWORK_SAVE" "$IMG"
if [ -n "$TRACK_NUMBER" ]; then
./mp4tags -P "$ARTWORK_SAVE" -s "$TITLE" -a "$ARTIST" -R "" -A "$ALBUM" -t "$TRACK_NUMBER" -T "$TOTAL_TRACKS" "$SONG_SAVE$EXT" &> /dev/null
else
./mp4tags -P "$ARTWORK_SAVE" -s "$TITLE" -a "$ARTIST" -R "" -A "$ALBUM" "$SONG_SAVE$EXT" &> /dev/null
fi
else
if [ -n "$TRACK_NUMBER" ]; then
./mp4tags -r P -s "$TITLE" -a "$ARTIST" -R "" -A "$ALBUM" -t "$TRACK_NUMBER" -T "$TOTAL_TRACKS" "$SONG_SAVE$EXT" &> /dev/null
else
./mp4tags -r P -s "$TITLE" -a "$ARTIST" -R "" -A "$ALBUM" "$SONG_SAVE$EXT" &> /dev/null
fi
fi
fi
if [ -n "$RECURSIVE" ]; then
cd archives
mkdir -p "$ZIP_DIR"
chmod 777 "$ZIP_DIR"
cp "../$SONG_SAVE$EXT" "$ZIP_DIR$SAVE_TITLE$EXT"
./zip -q -0 -D -r "$ZIP_DIR$ZIP_SAVE" "$ZIP_DIR$SAVE_TITLE$EXT" &> /dev/null
rm -f "$ZIP_DIR$SAVE_TITLE$EXT"
printf "archives/$ZIP_DIR$ZIP_SAVE\n$MIX_TITLE.zip\n$EXT\n"
echo "$(du -h "$ZIP_DIR$ZIP_SAVE" | tr '\t' '\n' | head -1)"
else
printf "$SONG_SAVE$EXT\n$SAVE_TITLE$EXT\n$EXT"
fi