Opened 11 months ago

Last modified 11 months ago

#6946 new defect

Start And End Time SS

Reported by: fliston Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hello,
I'm having issues with the start and end time of videos when encoding.
I'm using SmoothStreaming? as output and UnifiedStreaming? as delivery. When I ask US for a solution they said that is an encoding time problem.
https://imgur.com/a/8Vtic
As is seen on the image, StarT and End time for the ismv files are from 1970.
How can I change that?
Thanks

Change History (4)

comment:1 Changed 11 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Keywords Time Date removed

Please provide the ffmpeg command line you tested together with the complete, uncut console output to make this a valid ticket.

comment:2 Changed 11 months ago by fliston

ffmpeg -nostdin -loglevel verbose -hwaccel cuvid -c:v h264_cuvid -resize 1920x1080 -y -re -i udp://239.255.0.21:2121?pkt_size=1316\&buffer_size=409600\&fifo_size=1000000\&overrun_nonfatal=1 -filter_complex [i:0x1e10]hwdownload,format=nv12[base];[i:0xc1]scale=1920:1080[subtitle];[base][subtitle]overlay[v];[v]hwupload_cuda[v] -map [v] -c:v h264_nvenc -preset slow -bf 2 -g 50 -keyint_min 50 -forced-idr 1 -aud 1 -strict_gop 1 -pcr_period 5 -b:v 2000k -maxrate 2160k -bufsize 5000k -map i:0x1081 -c:a libfdk_aac -ac 2 -b:a 64k -map i:0x1082 -c:a libfdk_aac -ac 2 -b:a 64k -metadata -metadata:s:a:0 language=eng -metadata:s:a:1 language=spa -f mpegts udp://233.33.33.33:3333
lspencoder0_1  | ffmpeg version N-89629-gefb63e4 Copyright (c) 2000-2017 the FFmpeg developers
lspencoder0_1  |   built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
lspencoder0_1  |   configuration: --prefix=/usr/local/ffmpeg_build --extra-cflags='-I/usr/local/ffmpeg_build/include -I/usr/local/cuda/include/' --disable-yasm --extra-ldflags='-L/usr/local/ffmpeg_build/lib -L/usr/local/cuda/lib64/' --bindir=/usr/local/bin --extra-libs=-ldl --enable-nvenc --enable-cuda --enable-libnpp --enable-cuvid --enable-gpl --enable-libx264 --enable-libfdk-aac --enable-nonfree --enable-version3
lspencoder0_1  |   libavutil      56.  7.100 / 56.  7.100
lspencoder0_1  |   libavcodec     58.  9.100 / 58.  9.100
lspencoder0_1  |   libavformat    58.  3.100 / 58.  3.100
lspencoder0_1  |   libavdevice    58.  0.100 / 58.  0.100
lspencoder0_1  |   libavfilter     7.  8.100 /  7.  8.100
lspencoder0_1  |   libswscale      5.  0.101 /  5.  0.101
lspencoder0_1  |   libswresample   3.  0.101 /  3.  0.101
lspencoder0_1  |   libpostproc    55.  0.100 / 55.  0.100
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] SPS unavailable in decode_picture_timing
lspencoder0_1  | [h264 @ 0x275e1c0] non-existing PPS 0 referenced
lspencoder0_1  | [h264 @ 0x275e1c0] decode_slice_header error
lspencoder0_1  | [h264 @ 0x275e1c0] no frame!
lspencoder0_1  | [h264 @ 0x275e1c0] Reinit context to 1920x1088, pix_fmt: yuv420p
lspencoder0_1  | [h264 @ 0x275e1c0] Increasing reorder buffer to 2
lspencoder0_1  | [    INFO] - 2018-01-04 20:21:15 - 172.18.0.5 - - [04/Jan/2018 20:21:15] "GET /api/job HTTP/1.1" 200 -
lspencoder0_1  | Input #0, mpegts, from 'udp://239.255.0.21:2121?pkt_size=1316\&buffer_size=409600\&fifo_size=1000000\&overrun_nonfatal=1':
lspencoder0_1  |   Duration: N/A, start: 3738.497989, bitrate: N/A
lspencoder0_1  |   Program 251 
lspencoder0_1  |     Stream #0:0[0xc1](spa): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
lspencoder0_1  |     Stream #0:1[0x1081](eng): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
lspencoder0_1  |     Stream #0:2[0x1082](spa): Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
lspencoder0_1  |     Stream #0:3[0x1e10]: Video: h264 (Main), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, top first, left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
lspencoder0_1  | [Parsed_scale_2 @ 0x275fb80] w:1920 h:1080 flags:'bilinear' interl:0
lspencoder0_1  | [h264_cuvid @ 0x27c9280] Initializing cuvid hwaccel
lspencoder0_1  | [AVBSFContext @ 0x3438a80] The input looks like it is Annex B already
lspencoder0_1  | [h264_cuvid @ 0x27c9280] CUVID capabilities for h264_cuvid:
lspencoder0_1  | [h264_cuvid @ 0x27c9280] 8 bit: supported: 1, min_width: 48, max_width: 4096, min_height: 16, max_height: 4096
lspencoder0_1  | [h264_cuvid @ 0x27c9280] 10 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
lspencoder0_1  | [h264_cuvid @ 0x27c9280] 12 bit: supported: 0, min_width: 0, max_width: 0, min_height: 0, max_height: 0
lspencoder0_1  | Stream mapping:
lspencoder0_1  |   Stream #0:0 (dvbsub) -> scale (graph 0)
lspencoder0_1  |   Stream #0:3 (h264_cuvid) -> hwdownload (graph 0)
lspencoder0_1  |   hwupload_cuda (graph 0) -> Stream #0:0 (h264_nvenc)
lspencoder0_1  |   Stream #0:1 -> #0:1 (ac3 (native) -> aac (libfdk_aac))
lspencoder0_1  |   Stream #0:2 -> #0:2 (ac3 (native) -> aac (libfdk_aac))
[h264_cuvid @ 0x27c9280] Initializing cuvid hwaccel    0kB time=-577014:32:22.77 bitrate=  -0.0kbits/s speed=N/A    

comment:3 follow-up: Changed 11 months ago by cehoyos

Is this a cuvid-only issue and only reproducible with the external library libfdk?

comment:4 in reply to: ↑ 3 Changed 11 months ago by fliston

Replying to cehoyos:

Is this a cuvid-only issue and only reproducible with the external library libfdk?

I don't think so.
My question is a general one. Is it possible to set metadata of start and end time?

Thanks

Note: See TracTickets for help on using tickets.