Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-16-2016, 09:54 AM
piratilla_bcn piratilla_bcn is offline
Junior Member
 
Join Date: Apr 2015
Posts: 28
piratilla_bcn is on a distinguished road
Default

Record real time with ffmpeg?


Hi,

I'm trying to record some TV news station. I'm creating IPTV through DVB capture card from the TV.

I've found that even the stream works when I record the file, it's not the exact time, I mean:

I know that sometimes from the receiving the signal, it can delay between 2 and 10 seconds, but when I try to accurate, I found that ffmpeg delays 3-4 seconds to start recording.

If the TV news show 14:00:00 or with DVB Snoop I check the time at 14:00:00, my recording starts at 14:00:03 or 14:00:04.

I'm doing this test:

ffmpeg -y -i udp://@239.255.7.3:1234 -r 25 -vcodec libx264 -acodec libfdk_aac -ab 48000 -ar 22050 -ac 1 -s 352x288 -f segment -strftime 1 -segment_time 300 -segment_format mp4 /var/tmp/test-Tvnews-%Y%m%d_%H%M%S.mp4

Anyone can help?

Thanks! :-)
Reply With Quote
  #2  
Old 09-17-2016, 05:01 AM
votnhutrang votnhutrang is offline
Junior Member
 
Join Date: Aug 2016
Posts: 3
votnhutrang is on a distinguished road
Default

Quote:
Originally Posted by piratilla_bcn View Post
Hi, I'm trying to record some TV news station. I'm creating IPTV through DVB capture card from the TV. I've found that even the stream works when I record the file, it's not the exact time, I mean: I know that sometimes from the receiving the signal, it can delay between 2 and 10 seconds, but when I try to accurate, I found that ffmpeg delays 3-4 seconds to start recording. If the TV news show 14:00:00 or with DVB Snoop I check the time at 14:00:00, my recording starts at 14:00:03 or 14:00:04. I'm doing this test: ffmpeg -y -i udp://@239.255.7.3:1234 -r 25 -vcodec libx264 -acodec libfdk_aac -ab 48000 -ar 22050 -ac 1 -s 352x288 -f segment -strftime 1 -segment_time 300 -segment_format mp4 /var/tmp/test-Tvnews-%Y%m%d_%H%M%S.mp4 Anyone can help? Thanks! :-)


THIá??T Ká?? WEB Tá?*I THIETKEWEBCHUYEN .COM THEO Y?ŠU Cá?¦U TRá»?N G?“I CHá»? 1.990.000 VND -?€€0902.836.561 (VIBER-ZALO) (Mr. Ngá»?c)

Trang web sá?? thiá??t ká?? giao diện theo y??u cá?§u ri??ng, há»?p sá»? th?*ch, phong thủy, vá?*n mệnh… Ä‘á»? giá»›i thiệu sá??n phá?©m, dịch vá»?, c?´ng ty, cá»*a h?*ng … Ä‘á»? bá??n ph??t triá»?n kinh doanh kh?´ng ngừng.

TRANG WEB Sá?? Ä???á»?C Bá??O H?€NH VĨNH VIỄN

H??y li??n hệ th?´ng tin b??n d?°á»›i ( kh?´ng b?¬nh luá?*n v?*o b?*i viá??t n?*y v?¬ m?¬nh kh?´ng xem lá??i tin nhá??n tá??i Ä‘??y)

+ 0902.836.561 (VIBER-ZALO) (Mr. Ngá»?c) ( bá??n c?? thá»? nhá??n tin Ä‘á»? y??u cá?§u gá»?i lá??i miá»…n ph?*) - 0986.184.211
+ Email: NgocTran@ThietKeWebChuyen.com - SKYPE: confirmdnt
+ Website: ThietKeWebChuyen. com
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:53 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons