Opened 17 months ago

Last modified 17 months ago

#8678 new enhancement

Text subtitles in asf

Reported by: Carl Eugen Hoyos Owned by:
Priority: wish Component: avformat
Version: git-master Keywords: asf cc mpv
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

An mpv user provided an asf file that shows subtitles with Windows Media Player.

$ ffmpeg -i i_-b.wmv 
ffmpeg version N-97806-gf603d10b1e Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (SUSE Linux)
  configuration: --enable-gpl --enable-gnutls --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libvpx --enable-libopus --enable-libxml2 --enable-libwebp
  libavutil      56. 45.100 / 56. 45.100
  libavcodec     58. 84.100 / 58. 84.100
  libavformat    58. 43.100 / 58. 43.100
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 81.100 /  7. 81.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[wmv3 @ 0x40654c0] Extra data: 8 bits left, value: 0
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, asf, from 'i_-b.wmv':
  Duration: 00:00:29.45, start: 0.000000, bitrate: 3668 kb/s
    Stream #0:0: Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p, 1280x720, 4800 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 128 kb/s
At least one output file must be specified

Change History (2)

comment:2 by Carl Eugen Hoyos, 17 months ago

$ strings -e l i_-b.wmv 
Windows Media Video 9
2-pass CBR
Windows Media Audio 9
128 kbps, 44 kHz, stereo CBR
TEXT
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
`<center><div align="center"><font face="Arial" size="3" color="#ffffff">( heavy rock music )<br>
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
<center><div align="center"><font face="Arial" size="3" color="#ffffff">[announcer] What do you look for<br>in a recording studio?<br>
]<center><div align="center"><font face="Arial" size="3" color="#ffffff">Great drum tones?<br>
^<center><div align="center"><font face="Arial" size="3" color="#ffffff">Clean vocal takes?<br>
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
d<center><div align="center"><font face="Arial" size="3" color="#ffffff">An experienced engineer?<br>
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
u<center><div align="center"><font face="Arial" size="3" color="#ffffff">At Negative Space Studios<br>in Baltimore<br>
i<center><div align="center"><font face="Arial" size="3" color="#ffffff">we are committed to providing<br>
p<center><div align="center"><font face="Arial" size="3" color="#ffffff">high-quality<br>recoding and mixing.<br>
}<center><div align="center"><font face="Arial" size="3" color="#ffffff">Let us show you how good<br>your music can sound.<br>
R<center><div align="center"><font face="Arial" size="3" color="#ffffff">&nbsp;<br>
Note: See TracTickets for help on using tickets.