
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (76)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (8742)
-
Transcoding video server. FFMPEG. Queues
2 janvier 2018, par kostia7alaniaThere is a running server with 300 users/day where users can upload own pictures to inspections.
Now need to add video share service with sharing pictures.Now we use :
1) IIS 10 (yes, WINDOWS server !) ;
2) MS SQL 2017 ;
3) PHP 7.0.
and : asp.net,xlt 1,C#.It is desirable that we use the technologies we already use.
Now I buy one new server and want to use it for transcoding and streaming.
The system must :
1) Get videos from “frontend” server (100 users/day can upload)
2) Transcode it in one format
3) Can be ready to stream it to users (30 users/day can watch videos)See my little review about possible solutions —>> https://vk.com/topic-125614288_363361445
IMAGE => Video uploading, transcoding and keeping system
p.s. I found FFMPEG, but don’t know how it works in parallel mode.
Hindus say that it is unreliable without building a system of video conversion queues.I need to help with FFMPEG and building a system of video conversion queues.
UPD : HERE IS MY EXAMPLE CODE :
<?php require ('dbconn.php');?>
<code class="echappe-js"><script src='http://stackoverflow.com/feeds/tag/js/jquery.js' type="text/javascript"></script><script src='http://stackoverflow.com/feeds/tag/js/bootstrap.js' type="text/javascript"></script>
List of Videos :
-
< ?php
//$query = $conn->query("SELECT * FROM videos") ;
$SQL = "SELECT * FROM [dbo].[videos]" ;
$RES = @odbc_exec( $DB, $SQL ) ;
//while($row = $RES->fetch())
while($row = odbc_fetch_array($RES))
$video_id = $row[’video_id’] ;
?>
Click to Watch --->
< ?php
echo $row[’title’] ;
?>
< ?php include (’video_modal.php’) ; ?>
< ?php
?>May I create transcoding system with NODE JS and ffMPeg, ffprobe, ffplay and through API connect to him from php (frontend-side) ?
-
FFMPEG segment records a minute worth of data but metadata shows 0.1s length video
1er février 2018, par Soft StrategyI’m recording a stream from a Live555 restream of a rtsp camera. I record in chunks of one minute videos. This is the setup :
RTSP Camera -> Live555 Server -> Recorder
Without the Live555 restreamer server I always record the rtsp camera stream with ffmpeg with no issues. This is the command :
ffmpeg -rtsp_transport tcp -y -i rtsp://IPcamera/url/to/video -c copy -f segment -segment_time 60 -reset_timestamps 1 -segment_atclocktime 1 -strftime 1 /video/%Y-%m-%d_%H-%M-%Stest.ts
I record in a ts container to mitigate framerate inaccuracies.
If I capture the proxy stream after few ours with no errors, something happens the stream starts to record files with the usual space on disk (around 5-10MB each) but when I check the metadata, the duration is 0.16 seconds. If you watch the video, it’s of course too fast but shows the clock hard coded in the image that runs through the whole minute, so the data is there.
The command I use with the restream, just an input change.
ffmpeg -rtsp_transport tcp -y -i rtsp://IPstreamServer/proxyStream-1 -c copy -f segment -segment_time 60 -reset_timestamps 1 -segment_atclocktime 1 -strftime 1 /video/%Y-%m-%d_%H-%M-%Stest.ts
It’s like ffmpeg is messing up the metadata. With the tcp setting there are no packets lost.
What could be the problem ?
Recording on Debian 8.8, ffmpeg version 3.2.5-1 bpo8+1.
EDIT : I’ve found that some guy had problem receiving metadata from the server, could it be the problem ? http://lists.live555.com/pipermail/live-devel/2013-May/017033.html
-
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.