Opened 12 years ago

Closed 12 years ago

#1595 closed defect (invalid)

Theora video produced by latest ffmpeg fails to load in Google Chrome

Reported by: Bart Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: theora regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

When creating a theora video with the latest checkout of ffmpeg (n0.8-12179-g1f68be4), the video fails to load in Google Chrome.
The video loads properly when using the latest stable release 0.11.1.

How to reproduce:

% ffmpeg -i input -qscale 5 -an -vcodec libtheora output

Then try to open the video in Google Chrome (tested on Windows and Linux, v.20.0.1132.57)

FFmpeg version: development branch (git describe: n0.8-12179-g1f68be4), built on 2-8-2012 using libtheora 1.1.0 on RHEL.

Attachments (5)

example-input.avi (723.0 KB ) - added by Bart 12 years ago.
example-theora-master.ogg (116.1 KB ) - added by Bart 12 years ago.
example-theora-0.11.1.ogg (93.0 KB ) - added by Bart 12 years ago.
ffmpeg-master.log (3.9 KB ) - added by Bart 12 years ago.
ffmpeg-0.11.1.log (2.9 KB ) - added by Bart 12 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Carl Eugen Hoyos, 12 years ago

Component: FFmpegundetermined
Keywords: regression added
Version: unspecifiedgit-master

Please post complete, uncut console output together with your command line.

Please consider using git bisect to find the change introducing the regression.

by Bart, 12 years ago

Attachment: example-input.avi added

by Bart, 12 years ago

Attachment: example-theora-master.ogg added

by Bart, 12 years ago

Attachment: example-theora-0.11.1.ogg added

by Bart, 12 years ago

Attachment: ffmpeg-master.log added

by Bart, 12 years ago

Attachment: ffmpeg-0.11.1.log added

comment:2 by Carl Eugen Hoyos, 12 years ago

In your command line, you do not specify a colour space. Older FFmpeg by default degraded colour information by choosing yuv420p even if the input format is rgb, newer FFmpeg chooses an output colour space that allows for maximum compatibility with the input colour space (see tickets #1426 and #1517).

I suspect it will work fine with -pix_fmt yuv420p - please test.

in reply to:  2 comment:3 by Bart, 12 years ago

Replying to cehoyos:

You are right! Adding -pix_fmt yuv420p produces a working video.
I guess this ticket can be closed. Thanks!

Last edited 12 years ago by Bart (previous) (diff)

comment:4 by Carl Eugen Hoyos, 12 years ago

Resolution: invalid
Status: newclosed

Thank you for testing!

Note: See TracTickets for help on using tickets.