Hello,
I use the 1080p camera and use the MJPG Streamer Version: svn rev: 3: 172 via Raspbery Pi 2
here everything works
On a remote server I do restream with fmpeg.
After transcoding, the picture moves quickly
CMD:
ffmpeg -re -i 'http://USER:PASSWORD@10.111.106.231:60068/?action=stream' -aspect 16:9 -pix_fmt yuv420p -c:v libx264 \
-profile:v baseline -b:v 1200k -filter:v "setpts=2.0*PTS" -an \
-vf drawtext="fontfile=/root/home_tv/Open_24_Display_St.ttf:text='%{localtime\:%T %d.%m.%Y}':fontcolor=black@1:box=1:boxcolor=yellow @1=10:y=10:fontsize=21" -x264opts keyint=75 \
-s 640x360 -map 0 -flags -global_header -f segment -segment_list /T9/home_tv_archive/live.m3u8 -segment_wrap 34560 -segment_time 5 \
-segment_format mpeg_ts -segment_list_type m3u8 -segment_list_flags +live -segment_list_size 34560 /T9/home_tv_archive/home%05d.ts
can you tell me where my mistake is?
I have an archive for 48 hours. So I'm guarded by thieves![]()
+ Reply to Thread
Results 1 to 7 of 7
-
-
IMHO this is your problem (bold red):
Code:ffmpeg -re -i 'http://USER:PASSWORD@10.111.106.231:60068/?action=stream' -aspect 16:9 -pix_fmt yuv420p -c:v libx264 \ -profile:v baseline -b:v 1200k -filter:v "setpts=2.0*PTS" -an \ -vf drawtext="fontfile=/root/home_tv/Open_24_Display_St.ttf:text='%{localtime\:%T %d.%m.%Y}':fontcolor=black@1:box=1:boxcolor=yellow @1=10:y=10:fontsize=21" -x264opts keyint=75 \ -s 640x360 -map 0 -flags -global_header -f segment -segment_list /T9/home_tv_archive/live.m3u8 -segment_wrap 34560 -segment_time 5 \ -segment_format mpeg_ts -segment_list_type m3u8 -segment_list_flags +live -segment_list_size 34560 /T9/home_tv_archive/home%05d.ts
-
I removed -filter: v "setpts=2.0*PTS" but the speed is still fast
I did a test with "setpts=1.0*PTS" but no resultLast edited by Veliko; 31st Dec 2018 at 10:47.
-
you can try to slow PTS (numbers lower than 1) but perhaps this is nature of source - i mean speed - i see -re option that imply native source speed processing thus everything looks correct. Record source and test offline.
Similar Threads
-
8mm tape no picture except when fast forwarding
By boxcars20 in forum Capturing and VCRReplies: 16Last Post: 20th Jan 2020, 23:32 -
Poor picture quality during fast sequences
By Mike2112 in forum DVD & Blu-ray PlayersReplies: 7Last Post: 6th Aug 2018, 03:38 -
Mitsubishi VCR - Can Only See Picture in Fast Forward or Rewind or Pause
By digicube in forum Capturing and VCRReplies: 2Last Post: 28th Jun 2017, 21:53 -
Animated flags, GIF, Cyber PowerDirector, Picture in picture
By SearchQuality in forum Video ConversionReplies: 9Last Post: 6th Apr 2017, 10:04 -
How to make Picture in Picture video??
By MEANGUNS in forum Newbie / General discussionsReplies: 6Last Post: 31st Dec 2014, 07:48