
Recherche avancée
Médias (1)
-
SWFUpload Process
6 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (51)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (6368)
-
Kodi : playback several video files from the internet as single movie with single timeline
30 mai 2018, par HarryFoxI’m writing an add-on for Kodi in Python, for a site with movie collection, which can be able to playback online video from the site. But problem is that many of them splitted apart on pieces of different length. And its not mpeg dash nor m3u playlists, its just individual pieces of single movie or an episode.
My target is able to play those splitted videos as single movie with single timeline and playback will no require download all pieces of a movie. It’s important because many of Movies\episodes provides with subtitle file, that why single timeline is important. Also general idea for plugin which I’m writing is comfort to use, so online playback is very important too.
I did some research but it almost no result. On official Kodi forum advise to create Input Stream add-on like Input Stream Adaptive, but it was written on c++ and it’s unattainable for me (for now at least). There is no tools for python to create such kind of add-ons.
Another idea is to create middle server which on fly will somehow (with ffmpeg) combine those pieces, but it seems that the process will too resource-intensive especially for TV-boxes.
In this case also raise many question about which way is better, and i have no enough experience and knowledge to solve the problems by myself even with google.So i need an advice how can i solve the problem, just to know right direction.
Thank you for your time.
Sorry for my English. -
Ffmpeg converting to mp4 from mkv[mpeg@ 0x7f9c19800000] start time for stream 0 is not set in estimate_timings_from_pts
6 février 2018, par croakouttatuneI recently converted a number of anime episodes from MKV to MP4 to burn and watch on my SamsungBRPlayer, however during the process I wasn’t able to convert the subtitle stream #0:2 through ffmpeg from .ssa to .srt thru their respective codecs (SSA to MOV_TEXT, can also be SUBRIP). I eventually decided to extract the SSA files and encode them as .srt... one for each episode. I converted these to .srt and plugged them back into the 8 episodes.
for i in *.mkv;do ffmpeg -i "$i" -i *.srt -c copy -c:s mov_text -c:v h264_videotoolbox -c:a aac -b:a 128k -target ntsc-dvd -y "yfolder/${i%.mkv*}.mp4"; done
After testing the compatibility of these files I know that this video codec will work, and the BluRay player I use also recognizes the subtitle files ; However , when looking back at the streams #0:0 which is where the subtitles are stored gives me "[mpeg @ 0x7f8621000000] start time for stream 0 is not set in estimate_timings_from_pts." This stream #0:O is now a data stream...0:1 video 0:2 being audio ...
One of the reasons I thought that I could have received this message is from an Attachment from the original MKV files in the #0:3 stream, which because it wasn’t anything more than metadata I ignored.
Another would probably be from the code mentioned above importing multiple .srt files into each of the new .mp4 files. I did find a solution however I’m not able to utilize the coding.$ for video in *.mkv
do
base=${video%.mkv} ffmpeg -i $base.mkv -vf subtitles=$base.srt
$base-out.mkv ; doneI couldn’t seem to get it to work. My files were as follows :
[AnimeGT] Hansom Gold - 001 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 002 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 003 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 004 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 005 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 006 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 007 [720p] [suitup].mp4
[AnimeGT] Hansom Gold - 008 [720p] [suitup].mp4
So the titles are obviously fake but whatever. What I need to know is how to use the
${I%.*}.mp4
and${h%.*}.srt
to represent both the base and the video variables in the coding I failed at above.
While keeping the data stream from each file.
if that’s the problem. Some help would be nice.[mpeg @ 0x7f9c19800000] start time for stream 0 is not set in estimate_timings_from_pts
I need to know how to deal with this.
-
FFMPEG batch convert mkv with subtitles hardcode - tv shows [duplicate]
5 décembre 2017, par ValantisThis question already has an answer here :
hello i want to convert hardcode mkv files with their subs ( .srt ) for single episode for example i use
ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi
and its ok.. i want to try if is possible to make a bash batch script to do that on a directory with several mkv’s there..
i tried with that code but the result of the show is the same with all episodes something i must changed to make it work
#!/bin/bash
for video in *.mkv
do
base=${video%.mkv}
ffmpeg -i $base.mkv -vf subtitles=$base.el.srt $base-out.mkv
donethanks for any help