A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
What is the expected result?
Packing starts(write video and audio segment files)
What happens instead?
1) 1st case. Starting packager before starting udp stream:
Video and audio init files are created. Only segment audio files are written to disk, segment video files are not written.
As I can see, the packer has detected only one keyframe at the start of the stream.
2) 2nd case. Starting packager after starting udp stream:
Lots of warnings like:
[0902/182442:WARNING:es_parser_h26x.cc(70)] Unusually large number of cached timestamps (243).
As I can see, no one keyframe detected by packager.
No files are written to the disc.
Additional Info:
ffmpeg udp stream info(ffplay and vlc can play this stream):
ffprobe -hide_banner udp://127.0.0.1:5055
Input #0, mpegts, from 'udp://127.0.0.1:5055':
Duration: N/A, start: 1.462000, bitrate: N/A
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:0[0x100]: Video: hevc (Main) (HEVC / 0x43564548), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 24 tbc
Stream #0:10x101: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 162 kb/s
Questoin:
Could you please clarify, if udp stream is incorrectly created, what should be present in stream for successful packaging?
Input file to reproduce the problem is no longer available, if the problem can still be reproduced please reopen the issue and supply a new example file to reproduce.
System info
Operating System: Ubuntu 16.04.7 LTS Shaka Packager Version: 2.4.3
Issue and steps to reproduce the problem
Packager Command: packager 'in=udp://127.0.0.1:5055,stream=audio,init_segment=audio_init.mp4,segmenttemplate=audio$Number$.m4s' 'in=udp://127.0.0.1:5055,stream=video,init_segment=h265_1080p_init.mp4,segment_template=h2651080p$Number$.m4s' --mpd_output h264.mpd
Extra steps to reproduce the problem? create udp mpegts stream: 1) download h265 video sample(https://s3.amazonaws.com/senkorasic.com/test-media/video/caminandes-llamigos/caminandes_llamigos_1080p_hevc.mp4) 2) stream downloaded file over udp with ffmpeg: ffmpeg -re -i ~/Downloads/caminandes_llamigos_1080p_hevc.mp4 -vcodec copy -acodec copy -f mpegts "udp://127.0.0.1:5055"
What is the expected result? Packing starts(write video and audio segment files)
What happens instead? 1) 1st case. Starting packager before starting udp stream: Video and audio init files are created. Only segment audio files are written to disk, segment video files are not written. As I can see, the packer has detected only one keyframe at the start of the stream.
2) 2nd case. Starting packager after starting udp stream: Lots of warnings like:
[0902/182442:WARNING:es_parser_h26x.cc(70)] Unusually large number of cached timestamps (243).
As I can see, no one keyframe detected by packager. No files are written to the disc.Additional Info: ffmpeg udp stream info(ffplay and vlc can play this stream): ffprobe -hide_banner udp://127.0.0.1:5055 Input #0, mpegts, from 'udp://127.0.0.1:5055': Duration: N/A, start: 1.462000, bitrate: N/A Program 1 Metadata: service_name : Service01 service_provider: FFmpeg Stream #0:0[0x100]: Video: hevc (Main) (HEVC / 0x43564548), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 24 fps, 24 tbr, 90k tbn, 24 tbc Stream #0:10x101: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 162 kb/s
Questoin: Could you please clarify, if udp stream is incorrectly created, what should be present in stream for successful packaging?