dash icon indicating copy to clipboard operation
dash copied to clipboard

Segment sizes

Open serhan-gul opened this issue 6 years ago • 1 comments

Hi. I would love to know how you obtain from a video sequence the segment sizes that you input to your application. Do you have a pipeline to directly obtain that from the dashed representations, or do you use some tool like FFmpeg on the different encodings of the video and pre-generate all the txt files for different representations?

My naive pipeline is to encode videos corresponding to different representation into mp4 files and then run ffprobe on them to get the frame size information in bytes using a command like: ffprobe Test.mp4 -show_frames | grep pkt_size > framesizes.csv

Then depending on the frame rate and length of a segment, one knows how many frames are in a segment and adds the size of that many frames to get the size of a segment. However, I thought you may have a more straightforward pipeline and would appreciate any hints. Thanks!

serhan-gul avatar Sep 12 '18 15:09 serhan-gul

I have obtained this from a colleague, who has done a complete pipeline for this. I'll get back to you once I have it, and will include a link to his repo on the readme.

haraldott avatar Oct 30 '18 13:10 haraldott