On Wed, Oct 30, 2024 at 11:36:40AM +1000, George Daramouskas wrote:
> pts_time and dts_time look correct, same for the rest of the a/v streams.
> 
> Now I want to seek on that hls and cut chunks out of it:
> 
> `
> ./ffmpeg_g -y -ss 1729592740.898000 -t 2 -seek_timestamp 1 -i
> https://10.21.6.110/stream1.m3u8 /tmp/test123.mp4
> `
> 
> I am getting `could not seek to position 1729592740.898` and I end up with
> an improper mp4 cut from live instead from the right timestamp.

Even though you get full date metadata, ffmpeg never reads it on
playback side. So it's easier to give up on that for now.

Even assuming we are stuck with seeking on 0-based timeline, it's still
not immediately clear how to ask ffmpeg to seek when giving it HLS
stream. But that's a simpler problem and might be of interest to a bunch
of other people.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to