Hi,
i was testing basic encode and decode chains. gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! filesink location=/test_theoraenc.bin this created a file. then i tried gst-launch filesrc location=/test_theoraenc.bin ! theoradec ! ffmpegcolorspace ! xvimagesink but this gave me following error: -------------------------------------------------------------------------------------------------- ERROR: from element /pipeline0/theoradec0: Could not decode stream. Additional debug info: theoradec.c(1166): theora_handle_data_packet (): /pipeline0/theoradec0: no header sent yet -------------------------------------------------------------------------------------------------- was there any mistake in my commands? Thanks, Sachin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi ,
use following pipeline :-
gst-launch videotestsrc num-buffers=100 ! ffmpegcolorspace ! theoraenc ! filesink location=/test_theoraenc.bin
and let it play untill pipeline gets closed by itself , dont break it using CTL+ C .
On Mon, Sep 1, 2008 at 6:11 PM, Sachin Pandhare <[hidden email]> wrote:
-- Regards, Sudarshan Bisht ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by Sachin Pandhare
On Mon, 2008-09-01 at 18:11 +0530, Sachin Pandhare wrote:
> Hi, > i was testing basic encode and decode chains. > > gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! filesink > location=/test_theoraenc.bin > this created a file. then i tried > > gst-launch filesrc location=/test_theoraenc.bin ! theoradec ! > ffmpegcolorspace ! xvimagesink > > but this gave me following error: > -------------------------------------------------------------------------------------------------- > ERROR: from element /pipeline0/theoradec0: Could not decode stream. > Additional debug info: > theoradec.c(1166): theora_handle_data_packet > (): /pipeline0/theoradec0: > no header sent yet > -------------------------------------------------------------------------------------------------- > > was there any mistake in my commands? yes, theora is a format that should be encapsulated into a container such as ogg, like this: gst-launch videotestsrc ! ffmpegcolorspace ! theoraenc ! oggmux ! filesink location=/test_theoraenc.ogg and to play it back: gst-launch filesrc location=/test_theoraenc.ogg ! oggdemux ! theoradec ! ffmpegcolorspace ! xvimagesink The reason is that theora relies on the container format to feed it exactly one encoded frame, there are no fame markers in the raw theora bitstream otherwise. Wim > > > Thanks, > Sachin > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks Wim for this information, it works fine :)
Sudarshan, I was able to encode the data in the file with the command that i used and terminate it with Ctrl+C. but as i was missing the container it didn't decode data correctly. On Mon, Sep 1, 2008 at 6:29 PM, Wim Taymans <[hidden email]> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |