Mpv: .m3u8 not support record(use "redcord-file" option)

Created on 26 Jul 2018  路  2Comments  路  Source: mpv-player/mpv

version:latest mpv
platform:windows 10

Reproduction steps

1.download lastest mpv from there "https://mpv.srsfckn.biz/mpv-x86_64-20180722.7z"
2.open cmd,input command mpv http://ivi.bupt.edu.cn/hls/cctv1.m3u8 --record-file=recordtest.flv

Expected behavior

generate a recording file and playable

Actual behavior

generated a file,but file size always 0KB

Log file

[ffmpeg] flv: Tag [27][0][0][0] incompatible with output codec id '27' ([7][0][0][0])
[recorder] Writing header failed.
Disabling stream recording.
AO: [wasapi] 48000Hz stereo 2ch float
VO: [gpu] 1024x576 yuv420p
(Buffering) AV: 00:00:20 / 00:00:20 (98%) A-V:  0.000 Cache:  0s+63KB
[ffmpeg/demuxer] mpegts: PES packet size mismatch
Invalid audio PTS: 20.266667 -> 29.994667

Most helpful comment

record it as MPEG-TS (.ts) then convert later if desired with whatever one uses in windows for such tasks..

All 2 comments

record it as MPEG-TS (.ts) then convert later if desired with whatever one uses in windows for such tasks..

@mc4man thanks for reply.it's working

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  3Comments

532910 picture 532910  路  3Comments

szg0000 picture szg0000  路  3Comments

xanadupark picture xanadupark  路  3Comments

jcowgill picture jcowgill  路  3Comments