ffmpeg ogv video conversion fails by outputting pixelated video

Bug #570305 reported by komputes
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ffmpeg

I have tried the following conversions using ffmpeg:
ogv -> flv
ogv -> avi
ogv -> mpg

All of these fail by outputting pixelated rubbish/garbage (see snapshot). The original video are produced by gtk-recordmydesktop.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ffmpeg 4:0.5.1-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Mon Apr 26 13:34:56 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: ffmpeg

Revision history for this message
komputes (komputes) wrote :
Revision history for this message
llogan (loul) wrote :

Please provide your ffmpeg command and the complete terminal output. Could you also provide a gtk-recordmydesktop sample file?

Revision history for this message
Rookcifer (rookcifer) wrote :

I can confirm this bug, as can several other people who posted their garbled videos on YouTube. I first noticed it after uploading one of my .ogv vids to YouTube. After I saw how garbled it was I decided to try and covert it here locally using ffmpeg. I got the same result as what YouTube produced.

My command was simple:

ffmpeg -i input.ogv output.flv

Revision history for this message
Eduard Gotwig (gotwig) wrote :

I can confirm its buggy! :( help

Changed in ffmpeg (Ubuntu):
status: New → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

Please attach your input.ogv that causes this problem.

I suspect that it uses an ogv feature not supported by ffmpeg 0.5. Then this bug is most likely a duplicate of #305286

Changed in ffmpeg (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
MEGA (megaa8) wrote :

it's buggy

and here is the output for converting ogv to avi

FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --extra-version=4:0.5.1-1ubuntu1 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libdc1394 --enable-shared --disable-static
  libavutil 49.15. 0 / 49.15. 0
  libavcodec 52.20. 1 / 52.20. 1
  libavformat 52.31. 0 / 52.31. 0
  libavdevice 52. 1. 0 / 52. 1. 0
  libavfilter 0. 4. 0 / 0. 4. 0
  libswscale 0. 7. 1 / 0. 7. 1
  libpostproc 51. 2. 0 / 51. 2. 0
  built on Mar 4 2010 12:35:30, gcc: 4.4.3
Input #0, ogg, from '/home/mb/Desktop/1.ogv':
  Duration: 00:01:27.66, start: 0.000000, bitrate: 741 kb/s
    Stream #0.0: Invalid Codec type -1
    Stream #0.1: Video: theora, yuv420p, 1280x800, PAR 1:1 DAR 8:5, 15 tbr, 15 tbn, 15 tbc
    Stream #0.2: Audio: vorbis, 22050 Hz, mono, s16, 89 kb/s
Output #0, avi, to '/home/mb/Desktop/11.avi':
    Stream #0.0: Video: mpeg4, yuv420p, 1280x800 [PAR 1:1 DAR 8:5], q=2-31, 200 kb/s, 90k tbn, 15 tbc
    Stream #0.1: Audio: mp2, 22050 Hz, mono, s16, 64 kb/s
Stream mapping:
  Stream #0.1 -> #0.0
  Stream #0.2 -> #0.1
[mpeg4 @ 0x8444940]removing common factors from framerate
Press [q] to stop encoding
frame= 425 fps= 73 q=2.0 Lsize= 2719kB time=87.25 bitrate= 255.3kbits/s
video:1957kB audio:682kB global headers:0kB muxing overhead 3.031703%

Revision history for this message
komputes (komputes) wrote :

@Reinhard

As requested, uploaded the original file (sample.ogv) and the file converted to flv using ffmpeg (sample.flv).

Revision history for this message
komputes (komputes) wrote :
Changed in ffmpeg (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

I've just verified that this is fixed in ffmpeg 0.6

Revision history for this message
komputes (komputes) wrote :

That is fantastic Reinhard. Thank you for testing this.

Could you please indicate which PPA I should use to get ffmpeg 0.6

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 570305] Re: ffmpeg ogv video conversion fails by outputting pixelated video

On Wed, May 12, 2010 at 16:22:32 (CEST), komputes wrote:

> That is fantastic Reinhard. Thank you for testing this.
>
> Could you please indicate which PPA I should use to get ffmpeg 0.6

ffmpeg 0.6 is not ready. I've been testing with a preprelease snapshot
that I haven't published yet.

I will first deploy in maverick and then see if I can arrange a backport
ppa, but don't hold your breath.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
joe Azzato (joe-azzato) wrote :

I am seeing this pixelation too, after upgrade to 10.04.
This is the command I have been using:
ffmpeg -i video.ogv -acodec vorbis -vcodec libtheora video.avi

Thanks,
-joe

Revision history for this message
joe Azzato (joe-azzato) wrote :

I am seeing this pixelation too, after upgrade to 10.04.
This is the command I have been using:
ffmpeg -i video.ogv -acodec vorbis -vcodec libtheora video.avi

Thanks,
-joe

Revision history for this message
komputes (komputes) wrote :

@joe Azzato - that is not a bug, it is simply the result of re-compressing video. take a look at the sample.flv attachment for an example of this bug. to avoid the pixelation you are experiencing, you simply need to specify a greater video bitrate.

Revision history for this message
joe Azzato (joe-azzato) wrote :

@komputes - Thanks that worked very well! I appreciate the quick response!
All the best!

-Joe

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ffmpeg - 4:0.6~svn20100505-1ubuntu1

---------------
ffmpeg (4:0.6~svn20100505-1ubuntu1) maverick; urgency=low

  * merge from debian/experimental. remaining changes:
    - don't disable encoders
    - don't build against libfaad, libdirac and libopenjpeg (all in universe)

ffmpeg (4:0.6~svn20100505-1) experimental; urgency=low

  * update to new upstream. Closes: #569727
    - fixes various segfaults and other minor feature improvements
      Closes: #374931, #522449, #501891, #559712, #420231, #369127, #538082,
              #298095, #294422, #561553, #525385, #495274, #420230
      LP: #305286, #457106, #529200, #301723, #305315, #336479, #420230,
          #412063, #428912, #432181, #440591, #453732, #453732, #453732,
      #514259, #515243, #521472, #530186, #530186, #197842, #483317,
     #483317, #539407, #280098, #331255, #566107, #569823, #570305,
     #573190
  * Fixup lintian overrides for new upstream snapshot
  * Bump Standards-Version to 3.8.4
  * Many upstream changes, see upstream Changelog for details
 -- Reinhard Tartler <email address hidden> Wed, 26 May 2010 00:01:17 +0200

Changed in ffmpeg (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.