
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (32)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (3457)
-
HLS - ffmpeg fails with Could not write header for output file #0 (incorrect codec parameters ?) : No such file or directory
11 mai 2019, par SlimI’m struggling with this issue since a couple of days.
I’m trying to convert an mkv movie and ffmpeg fail with this error when he try to write to the *.ts file.
I have tried the same command on many hosts (Mac, CentOS, Unraid) but the results was the same. Here the command :$ ffmpeg -i MYMOVIE\ FRENCH\ HDLight\ 1080p\ x264\ AC3.mkv -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" -c:a aac -ar 48000 -b:a 128k -c:v h264 -profile:v main -crf 20 -g 48 -keyint_min 48 -sc_threshold 0 -b:v 2500k -maxrate 2675k -bufsize 3750k -hls_time 4 -hls_playlist_type vod -hls_segment_filename mymovie/720p_%03d.ts mymovie/720p.m3u8
Please find below the entire output of the ffmpeg command :
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libmp3lame --enable-libx264 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, matroska,webm, from 'MYMOVIE FRENCH HDLight 1080p x264 AC3.mkv':
Metadata:
title : ˜”*°• Wita •°*”˜
encoder : libebml v1.3.3 + libmatroska v1.4.4
creation_time : 2016-01-18T20:04:46.000000Z
Duration: 02:28:06.88, start: 0.000000, bitrate: 3276 kb/s
Chapter #0:0: start 0.000000, end 369.119000
Metadata:
title : 00:00:00.000
Chapter #0:1: start 369.119000, end 784.784000
Metadata:
title : 00:06:09.119
Chapter #0:2: start 784.784000, end 1138.471000
Metadata:
title : 00:13:04.784
Chapter #0:3: start 1138.471000, end 1486.777000
Metadata:
title : 00:18:58.471
Chapter #0:4: start 1486.777000, end 1684.057000
Metadata:
title : 00:24:46.777
Chapter #0:5: start 1684.057000, end 1935.559000
Metadata:
title : 00:28:04.057
Chapter #0:6: start 1935.559000, end 2218.591000
Metadata:
title : 00:32:15.559
Chapter #0:7: start 2218.591000, end 2516.639000
Metadata:
title : 00:36:58.591
Chapter #0:8: start 2516.639000, end 2773.145000
Metadata:
title : 00:41:56.639
Chapter #0:9: start 2773.145000, end 3051.924000
Metadata:
title : 00:46:13.145
Chapter #0:10: start 3051.924000, end 3223.220000
Metadata:
title : 00:50:51.924
Chapter #0:11: start 3223.220000, end 3621.368000
Metadata:
title : 00:53:43.220
Chapter #0:12: start 3621.368000, end 4008.213000
Metadata:
title : 01:00:21.368
Chapter #0:13: start 4008.213000, end 4258.963000
Metadata:
title : 01:06:48.213
Chapter #0:14: start 4258.963000, end 4514.093000
Metadata:
title : 01:10:58.963
Chapter #0:15: start 4514.093000, end 4735.648000
Metadata:
title : 01:15:14.093
Chapter #0:16: start 4735.648000, end 5171.041000
Metadata:
title : 01:18:55.648
Chapter #0:17: start 5171.041000, end 5380.000000
Metadata:
title : 01:26:11.041
Chapter #0:18: start 5380.000000, end 5803.548000
Metadata:
title : 01:29:40.000
Chapter #0:19: start 5803.548000, end 6104.390000
Metadata:
title : 01:36:43.548
Chapter #0:20: start 6104.390000, end 6546.415000
Metadata:
title : 01:41:44.390
Chapter #0:21: start 6546.415000, end 6952.821000
Metadata:
title : 01:49:06.415
Chapter #0:22: start 6952.821000, end 7179.214000
Metadata:
title : 01:55:52.821
Chapter #0:23: start 7179.214000, end 7459.744000
Metadata:
title : 01:59:39.214
Chapter #0:24: start 7459.744000, end 7768.511000
Metadata:
title : 02:04:19.744
Chapter #0:25: start 7768.511000, end 8045.663000
Metadata:
title : 02:09:28.511
Chapter #0:26: start 8045.663000, end 8382.374000
Metadata:
title : 02:14:05.663
Chapter #0:27: start 8382.374000, end 8886.880000
Metadata:
title : 02:19:42.374
Stream #0:0(fre): Audio: ac3, 48000 Hz, 5.1(side), fltp, 448 kb/s (default) (forced)
Metadata:
title : AC3 Fr
BPS : 448000
BPS-eng : 448000
DURATION : 02:28:06.880000000
DURATION-eng : 02:28:06.880000000
NUMBER_OF_FRAMES: 277715
NUMBER_OF_FRAMES-eng: 277715
NUMBER_OF_BYTES : 497665280
NUMBER_OF_BYTES-eng: 497665280
_STATISTICS_WRITING_APP: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-01-18 20:04:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-01-18 20:04:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(fre): Subtitle: subrip (default) (forced)
Metadata:
title : FR Forcé
BPS : 1
BPS-eng : 1
DURATION : 02:27:01.396000000
DURATION-eng : 02:27:01.396000000
NUMBER_OF_FRAMES: 53
NUMBER_OF_FRAMES-eng: 53
NUMBER_OF_BYTES : 1254
NUMBER_OF_BYTES-eng: 1254
_STATISTICS_WRITING_APP: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-01-18 20:04:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-01-18 20:04:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(fre): Video: h264 (High), yuv420p(progressive), 1920x808 [SAR 1:1 DAR 240:101], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default) (forced)
Metadata:
title : ˜”*°• Wita •°*”˜
BPS : 2826414
BPS-eng : 2826414
DURATION : 02:28:06.837000000
DURATION-eng : 02:28:06.837000000
NUMBER_OF_FRAMES: 213071
NUMBER_OF_FRAMES-eng: 213071
NUMBER_OF_BYTES : 3139735201
NUMBER_OF_BYTES-eng: 3139735201
_STATISTICS_WRITING_APP: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.8.0 ('Wind at my back') 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-01-18 20:04:46
_STATISTICS_WRITING_DATE_UTC-eng: 2016-01-18 20:04:46
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream mapping:
Stream #0:2 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (ac3 (native) -> aac (native))
Stream #0:1 -> #0:2 (subrip (srt) -> webvtt (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7f967102da00] using SAR=1/1
[libx264 @ 0x7f967102da00] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
[libx264 @ 0x7f967102da00] profile Main, level 4.0
[hls @ 0x7f9671037200] Opening 'mymovie/720p_000.ts' for writing
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --
[aac @ 0x7f967102f200] Qavg: 27242.438
[aac @ 0x7f967102f200] 2 frames left in the queue on closing
Conversion failed!Could you help please ?
-
I Really Like My New EeePC
29 août 2010, par Multimedia Mike — GeneralFair warning : I’m just going to use this post to blather disconnectedly about a new-ish toy.
I really like my new EeePC. I was rather enamored with the original EeePC 701 from late 2007, a little box with a tiny 7″ screen that is credited with kicking off the netbook revolution. Since then, Asus has created about a hundred new EeePC models.
Since I’m spending so much time on a train these days, I finally took the plunge to get a better netbook. I decided to stay loyal to Asus and their Eee lineage and got the highest end EeePC they presently offer (which was still under US$500)– the EeePC 1201PN. The ’12′ in the model number represents a 12″ screen size and the rest of the specs are commensurately as large. Indeed, it sort of blurs the line between netbook and full-blown laptop.
Incidentally, after I placed the order for the 1201PN nearly 2 months ago, and I mean the very literal next moment, this Engadget headline came across announcing the EeePC 1215N. My new high-end (such as it is) computer purchase was immediately obsoleted ; I thought that only happened in parody. (As of this writing, the 1215N still doesn’t appear to be shipping, though.)
It’s a sore point among Linux aficionados that Linux was used to help kickstart the netbook trend but that now it’s pretty much impossible to find Linux pre-installed on a netbook. So it is in this case. This 1201PN comes with Windows 7 Home Premium installed. This is a notable differentiator from most netbooks which only have Windows 7 Home Starter, a.k.a., the Windows 7 version so crippled that it doesn’t even allow the user to change the background image.
I wished to preserve the Windows 7 installation (you never know when it will come in handy) and dual boot Linux. I thought I would have to use the Windows partition tool to divide work some magic. Fortunately, the default installation already carved the 250 GB HD in half ; I was able to reformat the second partition and install Linux. The details are a little blurry, but I’m pretty sure one of those external USB optical drives shown in my last post actually performed successfully for this task. Lucky break.
The EeePC 1201PN, EeePC 701, Belco Alpha-400, and even a comparatively gargantuan Sony Vaio full laptop– all of the portable computers in the household
So I got Ubuntu 10.04 Linux installed in short order. This feels like something of a homecoming for me. You see, I used Linux full-time at home from 1999-2006. In 2007, I switched to using Windows XP full-time, mostly because my home use-case switched to playing a lot of old, bad computer games. By the end of 2008, I had transitioned to using the Mac Mini that I had originally purchased earlier that year for running FATE cycles. That Mac served as my main home computer until I purchased the 1201PN 2 months ago.
Mostly, I have this overriding desire for computers to just work, at least in their basic functions. And that’s why I’m so roundly impressed with the way Linux handles right out of the box. Nearly everything on the 1201PN works in Linux. The video, the audio, the wireless networking, the webcam, it all works out of the box. I had to do the extra installation step to get the binary nVidia drivers installed but even that’s relatively seamless, especially compared to “the way things used to be” (drop to a prompt, run some binary installer from the prompt as root, watch it fail in arcane ways because the thing is only certified to run on one version of one Linux distribution). The 1201PN, with its nVidia Ion2 graphics, is able to drive both its own 1366×768 screen simultaneously with an external monitor running at up on 2560×1600.
The only weird hiccup in the whole process was that I had a little trouble with the special volume keys on the keyboard (specifically, the volume up/down/mute keys didn’t do anything). But I quickly learned that I had to install some package related to ACPI and they magically started to do the right thing. Now I get to encounter the Linux Flash Player bug where modifying volume via those special keys forces fullscreen mode to exit. Adobe really should fix that.
Also, trackpad multitouch gestures don’t work right away. Based on my reading, it is possible to set those up in Linux. But it’s largely a preference thing– I don’t care much for multitouch. This creates a disparity when I use Windows 7 on the 1201PN which is configured per default to use multitouch.
The same 4 laptops stacked up
So, in short, I’m really happy with this little machine. Traditionally, I have had absolutely no affinity for laptops/notebooks/portable computers at all even if everyone around was always completely enamored with the devices. What changed for me ? Well for starters, as a long-time Linux user, I was used to having to invest in very specific, carefully-researched hardware lest I not be able to use it under the Linux OS. This was always a major problem in the laptop field which typically reign supreme in custom, proprietary hardware components. These days, not so much, and these netbooks seem to contain well-supported hardware. Then there’s the fact that laptops always cost so much more than similarly capable desktop systems and that I had no real reason for taking a computer with me when I left home. So my use case changed, as did the price point for relatively low-power laptops/netbooks.
Data I/O geek note : The 1201PN is capable of wireless-N networking — as many netbooks seem to have — but only 100 Mbit ethernet. I wondered why it didn’t have gigabit ethernet. Then I remembered that 100 Mbit ethernet provides 11-11.5 Mbytes/sec of transfer speed which, in my empirical experience, is approximately the maximum write speed of a 5400 RPM hard drive– which is what the 1201PN possesses.
-
Curator of the Samples Archive
13 mai 2011, par Multimedia Mike — GeneralRemember how I mirrored the world-famous MPlayerHQ samples archive a few months ago ? Due to a series of events, the original archive is no longer online. However, me and the people who control the mplayerhq.hu domain figured out how to make samples.mplayerhq.hu point to samples.multimedia.cx.
That means... I’m the current owner and curator of our central multimedia samples repository. Such power ! This should probably be the fulfillment of a decade-long dream for me, having managed swaths of the archive, most notably the game formats section.
How This Came To Be
If you pay any attention to the open source multimedia scene, you might have noticed that there has been a smidge of turmoil. Heated words were exchanged, authority was questioned, some people probably said some things they didn’t mean, and the upshot is that, where once there was one project (FFmpeg), there are now 2 projects (also Libav). And to everyone who has wanted me to mention it on my blog— there, I finally broke my silence and formally acknowledged the schism.
For my part, I was just determined to ensure that the samples archive remained online, preferably at the original samples.mplayerhq.hu address. There are 10 years worth of web links out there pointing into the original repository.
Better Solution
I concede that it’s not entirely optimal to host the repository here at multimedia.cx. While I can offer a crazy amount of monthly bandwidth, I can’t offer rsync (invaluable for keeping mirrors in sync), nor can the server provide anonymous FTP or allow me to offer accounts to other admins who can manage the repository.
The samples archive is also mirrored at samples.libav.org/samples. I understand that service is provided by VideoLAN. Right now, both repositories are known to be static. I’m open to brainstorms about how to improve the situation.