Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
30th April 2015, 14:21 | #1 | Link |
Registered User
Join Date: Apr 2015
Location: Rennes, France
Posts: 2
|
vlc stuck on the first frame when recording and displaying
Hi everybody, It's nice to survive to my 5 waiting days and hopefully get some help from you.
I hope that's the right place to post because I imagine that's a VLC problem (or most probably me using VLC ) fits with software player... So let's started ! My goal is to record and display an IP caméra using a .bat script using VLC. I'm working with VLC 2.1.5 Rincewind under windows 7. Here is my script : ____________________________________________________________ Code:
cd C:\Program Files (x86)\VideoLAN\VLC\ IF EXIST C:\Users\neonat\Desktop\Sandie_C\Enregistrements set folder=C:\Users\neonat\Desktop\Sandie_C\Enregistrements :FILE set /p nom=Entrer le nom du patient set /p prenom=Entrer le prenom du patient set /p date=Entrer la date de l'enregistrement (sous la forme JJMMAA) set /p heure=Entrer l'heure de l'enregistrement (sous la forme HHMM) set file=%nom%_%prenom%_%date%_%heure% set /p extension=Enter extension fichier video set fullPath=%folder%\%file%.%extension% echo %file% echo %fullPath% if exist %folder%\%file%.%extension% (echo "file already exists") else GOTO RECORDING GOTO FILE :RECORDING REM ENREGISTREMENT CONTENEUR .TS CODECS : H264 / AAC REM display bloqué sur la premiere image (diffusion du son ok) REM enregistrement log + visionnage possible par vlc à la suite vlc --extraintf=logger --verbose=2 --logfile=%folder%\vlc_%file%_%extension%.log --logmode=text --file-logging --save-config --network-caching=500 rtsp://root:root@192.168.1.114/axis-media/media.amp --sout "#transcode{vcodec=h264,qmin=10,qmax=10, fps=25,deinterlace}:duplicate{dst=display,dst=standard{access=file, mux=ts,dst=%fullPath%}}" set "folder=" set "file=" set "extension=" set "nom=" set "prenom=" set "date=" set "heure=" pause @echo finish I found some answers over forum but none worked ( something about a problem with default demux, update VLC wich is worst because nothing works after that...) Any help would be apreciated. I hope my post is well located on this forum and that my approximative english didn't burn your eyes. Early thanks for your answers. Last edited by Sandie C; 30th April 2015 at 14:29. Reason: grammar |
4th May 2015, 14:16 | #3 | Link |
Registered User
Join Date: Apr 2015
Location: Rennes, France
Posts: 2
|
Sorry for my late answer I thought I will receive an email in case of answer. Thank you, I'll try somewhere else... ( on videoLan forum nobody gives me an answer... ) Why is VLC not popular here ? Should I use something else ?
|
4th May 2015, 15:22 | #4 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,903
|
if i don't interpret your script wrong you are using an transcode.
if transcoding is needed you my can't use player like MPC-HC. but why should it be needed in the first place. and yeah nearly everything should be better than VLC. |
Tags |
display, record, stuck on the first frame, vlc media player |
Thread Tools | Search this Thread |
Display Modes | |
|
|