Opened 9 years ago

Last modified 9 years ago

#4286 new defect

Still image should be muxed as picture attachment

Reported by: Nietzsche Owned by:
Priority: wish Component: undetermined
Version: Keywords: video creation
Cc: nfxjfg@googlemail.com Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Hi,

I created a webm made of a sound file and a still image with this command:

ffmpeg -i folder.jpg -report -i "23 - Ripe Seeds (Plant Castle BGM).flac" -threads 8 -c:v libvpx -crf 10 -qmin 5 -qmax 55 -vf "scale=360:-1" -c:a libvorbis -ac 2 -b:a 128K out.webm

Seeking is unsupported (according to the mpv dev, the index is broken and contain only one entry: the beginning of the video, https://github.com/mpv-player/mpv/issues/1533)

Attachments (1)

ffmpeg-20150128-174159.log (1.7 MB ) - added by Nietzsche 9 years ago.
ffmpeg log

Download all attachments as: .zip

Change History (2)

by Nietzsche, 9 years ago

Attachment: ffmpeg-20150128-174159.log added

ffmpeg log

comment:1 by gjdfgh, 9 years ago

Cc: nfxjfg@googlemail.com added
Keywords: seeking removed
Priority: normalwish
Summary: Still image video contain a bad indexStill image should be muxed as picture attachment

FFmpeg actually creates a valid file. Some players (like mpv) will have trouble seeking in it, because it has only 1 video frame, but a large audio track.

What FFmpeg should do is not creating obscure files, but making the picture an attachment.

(In case of confusion, I'm wm4.)

Note: See TracTickets for help on using tickets.