Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.


Go Back   Doom9's Forum > Video Encoding > New and alternative video codecs

Thread Tools Search this Thread Display Modes
Old 4th August 2011, 11:45   #1  |  Link
Registered User
Join Date: Jul 2011
Posts: 4
schroedinger decoder

Hello all,

I have been trying to write a decoder using libschroedinger for the last couple of days. I used ffmpeg to generate a schroedinger encoded ogg video file with no audio using an uncompressed avi video as input. My decoder parses the ogg file pulling out an ogg_packet then decodes it, which all appears to work fine.

My first question is ffmpeg encoding using libschroedinger seems to force the output to use the YUV420 colour space even when specifically requesting other pixel formats using the ffmpeg –pix_fmt option. Looking at the schro_frame.h file there appears to be indirect support for SCHRO_FRAME_FORMAT_ARGB which would be the ideal format for my purposes; would you be able to explain what indirect support actually implies here? It also appears schroedinger only caters for three components (read: colour channels) so how is Alpha supported in schroedinger / dirac? i.e. will I need to add the alpha support into schroedinger myself or like other non-alpha codecs would I have to encode the alpha in the luma component of a grayscale frame?

Finally when storing my frame data in the SCHRO_DECODER_OK state I find the Schro_Frame occasionally contains NULL data. Meaning my conversion from YUV420 colour space to RGB cannot proceed for this frame. Is a null frame expected in this way? if so can I safely ignore it and carry on parsing the next ogg_packet to generate an updates frame?

If anyone can provide a link to a dummy video file with expected schroedinger state transitions that would be fantastic as I could prove my decoder code against known working decoders.

Thanks for any and all help you can provide.

I have more fingers in more pies than a leper at a bakery
-- Gene Hunt - Life on Mars.
fanaticlatic is offline   Reply With Quote
Old 26th January 2012, 12:39   #2  |  Link
Registered User
Join Date: Aug 2011
Posts: 49
Hi. "January 23rd, 2012" - Schroedinger 1.0.11 "added 10-bit and 16-bit support to both the encoder and decoder.
Only works in intra mode. Tested formats are 16-bit 4:4:4 and
10-bit 4:2:2"
dadix is offline   Reply With Quote

decode, dirac, encoder, ffmpeg, libschroedinger, schroedinger, transparency

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 21:05.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.