After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 609249 - Internal GStreamer error: negotiation problem.
Internal GStreamer error: negotiation problem.
Status: RESOLVED DUPLICATE of bug 609252
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-07 15:44 UTC by rom
Modified: 2010-02-08 09:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description rom 2010-02-07 15:44:33 UTC
I have a .avi file 624×352. I converted it using ffmpeg2theora :
ffmpeg2theora-0.26.linux64.bin video.avi -o video.ogv

The resulting ogv file is working fine.

But if I resize using -x or -y :
ffmpeg2theora-0.26.linux64.bin video.avi -x 480 -o video.ogv

The resulting ogv file works fine in vlc or firefox, but not in gstreamer, I have this message :

Internal GStreamer error: negotiation problem.  Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Comment 1 rom 2010-02-07 16:20:28 UTC
Apparently, the problem is :
"gst_video_calculate_display_ratio: assertion `num > 0' failed"
Comment 2 rom 2010-02-07 16:24:15 UTC
OggInfo says "Aspect ratio undefined", but gst seems to expect it to be always defined ?
Comment 3 Sebastian Dröge (slomo) 2010-02-08 07:51:29 UTC
Could you attach a sample file here? The first 1-2 MB should be enough already ( head -c 2M file > small )
Comment 4 rom 2010-02-08 09:07:05 UTC
Hi,

I can't attach a file now (I'm at work), but I think this patch correct the problem (because it has been made especially for that, after I reported on IRC) : https://bugzilla.gnome.org/show_bug.cgi?id=609252
Comment 5 Sebastian Dröge (slomo) 2010-02-08 09:12:24 UTC
Ah, so it's a AVI file with Theora video? Right, in that case this is a dupe of bug #609252.

*** This bug has been marked as a duplicate of bug 609252 ***
Comment 6 rom 2010-02-08 09:40:39 UTC
No, its an OGV file encoded from an AVI (xvid) file with ffmpeg2theora. But yes, it's a dup of bug 609252.