
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (102)
-
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)
Sur d’autres sites (9162)
-
avcodec/codec_internal : Remove FF_CODEC_CAP_ALLOCATE_PROGRESS
18 septembre 2023, par Andreas Rheinhardtavcodec/codec_internal : Remove FF_CODEC_CAP_ALLOCATE_PROGRESS
Before commit f025b8e110b36c1cdb4fb56c4cd57aeca1767b5b,
every frame-threaded decoder used ThreadFrames, even when
they did not have any inter-frame dependencies at all.
In order to distinguish those decoders that need the AVBuffer
for progress communication from those that do not (to avoid
the allocation for the latter), the former decoders were marked
with the FF_CODEC_CAP_ALLOCATE_PROGRESS internal codec cap.Yet distinguishing these two can be done in a more natural way :
Don't use ThreadFrames when not needed and split ff_thread_get_buffer()
into a core function that calls the user's get_buffer2 callback
and a wrapper around it that also allocates the progress AVBuffer.
This has been done in 02220b88fc38ef9dd4f2d519f5d3e4151258b60c
and since that commit the ALLOCATE_PROGRESS cap was nearly redundant.The only exception was WebP and VP8. WebP can contain VP8
and uses the VP8 decoder directly (i.e. they share the same
AVCodecContext). Both decoders are frame-threaded and VP8
has inter-frame dependencies (in general, not in valid WebP)
and therefore the ALLOCATE_PROGRESS cap. In order to avoid
allocating progress in case of a frame-threaded WebP decoder
the cap and the check for the cap has been kept in place.Yet now the VP8 decoder has been switched to use ProgressFrames
and therefore there is just no reason any more for this check
and the cap. This commit therefore removes both.Also change the value of FF_CODEC_CAP_USES_PROGRESSFRAMES
to leave no gaps.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
- [DH] doc/multithreading.txt
- [DH] libavcodec/codec_internal.h
- [DH] libavcodec/ffv1dec.c
- [DH] libavcodec/h264dec.c
- [DH] libavcodec/hevcdec.c
- [DH] libavcodec/mpeg4videodec.c
- [DH] libavcodec/pngdec.c
- [DH] libavcodec/pthread_frame.c
- [DH] libavcodec/rv30.c
- [DH] libavcodec/rv40.c
- [DH] libavcodec/tests/avcodec.c
-
Nexus One
19 mars 2010, par Mans — UncategorizedI have had a Nexus One for about a week (thanks Google), and naturally I have an opinion or two about it.
Hardware
With the front side dominated by a touch-screen and a lone, round button, the Nexus One appearance is similar to that of most contemporary smartphones. The reverse sports a 5 megapixel camera with LED flash, a Google logo, and a smaller HTC logo. Power button, volume control, and headphone and micro-USB sockets are found along the edges. It is with appreciation I note the lack of a front-facing camera ; the silly idea of video calls is finally put to rest.
Powering up the phone (I’m beginning to question the applicability of that word), I am immediately enamoured with the display. At 800×480 pixels, the AMOLED display is crystal-clear and easily viewable even in bright light. In a darker environment, the display automatically dims. The display does have one quirk in that the subpixel pattern doesn’t actually have a full RGB triplet for each pixel. The close-up photo below shows the pattern seen when displaying a solid white colour.
The result of this is that fine vertical lines, particularly red or blue ones, look a bit jagged. Most of the time this is not much of a problem, and I find it an acceptable compromise for the higher effective resolution it provides.
Basic interaction
The Android system is by now familiar, and the Nexus offers no surprises in basic usage. All the usual applications come pre-installed : browser, email, calendar, contacts, maps, and even voice calls. Many of the applications integrate with a Google account, which is nice. Calendar entries, map placemarks, etc. are automatically shared between desktop and mobile. Gone is the need for the bug-ridden custom synchronisation software with which mobile phones of the past were plagued.
Launching applications is mostly speedy, and recently used apps are kept loaded as long as memory needs allow. Although this garbage-collection-style of application management, where you are never quite sure whether an app is still running, takes a few moments of acclimatisation, it works reasonably well in day to day use. Most of the applications are well-behaved and save their data before terminating.
Email
Two email applications are included out of the box : one generic and one Gmail-only. As I do not use Gmail, I cannot comment on this application. The generic email client supports IMAP, but is rather limited in functionality. Fortunately, a much-enhanced version, K-9, is available for download. The main feature I find lacking here is threaded message view.
The features, or lack thereof, in the email applications is not, however, of huge importance, as composing email, or any longer piece of text, is something one rather avoids on a system like this. The on-screen keyboard, while falling among the better of its kind, is still slow to use. Lack of tactile feedback means accidentally tapping the wrong key is easily done, and entering numbers or punctuation is an outright chore.
Browser
Whatever the Nexus lacks in email abilities, it makes up for with the browser. Surfing the web on a phone has never been this pleasant. Page rendering is quick, and zooming is fast and simple. Even pages not designed for mobile viewing are easy to read with smart reformatting almost entirely eliminating the sideways scrolling which hampered many a mobile browser of old.
Calls and messaging
Being a phone, the Nexus One is obviously able to make and receive calls, and it does so with ease. Entering a number or locating a stored contact are both straight-forward operations. During a call, audio is clear and of adequate loudness, although I have yet to use the phone in really noisy surroundings.
The other traditional task of a mobile phone, messaging, is also well-supported. There isn’t really much to say about this.
Multimedia
Having a bit of an interest in most things multimedia, I obviously tested the capabilities of the Nexus by throwing some assorted samples at it, revealing ample space for improvement. With video limited to H.264 and MPEG4, and the only supported audio codecs being AAC, MP3, Vorbis, and AMR, there are many files which will not play.
To make matters worse, only selected combinations of audio and video will play together. Several video files I tested played without sound, yet when presented with the very same audio data alone, it was correctly decoded. As for container formats, it appears restricted to MP4/MOV, and Ogg (for Vorbis). AVI files are recognised as media files, but I was unable to find an AVI file which would play.
With a device clearly capable of so much more, the poor multimedia support is nothing short of embarrassing.
The Market
Much of the hype surrounding Android revolves around the Market, Google’s virtual marketplace for app authors to sell or give away their creations. The thousands of available applications are broadly categorised, and a search function is available.
The categorised lists are divided into free and paid sections, while search results, disappointingly, are not. To aid the decision, ratings and comments are displayed alongside the summary and screenshots of each application. Overall, the process of finding and installing an application is mostly painless. While it could certainly be improved, it could also have been much worse.
The applications themselves are, as hinted above, beyond numerous. Sadly, quality does not quite match up to quantity. The vast majority of the apps are pointless, though occasionally mildly amusing, gimmicks of no practical value. The really good ones, and they do exist, are very hard to find unless one knows precisely what to look for.
Battery
Packing great performance into a pocket-size device comes with a price in battery life. The battery in the Nexus lasts considerably shorter time than that in my older, less feature-packed Nokia phone. To some extent this is probably a result of me actually using it a lot more, yet the end result is the same : more frequent recharging. I should probably get used to the idea of recharging the phone every other night.
Verdict
The Nexus One is a capable hardware platform running an OS with plenty of potential. The applications are still somewhat lacking (or very hard to find), although the basic features work reasonably well. Hopefully future Android updates will see more and better core applications integrated, and I imagine that over time, I will find third-party apps to solve my problems in a way I like. I am not putting this phone on the shelf just yet.
-
Is there a way to create a single HLS output from more than one RTMP inputs in listen mode ?
25 novembre 2020, par Gabriele TassoniI'm trying to create a single HLS output using, as inputs, different RTMP playpaths or different RTMP streams, i.e. :


- 

- rtmp ://ip:1935/app/key0
- rtmp ://ip:1935/app/key1
- rtmp ://ip:1935/app/key2








The resulting HLS output should have video track from key0, and three audio tracks from key0, key1 and key2.


I used FFMPEG, but I'm open to different open source software for the server/converter part.


What I tried so far :


NO RTMP approach


I get in input anything thrown to a TCP port, the mp4 stream sent already has multiple audio tracks, this works well and the HLS output is correctly created, cons : it's not compatible with RTMP standard, many commercial software, like vMix, just live streams to RTMP, so I cannot use this approach.


ffmpeg -y -hwaccel auto \
 -i tcp://0.0.0.0:${port}?listen \
 -map 0:0 \
 -map 0:a \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename ${dir}/${name}/1080p_%03d.ts ${dir}/${name}/1080p.m3u8



NGINX RTMP Module


I used in NGINX RTMP an application which execs an ffmpeg command, cons : it doesn't work, it sits there forever, like it's waiting for something.


ffmpeg -y -hwaccel auto \
 -i "rtmp://localhost:1935/mainav/$key" \
 -i "rtmp://localhost:1935/mainav/$name:lang:$lang" \
 -map 0:v:0 -map 0:a:0 -metadata:s:a:0 "language=$default" \
 -map "1:a:0" -metadata:s:a:1 "language=$lang" \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename "${dir}/${name}/1080p_%03d.ts" "${dir}/${name}/1080p.m3u8"




FFMPEG Listener


Quite similar to the NGINX version, but without NGINX, going raw on bare ffmpeg server capabilities. Cons : it doesn't work, just throws an I/O Error as soon as the client connects.


ffmpeg -y -hwaccel auto \
 -listen 1 -i "rtmp://0.0.0.0:1935/mainav/$key" \
 -listen 1 -i "rtmp://0.0.0.0:1935/mainav/$name:lang:$lang" \
 -map 0:v:0 -map 0:a:0 -metadata:s:a:0 "language=$default" \
 -map "1:a:0" -metadata:s:a:1 "language=$lang" \
 -c:v libx264 -c:a aac -b:v 5000k -b:a 192k -vf "scale=1920:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -g 48 \
 -f hls -hls_time 4 -hls_playlist_type event -hls_segment_filename "${dir}/${name}/1080p_%03d.ts" "${dir}/${name}/1080p.m3u8"



Client used for tests


I used an ffmpeg which reads a file from my disk and sends to different RTMP playpaths :


ffmpeg -y -hwaccel auto -re \
 -i /home/me/Videos/xm.mkv \
 -map 0:v:0 \
 -map 0:a:0 \
 -f flv rtmp://localhost:1935/mainav/thebiglive:default:ita \
 -map 0:a:1 \
 -f flv rtmp://localhost:1935/mainav/thebiglive:lang:eng



I feel a bit clueless now. The only working solution is not a standard one taken into account the common live encoders found in the market. Anyone has a pointer for which direction I can take ?


Thanks