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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th April 2015, 14:21   #1  |  Link
Sandie C
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
There is no problem with recording, but when it's going, displaying is stuck on the first frame.

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
Sandie C is offline   Reply With Quote
Old 1st May 2015, 13:55   #2  |  Link
pirlouy
_
 
Join Date: May 2008
Location: France
Posts: 692
VLC is not really popular here. You should ask on VLC official forum, I guess.
pirlouy is offline   Reply With Quote
Old 4th May 2015, 14:16   #3  |  Link
Sandie C
Registered User
 
Join Date: Apr 2015
Location: Rennes, France
Posts: 2
Quote:
Originally Posted by pirlouy View Post
VLC is not really popular here. You should ask on VLC official forum, I guess.
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 ?
Sandie C is offline   Reply With Quote
Old 4th May 2015, 15:22   #4  |  Link
huhn
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.
huhn is offline   Reply With Quote
Reply

Tags
display, record, stuck on the first frame, vlc media player

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:09.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.