
Recherche avancée
Médias (3)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Podcasting Legal guide
16 mai 2011, par
Mis à jour : Mai 2011
Langue : English
Type : Texte
-
Creativecommons informational flyer
16 mai 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (46)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (6797)
-
ffmpeg I want to combine the three command in one command
12 janvier 2019, par Abdulwahed AbuAbedhello I’m new here I want to marge many command in one, like add subtitle file , image (watermark) and write word in top right in video .
without effecting video Quality and size , and if it possible make it fast like a single command .ffmpeg -i input.mkv -vf subtitles=subtitle.srt -sn out.mkv
ffmpeg -i input.mkv -vf "movie=image.png [watermark]; [in][watermark] overlay=10:10 [out]" out.mkv
ffmpeg -i input.mkv -vf drawtext=text='Hallo':x=10:y=H-th-10:fontfile=/path/to/font.ttf:fontsize=12:fontcolor=white:shadowcolor=black:shadowx=5:shadowy=5" out.mkv -
Should libavcodec handle non-packed/non-byte-aligned mp3 packets ?
27 août 2015, par Rhythmic FistmanI’m transcoding shoutcast streams using
libavcodec
and I noticed that during the day I get a few 10s’ of packets that it cannot decode without some help :-
Leading zero bytes before a packet sync word, e.g.
0x0000fffa
-
non-byte aligned syncword, e.g
0x82a0fffa
In the first case I have to toss out the zero bytes and in the second I have to shift the data up by an odd number of nibbles.
I don’t have a watertight knowledge of the mp3 spec (is there one ?), but my impression was that the packet format was a bit oriented, not byte, so both types of packets look right to me.
So who is in the wrong here ?
Is it
libavcodec
for not parsing valid packets ?Or the stream encoder for producing non-standard packets ?
-
-
ffmpeg : Time information does not match video duration
8 novembre 2017, par Harry DeveloperI’m using tvheadend to record broadcasts to disc (running ubuntu). Later, I’m playing the files using players like MX Videoplayer or IJK player. Sometimes, the time information of the media files is weired. E.g., using
ffprobe -i some-file.ts
shows a lenght of 10 hours or even 20 hours, although the recording is only 2 hours long. Is this a ffmpeg bug ? What can be done to get the correct media length ?
Here is the ffprobe output of the original file after recording it on disc :
ffprobe version N-85175-ga434657 Copyright (c) 2007-2017 the FFmpeg developers
built with gcc 4.9.2 (Raspbian 4.9.2-10)
configuration:
libavutil 55. 59.100 / 55. 59.100
libavcodec 57. 90.100 / 57. 90.100
libavformat 57. 72.100 / 57. 72.100
libavdevice 57. 7.100 / 57. 7.100
libavfilter 6. 83.100 / 6. 83.100
libswscale 4. 7.100 / 4. 7.100
libswresample 2. 8.100 / 2. 8.100
[mp3 @ 0x24caef0] Header missing
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
[mp3 @ 0x24caef0] Header missing
Last message repeated 1 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
Last message repeated 3 times
[mp3 @ 0x24caef0] Header missing
Last message repeated 1 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mp3 @ 0x24caef0] Header missing
Last message repeated 1 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mp3 @ 0x24caef0] Header missing
Last message repeated 1 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
[mp3 @ 0x24caef0] Header missing
Last message repeated 9 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
Last message repeated 1 times
[mp3 @ 0x24caef0] Header missing
Last message repeated 1 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
[mp3 @ 0x24caef0] Header missing
Last message repeated 11 times
[mpeg2video @ 0x24817b0] Invalid frame dimensions 0x0.
[mp3 @ 0x24caef0] Header missing
Last message repeated 318 times
[mpegts @ 0x247cd40] decoding for stream 4 failed
[mpegts @ 0x247cd40] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x247cd40] PES packet size mismatch
Last message repeated 2 times
[mpegts @ 0x247cd40] Could not find codec parameters for stream 4 (Audio: mp3, 0 channels, s16p): unspecified frame size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from '30d0b11f21ce831b56cc306d9c4a18c0.backup':
Duration: 10:03:33.54, start: 60774.296367, bitrate: 1883 kb/s
Program 12101
Metadata:
service_name : ?RTL Television
service_provider: ?Unitymedia
Stream #0:0[0x20b]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x20c](ger): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
Stream #0:2[0x20d](ger): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 384 kb/s
Stream #0:3[0x60f](ger): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
No Program
Stream #0:4[0x210]: Audio: mp3, 0 channels, s16pHere is the output of ffprobe somefile -show_entries stream=index,start_time,duration -of compact -v 0 :
program|stream|index=0|start_time=88858.718567|duration=8129.120000
stream|index=1|start_time=88858.104267|duration=8129.496000
stream|index=2|start_time=88858.104289|duration=8129.498833
stream|index=3|start_time=60774.296367|duration=36213.542200
stream|index=0|start_time=88858.718567|duration=8129.120000
stream|index=1|start_time=88858.104267|duration=8129.496000
stream|index=2|start_time=88858.104289|duration=8129.498833
stream|index=3|start_time=60774.296367|duration=36213.542200
stream|index=4|start_time=60774.296367|duration=8129.520000