+ Added pda.glade to the list of Glade2 generated files.
+ Remove strings such as "http://" or "/dev/video0" from the list of
translated strings in the PDA interface.
* Fixed grammar, spelling, a few pathetic inconsistencies, removed trailing
whitespaces and tabulations here and there.
The final aim of this new api is to make it possible to use the decoders from other modules like the transcoder for instance.
Only a few decoders have been ported to the new api (a52, libmpeg2, dts, vorbis, theora) so the old api is still supported.
Don't hold your breath, there is still much work to do before we reach this goal.
* modules/codec/a52.c, libmpeg2., dts.c, vorbis.c, theora.c:
Converted to the new api.
Merged the a52 and vorbis packetizers in their respective decoders (removes a lot of code duplication).
New dts and theora packetizers (merged in their respective decoders).
modify/apply on all streams, --sout has the same behavour expect when
starting with a '#'.
With a starting '#' you can specify a chain of modules, it's still
unstable but a lot more powerfull.
You have access to duplicate(that duplicate all stream), transcode
(using only ffmpeg), standard/std and es (that apply muxers and access),
and display. You could chain them with ':' and specify options with
{option1=value,option2=value[,...]}.
ex: * to stream and see the stream to udp/ts:ip
--sout '#duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
* to transcode,see and stream
--sout '#transcode{acodec=mpga}:duplicate{dst=display,dst=std{access=udp,mux=ts,url=ip}}'
Without a starting '#', the url is converted into '#std{acces=,mux=,url}'
Test and report bugs :)
Audio grabbing part is commented out and untested.
The syntax is like that:
v4l:<device>[:option=value:...]
options: channel,norm (pal, ntsc,secam), frequency (not really there is
a factor), audio, size (WxH or subqcif,qsif,qcif,sif,cif,vga),
codec (optional, mpeg1 or mpeg4 and need to have compiled the
encoders modules)
ex: v4l:/dev/video:channel=0:frequency=8052:norm=secam:size=vga
Please test.
* rawvideo.c: a pseudo decoder for raw video (I420).
* packetizer/*, mux/*, stream_output.c: fixed (I hope) audio/video
synchro problems.