-
Notifications
You must be signed in to change notification settings - Fork 173
Closed as not planned
Labels
questionFurther information is requestedFurther information is requested
Description
在Macos上使用APTV时,调用视频快照刷新预览图时出现问题,尝试了三个请求方式
一、在流媒体 URL 后添加 snapshot=1 参数
二、在APTV的自定义Header中添加Accept=image/jpeg
三、在APTV的自定义Header中添加X-Request-Snapshot=1
查看debug日志可以发现ffmpeg是成功的
08:45:02 DEBUG [Worker 0] Snapshot: Executing ffmpeg: ffmpeg -hwaccel vaapi -loglevel error -f mpegts -i /proc/self/fd/12 -frames:v 1 -q:v 8 -f image2 -y /proc/self/fd/14 2>&1
08:45:02 DEBUG [Worker 0] Snapshot: JPEG conversion successful (128606 bytes)
08:45:02 DEBUG [Worker 0] zerocopy_queue_add_file: Queued file fd=14 offset=0 size=128606
08:45:02 INFO [Worker 0] Snapshot: Sent JPEG response (128606 bytes)
08:45:02 DEBUG [Worker 0] Zero-copy: sendfile complete (128606 bytes)
但是当我使用直播观看时,发现画面是一帧一帧的,感觉像是ffmpeg实时再截图然后传输过来播放。
详细的debug日志如下,不知道是什么问题,劳烦佬指教下。
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested