Displaying 20 results from an estimated 2000 matches similar to: "Missing audio when converting PCM to Ogg"
2013 Oct 09
0
Question about encoding with libvorbis
Hello,
I am using the Ogg Vorbis library to encode PCM data into ogg format. The
conversion seems to work fine with the exception that the last little bit
of audio appears cut off in each converted stream.
I am essentially following the example from here:
http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c
When I added a "Sleep(5)" between writing the ogg data to file, and
2005 Nov 28
1
Compile Encoder_example.c
Hi,
I'm a highschool student,
I'm looking for information about converting Wave file
(*.wav)
into Ogg file (*.ogg) and i found encoder_example.c
inside libvorbis's example directory. I try to compile
it using Microsoft Visual C++ 6.0 ,but it goes error
like this :
--------------------Configuration: encoder_example -
Win32 Debug--------------------
Linking...
encoder_example.obj :
2015 May 18
5
Writting 16-bit PCM data to Ogg.
Hi Developers,
I have a 16-bit PCM data buffer, I want to write that to ogg file. Could
you help me to understand how to write pcm data to the ogg?
Thanks in advance.
Arun balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20150518/6c8c9a63/attachment.htm
2007 Sep 12
1
theora-exp encoder issue
Hi,
I'm switching from the mainstream theora trunk to the exp one and I
encounter a problem with the encoder.
Every video I encode are played like a 'mosaic', I do not know how to
say that. The picture is just a bunch of coloured pixels.
During the encoding process the video stream is defined like that:
File stream.yuv is 320x240 15.00 fps 420 video.
Why 420 ? Why not YUV like for
2003 Jun 09
2
[PATCH] Fix for YUV4MPEG support in encoder_example
As was briefly discussed on IRC, ffmpeg and mplayer currently output
two somewhat incompatible YUV4MPEG streams. This meant that
encoder_example could take input from mplayer, but not ffmpeg or
movtoy4m (a QuickTime->Y4M tool).
This is a patch that fixes this issue and should allow encoder_example to
take input from either format:
diff -urd xiph-cvs/theora/examples/encoder_example.c
2017 Jun 01
2
Building theora 1.1.1 with mingw-w64-gcc 7.1 and msys
Hello,
I recently attempted to build theora 1.1.1 with mingw-w64-gcc 7.1 and
msys and it fails to build the encoder_example.c example program. There
are multiple declarations of the function 'rint'. The source file
created its own version of the function that rounds AWAY from zero.
MinGW-W64 has its own version of the 'rint' function, which does not
round away from zero.
2008 Jan 15
2
Encoding with encoder_example
I have encoded successfully a YUV stream by using the encoder_example. Can
We encode a row stream (get from a web cam) by using encoder_example.
If we can not, is there any other way to encode a row stream by using theora
codec.
--
Nuwan Millawitiya
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jan 15
2
Encoding with encoder_example
I have encoded successfully a YUV stream by using the encoder_example. Can
We encode a row stream (get from a web cam) by using encoder_example.
If we can not, is there any other way to encode a row stream by using theora
codec.
--
Nuwan Millawitiya
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 04
1
encoder_example input formats
Hi all
I have the raw out put of a video camera in following
format: mjpegb, yuvj422p, 1920x1080, 24.00 fps(r).
I cannot directly convert this raw footage to Theora
due to the YUV4MPEG2 only restriction of the
encoder_example.
Isn't it better to support other raw formats in
encoder_example, such as what I have, mjpegb,
yuvj422p?
I presume even if I convert the mjpegb, yuvj422p to
2004 Jul 22
2
A script to convert existing video files to Ogg
(Theora/Vorbis) available.
Message-ID: <410011E4.2040904@hut.fi>
Hello,
I noticed that it's quite difficult currently to create Ogg format files
(Ogg Theora for video and Ogg Vorbis for audio). There's only the
encoder_example-program, which is included in the libtheora source
packages, but seemingly not in any libtheora/libtheora-devel packages
that are around the web for e.g.
2004 Dec 03
3
trying to encode from dvd using mplayer
Hello. I'm trying to encode an Ogg Theora file from an unencrypted
dvd using mplayer and encoder_example.
I set up named pipes stream.wav and stream.yuv.
I then run:
mplayer -ao pcm -aofile stream.wav -vo null /dev/dvd &
mplayer -vo yuv4mpeg -ao null -nosound /dev/dvd &
encoder_example -v1 -a 1 stream.wav stream.yuv > lec1.ogg
but I get the following error:
File stream.wav is
2002 Oct 02
2
Audio from fifo
My first guess about the problem would be that the programs want
to process the stuff in a different order, e.g. mplayer wants to
output some sound before anymore video and encoder_example wants
to receive some video before anymore sound. This could easily
depend on the order of stuff in the file mplayer is reading.
I guess something similar could happen for opening the pipes as
well.
The
2001 Jul 19
2
win32: Encoder using vorbisenc.dll - AV?
Hello,
When I compile either oggenc or encoder_example with static libraries, they
work fine, but when I try them with the dynamic libraries, I get an access
violation in vorbisenc.dll with both oggenc and encoder_example. Can anyone
on win32 confirm this?
It's strange because vorbisfile.dll *does* work with vorbisfile_example,
and the configuration for vorbisfile.dll is exactly the same
2009 Aug 16
1
VQ and Huffman codebooks creation
Hello,
I'd like to know in detail how does the creation of VQ and Huffman codebooks
work in Vorbis. I've used the source code from *encoder_example* as guide,
but the only reference I've found is the function *_make_words *inside *
vorbis_book_init_encode*, which creates the Huffman tree if I'm not wrong.
So I have two doubts. The first is that, for creating the Huffman tree (and
2008 Jan 16
2
Encode a normal stream in to black & white video
Hi,
Can we encode a normal stream in to black & white video using
exsisting encoder_example in theora_beta2.
Is it required to change encoder_example file to do that? So
please guide to do that.
Thanks...
--
___
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2003 Feb 02
2
Encoding from fifo's
Hello, I'm new to the list, so if this is an FAQ, please point me to the
relevant docs.
I'm playing with Theora, to see what kind of quality I can expect (I
realise its not for production use yet). I've download the source from
CVS, and got it to build, with the example encoder and player.
While trying to find something to serve as a good source of input, I
decided I'd use a
2005 Aug 24
1
Testing libtheora-1.0alpha5
Hi,
I sent the message below a couple of months ago but I got
no reply. Now that there's more activity perhaps someone
could kindly provide me some guidance. Theora is great
and the developers are doing a wonderful job, so I'd like to
implement the codec in a way which does it justice...
Original post:
I wrote a plugin to enable LiVES (a video editor) to encode
theora/vorbis/ogg files.
2007 Aug 30
1
can not encode a raw video file with "encoder_example"
hi all,
i tried to encode a .yuv file with the encoder_example.c
but it give an error message as follows
./encoder_example -v 1 file_1.yuv > file_1.ogg
Input file file_1.yuv is neither a WAV nor YUV4MPEG2 file.
so the error message is understandable for anyone.
when this file is play with mplayer it shows as follow
2006 Feb 03
2
encoder_example
i have configuered and built libtheora with --enable-encoder but when i make install, encoder_example is not installed.
why not? the object file and script are created in the examples subdir, they are just not installed...
thanks for your help
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Mar 05
2
A/V sync strategies
I tried to encode some video from a DVD with encoder_example and
ffmpeg2theora, and it looked great, except that with both encoders the
A/V sync would drift noticeably after about 10 minutes, and by the end
of a two hour movie it would be a couple seconds off. So instead of just
whining about this and waiting for someone else to fix it, I decided to
try to learn about what's causing the