ffmpeg2theora OGV crash on Ubuntu (Stream 0)

*nix specific usage questions
nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby nanomir » 29 Mar 2009 00:23

Hi all,
I've experienced that videos I've converted to OGV using ffmpeg2theora crash VLC on Ubuntu (1.0.0-git Goldeneye), while they play on VLC on Windows (0.9.8a Grishenko). They also play with ffplay under Ubuntu. VLC/Ubuntu fails with:

Code: Select all

vlc: input/event.c:241: GetEsVarName: Assertion 'i_cat == SPU_ES' failed
Checking under Codec Information in VLC/Windows reveals a 'Stream 0' with empty 'Codec' and 'Language' fields. In relation to this, I found (ffmpeg2theora) 'Phantom' stream produced by ffmpeg2theora, and the response says:
what you see is an ogg skeleton stream.
http://wiki.xiph.org/index.php/OggSkeleton
this is now enabled by default, ffmpeg does not know it(yet) and thus
you get "Invalid Codec type". its save to ignore the skeleton stream.
if you find players or other software that fails with it, that would be
important to know so we can fix it.
Not sure whether to report this issue there - as it seems to work fine on Windows... From what I gather, the assertion that fails assumes that this Stream 0 is subtitle. Is there any easy way to get this updated for Linux too - if not, is there possibility to use a command line with VLC, to send only say Stream 1 and 2, but not Stream 0?

Thanks...

EDIT: There seems to be a "--no-skeleton" option in ffmpeg2theora, which "disables ogg skeleton metadata output" - but my questions refers more what to do in VLC under Linux, if a file already contains a OGV skeleton (and re-encoding is not an option..)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby Jean-Baptiste Kempf » 29 Mar 2009 12:42

Can you give us the sample?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby nanomir » 29 Mar 2009 14:04

Hi j-b,

Thanks for your response !!
Can you give us the sample?
I've just sent you some links in a PM, but I guess the procedure in [ubuntu] [SOLVED] Code required to convert flv to ogv - Ubuntu Forums can be used:

Code: Select all

youtube-dl -o test.flv http://www.youtube.com/watch?v=EwL0G9wK8j4 ffmpeg2theora -v 8 -a 3 test.flv # for skeleton ffmpeg2theora --no-skeleton -v 8 -a 3 test.flv # for no skeleton
It's just that I used the Windows ffmpeg2theora-0.24.exe, not the linux version (as implied in the code above :) )

Thanks again...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby Jean-Baptiste Kempf » 29 Mar 2009 14:59

Samples work PERFECTLY on linux with VLC 1.0.0-pre1.
Do you have the theora and ogg and vorbis modules in your VLC?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby nanomir » 29 Mar 2009 16:25

Hi j-b,

Thanks for the update!!

Well, it seems that I had used Ubuntu Intrepid I386 nightlies as repository:

Code: Select all

deb http://nightlies.videolan.org/build/intrepid-i386/arch ./
But that URL doesn't seem to update/exist anymore.. The version Synaptic gives me for my version is 1.0.0~git20081127-4.

I tried to look for VLC 1.0.0-pre1, but I cannot find it? It seems this VLC 1.0.0-pre1 is a Debian version, so I tried to add Debian sid repository in Synaptic

Code: Select all

deb http://download.videolan.org/pub/videolan/debian sid main
but after updating the repositories in Synaptic, the version I get is 0.7.0-1 ?? Btw, the latest Ubuntu seems to give me is 0.9.4-1ubuntu3.1 (from intrepid-updates)...

Sorry if I missed something obvious - but how can I get my hands on a VLC 1.0.0-pre1? :) I cannot seem to find a direct download link to a .deb either..
Do you have the theora and ogg and vorbis modules in your VLC?
That could be the problem - I do have libtheora0, and I thought since ffplay plays these files, (and so does VLC if there is no skeleton Stream 0) I'm set with theora/ogg/vorbis libraries... But I'll look into this - although I'm pretty sure VLC 1.0.0-pre1 would work - if I can find it :)

Thanks again,
Cheers !!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby Jean-Baptiste Kempf » 29 Mar 2009 16:55

You have to compile your VLC to get 1.0.0-pre1
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby nanomir » 29 Mar 2009 18:14

Hi j-b,
You have to compile your VLC to get 1.0.0-pre1
Just as I got your reply, I was looking on the net for "VLC 1.0.0-pre1 deb", but I couldn't find anything; and search for "VLC 1.0.0-pre1" returned a lot of mirrors with a tar.bz2 file on them - so also on my own, I started having the imression that building from source is the only way to get 1.0.0-pre1 :)

By the way, just out of curiosity - why don't the nightlies for debian/Ubuntu work anymore? Or why isn't there at least compiled .deb package(s) for 1.0.0-pre1?

In any case, I got vlc-1.0.0-pre1.tar.bz2, unpacked it... I already had automake and such; but in my case, just to get VLC to build with minimal additional of extra packages (since I have but a couple of 100s of megs left), I needed the following:

Code: Select all

sudo apt-get install libhal-dev libdbus-1-dev libpostproc-dev libfribidi-dev libgcrypt11-dev ./configure --prefix=/usr --disable-mad --disable-avcodec --disable-avformat --disable-a52 --disable-qt4 --disable-skins2 make
Now, of course, there are no windows when I run vlc built like this, but I thought I could just use command line to get the video to play (like with ffplay); however, when I run ./vlc myfile.ogv it crashes completely:

Code: Select all

administrator@mypc:~/Desktop/vlc-1.0.0-pre1$ ./vlc ../test50-skip5-acdc128.ogv VLC media player 1.0.0-pre1 Goldeneye [0x8c33140] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Remote control interface initialized. Type `help' for help. [0x8cd3f98] main demux error: no meta reader module matched "any" [0x8cd5120] main decoder error: no suitable decoder module for fourcc `theo'. VLC probably does not support this sound or video format. [0x8cd5120] main decoder error: No suitable decoder module [0x8cd5120] main decoder error: VLC does not support the audio or video format "theo". Unfortunately there is no way for you to fix this. [0x8cc3540] main input error: ES_OUT_RESET_PCR called ^C[0x8c335c0] signals interface error: Caught Interrupt signal, exiting... status change: ( stop state: 0 ) status change: ( quit )
Obviously, it cannot decode theora - but libtheora-dev is installed and latest. Do I have to enable avcodec (or avformat, or both?), or am I missing something else to just test if these files will play? Also, even if I don't have qt4, I would still be able to play the vides from the command line (if all codecs are there), right?

Thanks again for all the help,
Cheers !

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby Jean-Baptiste Kempf » 29 Mar 2009 18:16

By the way, just out of curiosity - why don't the nightlies for debian/Ubuntu work anymore? Or why isn't there at least compiled .deb package(s) for 1.0.0-pre1?
Because noone seems to care/to have time.
In any case, I got vlc-1.0.0-pre1.tar.bz2, unpacked it... I already had automake and such; but in my case, just to get VLC to build with minimal additional of extra packages (since I have but a couple of 100s of megs left), I needed the following:
http://www.jbkempf.com/blog/post/2009/0 ... 5-commands
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

nanomir
Blank Cone
Blank Cone
Posts: 22
Joined: 09 Jun 2007 09:27

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby nanomir » 29 Mar 2009 18:48

j-b,

Thanks again for the prompt reply - and especially for the link :) Good to know where the right instructions are located :)

Just wanted to say that in relation to the above commands, I just had to additionally do

Code: Select all

sudo apt-get install libavcodec-dev libavformat-dev ./configure --prefix=/usr --disable-mad --disable-a52 --disable-qt4 --disable-skins2 make
and then by calling the ./vlc with the ogv file as argument - I could finally see that vlc 1.0.0-pre1 does in fact play the ogv file with a skeleton Stream 0 without a problem :) (as expected there was no GUI - but a window showed up playing video, and audio plays as well) ... Now I just need to find a bigger PC and compile the full version :)

Thanks again - and Cheers !! :D

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ffmpeg2theora OGV crash on Ubuntu (Stream 0)

Postby Jean-Baptiste Kempf » 29 Mar 2009 18:51

j-b,

Thanks again for the prompt reply - and especially for the link :) Good to know where the right instructions are located :)

Just wanted to say that in relation to the above commands, I just had to additionally do

Code: Select all

sudo apt-get install libavcodec-dev libavformat-dev ./configure --prefix=/usr --disable-mad --disable-a52 --disable-qt4 --disable-skins2 make
and then by calling the ./vlc with the ogv file as argument - I could finally see that vlc 1.0.0-pre1 does in fact play the ogv file with a skeleton Stream 0 without a problem :) (as expected there was no GUI - but a window showed up playing video, and audio plays as well) ... Now I just need to find a bigger PC and compile the full version :)

Thanks again - and Cheers !! :D
Thanks. Topic closed.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 4 guests