Posts by Franco888999

    I have a problem with HVEC stream from iptv, this is the log while change from a channel in h264 and after to a channel in HVEC,
    In Kodi for pc work correctly, but in libreelec and android is not working and I have to switch off and on the box to restart the video.
    Seems that the video go to a totaly wrong value.
    Please Kszaq can you see what is appening?
    Thank you.

    [ 351.776625@3] codec:video_blackout_policy_store(0)
    [ 351.776728@3] [tsync_avevent]event:1, param 1
    [ 351.776738@3] video pause!
    [ 351.795538@0] codec:video_receiver_event_fun: sent uevent FRAME_RATE_END_HINT
    [ 351.795656@0] DI: di_receiver_event_fun , is_bypass() 1 trick_mode 0 bypass_all 0
    [ 351.795668@0] di_receiver_event_fun: vf_notify_receiver unreg
    [ 351.795696@1] DI: di_task_handle,up enter unreg process.
    [ 351.795709@1] DI: di_unreg_process unreg start 1.
    [ 351.795735@1] codec_mm:NULL mem_handle for keeper!!
    [ 351.795765@1] codec:alloced keep buffer yaddr=0000000078b00000,u_addr=0000000078f00000,v_addr=0000000079000000
    [ 351.795779@1] codec:vf_keep_current keep_y_addr=0000000078b00000 763c3000
    [ 351.795790@1] codec:ge2d_store_frame_NV21 cur_index:s:0x626160
    [ 351.795806@1] codec:ge2d_store_frame d:0xd9d8
    [ 351.799382@1] codec:vf_keep_current: VIDTYPE_VIU_NV21
    [ 351.799402@1] codec:vf_keep_current: keep video on with keep
    [ 351.799413@1] [tsync_avevent]event:2, param 0
    [ 351.799425@1] codec:video first pts = 0
    [ 351.799448@1] DI: di_unreg_process unreg stop 0.
    [ 351.799460@1] DI: di_task_handle,up enter unreg process.
    [ 351.799471@0] DI: di_unreg_process_irq unreg irq start.
    [ 351.799510@0] di_unreg_process_irq unreg irq stop.
    [ 351.805743@0] DI: di_receiver_event_fun:unreg_req_flag_cnt:0 timerc_cnt 39500!!!
    [ 351.805842@0] codec:vdec1 video changed to 0 x 0 0 fps clk->200MHZ
    [ 351.806424@0] codec:vdec_create instance ffffff8004b8a000, total 1
    [ 351.806537@0] codec:Video stbuf alloced at 0000000075200000, size = 3145728
    [ 351.806564@0] codec:vdec_init, dev_name:amvdec_h264, vdec_type=VDEC_TYPE_SINGLE
    [ 351.806574@0] codec:vdec_init set vfm decoder ffffff8004b8a000
    [ 351.806586@0] codec:vdec_dev_reg.mem[0x75500000 -- 0x784fffff]
    [ 351.815376@0] codec:H264 sysinfo: 1280x720 duration=3840, pts_outside=1,
    [ 351.815818@0] codec:vdec_request_irq ffffffc0015b30a0, vh264-irq
    [ 351.815901@0] DI: di_receiver_event_fun: vframe provider reg
    [ 351.815954@0] DI: di_task_handle,up enter reg process.
    [ 351.825975@0] DI: di_receiver_event_fun:reg_req_flag_cnt:0!!!
    [ 351.826013@0] set run_early_proc_fun_flag to 1
    [ 351.826432@0] codec:video_receiver_event_fun: sent uevent FRAME_RATE_HINT=3840
    [ 351.826499@0] codec:vdec_init, vf_provider_name =
    [ 351.827133@0] codec:video first pts = 0
    [ 351.827152@0] codec:vdec_request_irq ffffffc0015a4b28, parser
    [ 351.827438@0] codec:video_blackout_policy_store(1)
    [ 353.249032@2] codec:DisableVideoLayer()
    [ 353.265550@0] codec:video_receiver_event_fun: sent uevent FRAME_RATE_END_HINT
    [ 353.265600@0] DI: di_receiver_event_fun , is_bypass() 0 trick_mode 0 bypass_all 0
    [ 353.265602@0] di_receiver_event_fun: vf_notify_receiver unreg
    [ 353.265621@0] DI: di_task_handle,up enter unreg process.
    [ 353.265622@0] DI: di_unreg_process unreg start 1.
    [ 353.265629@0] codec:DisableVideoLayer()
    [ 353.265630@0] codec:disbled keep video before free keep buffer.
    [ 353.265631@0] codec:disbled video for next before free keep buffer!
    [ 353.265633@0] codec:DisableVideoLayer()
    [ 353.265636@0] codec:free_alloced_keep_buffer 0000000078b00000.0000000078f00000.0000000079000000
    [ 353.265644@0] codec:free_alloced_keep_buffer (null). (null). (null)
    [ 353.265646@0] [tsync_avevent]event:2, param 0
    [ 353.265649@0] codec:video first pts = 0
    [ 353.265656@0] DI: di_unreg_process unreg stop 0.
    [ 353.265657@0] DI: di_task_handle,up enter unreg process.
    [ 353.265660@0] DI: di_unreg_process_irq unreg irq start.
    [ 353.265679@0] di_unreg_process_irq unreg irq stop.
    [ 353.268174@0] codec:VsyncDisableVideoLayer
    [ 353.268175@0] codec:AFBC off now.
    [ 353.276246@2] DI: di_receiver_event_fun:unreg_req_flag_cnt:0 timerc_cnt 39651!!!
    [ 353.278781@2] codec:video_disable_store(1)
    [ 353.278785@2] codec:DisableVideoLayer()
    [ 353.278789@2] codec:free_alloced_keep_buffer (null). (null). (null)
    [ 353.278824@2] vfm_map_store:rm default
    [ 353.278849@2] vfm_map_store:add default decoder ppmgr deinterlace amvideo
    [ 353.288174@0] codec:VsyncDisableVideoLayer
    [ 353.288175@0] codec:AFBC off now.
    [ 353.315662@2] vfm_map_store:rm default
    [ 353.315687@2] vfm_map_store:add default
    [ 353.315844@2] vfm_map_store:rm default
    [ 353.315868@2] vfm_map_store:add default decoder ppmgr deinterlace amlvideo amvideo
    [ 353.316096@2] codec:vdec_create instance ffffff8004bbb000, total 1
    [ 353.316157@2] codec:HEVC stbuf alloced at 0000000075200000, size = 6291456
    [ 353.316163@2] codec:vdec_init, dev_name:amvdec_h265, vdec_type=VDEC_TYPE_SINGLE
    [ 353.316164@2] codec:vdec_init set vfm decoder ffffff8004bbb000
    [ 353.316167@2] codec:vdec_dev_reg.mem[0x0 -- 0x0]
    [ 353.316171@2] codec:vdec base memory alloced [0000000075800000 -- 00000000778fffff]
    [ 353.435061@2] codec_mm:end: cached pages: 16384, speed 120 ms
    [ 353.435069@2] [0]h265:pts_unstable=0
    [ 353.435072@2] [0]h265: ver (201602101,0) decinfo: 1280x720 rate=3840
    [ 353.435407@2] [0]vh265 mmu ucode loaded!
    [ 353.435658@2] DI: di_receiver_event_fun: vframe provider reg
    [ 353.435678@2] DI: di_task_handle,up enter reg process.
    [ 353.445685@2] DI: di_receiver_event_fun:reg_req_flag_cnt:0!!!
    [ 353.445689@2] set run_early_proc_fun_flag to 1
    [ 353.446572@2] codec:video_receiver_event_fun: sent uevent FRAME_RATE_HINT=3840
    [ 353.446670@2] codec:hevc video changed to 3840 x 2160 60 fps clk->667MHZ
    [ 353.446690@2] codec:vdec_init, vf_provider_name =
    [ 353.447066@2] codec:video first pts = 0
    [ 353.447069@2] codec:vdec_request_irq ffffffc0015a4b28, parser
    [ 353.447160@2] [tsync_avevent]event:1, param 1
    [ 353.447163@2] video pause!
    [ 353.447272@2] codec:video_freerun_mode_store(1)
    [ 353.447401@2] codec:video first checkin pts = 0
    [ 353.447403@2] codec:first check in vpts <0x0:0x0> ok!
    [ 353.535156@1] [0]set pic_list_init_flag 1
    [ 353.535167@1] [0]allocate begin
    [ 353.535169@1] [0]allocate end
    [ 353.536289@1] [0]init_decode_head_hw: (1280, 720) body_size 0x167600 header_size 0xf00
    [ 353.536292@1] [0]init_buf_spec2 1280 720
    [ 353.536294@1] [0]set pic_list_init_flag to 2
    [ 353.536311@1] [0]set pic_list_init_flag to 3
    [ 353.541548@1] [0]Bit depth luma = 13
    [ 353.541550@1] [0]Bit depth chroma = 13
    [ 353.541555@1] [0]Pic Width/Height Change (1280,720)=>(38002,37493), interlace 0
    [ 353.541562@1] [0]init_decode_head_hw: (38002, 37493) body_size 0xa9f68000 header_size 0x54fb40
    [ 353.541563@1] over size : 38002 x 37493.
    [ 412.333930@0] aml_snd_m8_card aml_m8_snd.46: I2S playback disable
    [ 412.333945@0] aml_snd_m8_card aml_m8_snd.46: IEC958 playback disable
    [ 412.333985@0] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=48000, same source mode(1)
    [ 412.333989@0] aml_spdif_dai: share the same clock
    [ 412.333993@0] aml_spdif_dai: iec958 mode PCM16
    [ 412.334000@0] aml_audio_hw: IEC958 16bit
    [ 412.334006@0] hdmitx: audio: aout notify rate 48000
    [ 412.334009@0] hdmitx: audio: aout notify size 16
    [ 412.334013@0] hdmitx: audio: no update
    [ 412.334018@0] aml_snd_m8_card aml_m8_snd.46: i2s/958 same source
    [ 422.334489@0] aml_spdif_dai: enterd aml_spdif_play,set_clock:4,sample_rate=4
    [ 422.334647@0] aml_spdif_dai: set normal 512 fs /4 fs
    [ 422.334679@0] aml_audio_hw: IEC958 16bit
    [ 422.334704@0] hdmitx: audio: aout notify rate 48000
    [ 422.334722@0] hdmitx: audio: aout notify size 16
    [ 422.334739@0] hdmitx: audio: no update

    Hi,
    Hi need some help please,I'm trying to build the image but it fail at the very end of the process:
    Building Amlogic DeviceTreeBlobs and injecting them to kernel...
    ./scripts/image: line 268: /home/andrea/http://LibreELEC.tv/tools/dtbTool/dtbTool: No such file or directory
    Makefile:12: recipe for target 'image' failed
    make: *** [image] Error 1

    I can't understand why because the dtbTool is there!
    please can someone help?
    Thank you.

    Thank you!!!!!!!!!!!!
    but.. yes it boot at 50hz but every time I change channel it go at 60hz and after to 50hz, may be can be this?
    pipe://ffmpeg -loglevel fatal -i xx.ts -c copy -flags +global_header -strict -2 -metadata service_provider="Provaider" -metadata service_name="Service" -f mpegts pipe:1

    now I want to try this instead.
    pipe://ffmpeg -loglevel fatal -re -i xx.ts -c copy -acodec copy -metadata service_provider="Provaider" -metadata service_name="Service" -f mpegts pipe:1

    Still the same, I can't understand if it's tvheadend or libreelec/kodi or ffmpeg that produce the problem.
    For what I know ffmep it's needed only when tvheadend scan the services the first time.
    Some idea's?
    Please.

    Franco - I had a similar query regarding default frame rate. As it should be 50Hz for European users (who use TV), rather than 60Hz. See post #509 for details.

    The "fix" is to modify the u-boot settings by telnet/ssh into the box and issuing the following:

    Code
    fw_setenv hdmimode 1080p50hz; fw_setenv outputmode 1080p50hz

    Thank you!!!!!!!!!!!!
    but.. yes it boot at 50hz but every time I change channel it go at 60hz and after to 50hz, may be can be this?
    pipe://ffmpeg -loglevel fatal -i xx.ts -c copy -flags +global_header -strict -2 -metadata service_provider="Provaider" -metadata service_name="Service" -f mpegts pipe:1

    now I want to try this instead.
    pipe://ffmpeg -loglevel fatal -re -i xx.ts -c copy -acodec copy -metadata service_provider="Provaider" -metadata service_name="Service" -f mpegts pipe:1

    Hi,
    is there someone that can tell me how to change the output frequencies (even when it's booting) from 60hz to 50hz?
    The kodi settings seems to be ignored, I don't know why.
    If I play a video it goes from 60Hz to the correct refresh rate and could be ok, but if I use the pvr Tvheadend every time I change the channel it switch to 60hz immediatly and after 3-4 seconds switch to 50hz that is the correct one (I'm in europe).
    Thank you.