-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video Latency #1
Comments
firstly thanks for your wonderful work. this is the code that i used: rm videots uv4l --driver raspicam --width 640 --height 480 --auto-video_nr --encoding h264 --bitrate 400000 --enable-server off sudo chrt -a -r -p 99 LD_PRELOAD='' cvlc v4l2:///dev/video1 --no-drop-late-frames --no-skip-frames --live-caching=0 --v4l2-width 640 --v4l2-height 480 --v4l2-chroma h264 --sout-mux-caching 50 --sout-ts-dts-delay 0 --sout '#std{access=file,mux=ts,dst=-}' > videots & sudo /home/pi/RpiDATV/RpiDATV videots 500 1 0 62.5 7 & here some VLC options about ts transcoding: |
Thanks in interesting in rpidatv and specially fix the video delay ! Other transport Stream output way could be To compute the transport Stream bitrate : TsRate = SymbolRate_2_188/204_FEC |
I think that gstreamer has the usual problem with latency. $ gst-launch-1.0 rpicamsrc bitrate=480784 preview=0 ! video/x- h264,width=720,height=480,framereate=30,profile=high ! h264parse ! mpegtsmux ! filesink location=videots So I have decided to try gstreamer on my pc, I wrote a ts fifo file with gstreamer and I read it with vlc. The result: 2 seconds of delay.... where do these bits stop ? $ gst-launch -e -v v4l2src device="/dev/video0" ! x264enc bitrate=498 ! mpegtsmux ! filesink location=videots I don't know if transport stream permits to transmit a 0 latency video. thank you |
Migrate to libmpegts instead of ffmpeg to encapsulate ES to TS. |
Better implementation of boot/config.txt changes for touchscreen
Output bitrate from ffmpeg seems not set at exactly the bitrate causing rpidatv to wait for samples and wrong timecodes.
Ways to correct :
Output actual ffmpeg transport stream over IP is around 100ms latency.
The text was updated successfully, but these errors were encountered: