VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Dec 2018
    Location
    Sofia
    Search Comp PM
    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
    Quote Quote  
  2. How to download hotstar videos in PC?
    Quote Quote  
  3. Member
    Join Date
    Dec 2018
    Location
    Sofia
    Search Comp PM
    I do it on HLS in the line ffmpeg And then I look it over the web. I use nginx for a stream.
    Quote Quote  
  4. 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
    You are forcing video to be played twice fast - remove this filter or at least change 2 to 1.
    Quote Quote  
  5. Member
    Join Date
    Dec 2018
    Location
    Sofia
    Search Comp PM
    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 result
    Last edited by Veliko; 31st Dec 2018 at 10:47.
    Quote Quote  
  6. 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.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!