Commit Graph

593 Commits

Author SHA1 Message Date
Stefan Seyfried
997153cb8f libtriple: improve audio stream handling in cPlayback()
use a c++ map instead of arrays to store audio stream data
Side effect: audio streams as returned by findAllPids() are now
sorted by pid, helping default selection for MPEG and VDR streams
2012-04-17 19:33:48 +02:00
Stefan Seyfried
4a49f203f7 libtriple: implement cVideo::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
2df67d32f4 libtriple: implement cAudio::SetSyncMode() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6b2958d609 libtriple: cVideo enabled SCART during record in standby 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6497e4c310 libtriple: fix seeking in cPlayback if there's a PTS overflow 2012-04-17 19:33:47 +02:00
Stefan Seyfried
ae38a828f0 libdvbsub: hacks to try to improve the situation on TD
those don't really help yet, unfortunately
2012-04-17 19:33:47 +02:00
Stefan Seyfried
7828eeb103 libtriple: sync cPlayback with libcoolstream changes 2012-04-17 19:33:47 +02:00
Stefan Seyfried
99a5c040a3 libtriple: fix compiler warning in cs_get_revision() 2012-04-17 19:33:47 +02:00
Stefan Seyfried
6719a44dc9 libtriple: convert cDemux to lt_info 2012-04-17 19:33:47 +02:00
Stefan Seyfried
93e90cc4e1 libtriple: add workaround for 'odd filter length' problem in cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
71f1a1e9e3 libtriple: convert cAudio to lt_info, improve debug output 2012-04-17 19:33:46 +02:00
Stefan Seyfried
b24c2c86ee libtriple: add debug flag to disable SCART switching (debug) 2012-04-17 19:33:46 +02:00
Stefan Seyfried
f21ba6a694 libtriple: remove unneeded includes, disable strict aliasing 2012-04-17 19:33:46 +02:00
Stefan Seyfried
a9a771a686 libtriple: convert cVideo to lt_debug/lt_info, don't use zapit debug 2012-04-17 19:33:46 +02:00
Stefan Seyfried
460ccf37ee libtriple: convert cPlayback to lt_debug/lt_info 2012-04-17 19:33:46 +02:00
Stefan Seyfried
4435f30b3c libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
2012-04-17 19:33:46 +02:00
Stefan Seyfried
6eae455676 libtriple: implement PCM playback in cAudio() 2012-04-17 19:33:46 +02:00
Stefan Seyfried
d812673a4e libtriple: add ChangePids() to cRecord
This is pretty much untested for now, handle with care!
2012-04-17 19:33:46 +02:00
Stefan Seyfried
7ff71707c0 libtriple: add getPesPids() and removePid() to cDemux 2012-04-17 19:33:46 +02:00
Stefan Seyfried
bb78f6d4eb libtriple: remember the filedescriptor belonging to each pid in cDemux() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
ec2ad396c0 libtriple: improve cPlayback()
* avoid race conditions by using a mutex to protect curr_pos, fixing
  artefacts during timeshift playback
* make GetPosition() cheaper by interpolating end_pts and only fetching
  the "real" end_pts after the file has grown by 10MB
2012-04-17 19:33:45 +02:00
Stefan Seyfried
e786a4ef75 libtriple: fix filedescriptor leak in cVideo::routeVideo() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
65b46d56f2 libtriple: fix up cVideo::setAspectRatio() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
5ae19e4e49 libtriple: add cVideo::VideoParamWatchdog() 2012-04-17 19:33:45 +02:00
Stefan Seyfried
9fc1d89563 libtriple/framebuffer: use DirectFB acceleration
Use a hack, almost as ugly as the original Coolstream code ;),
to accelerate drawing of boxes and blitting with DirectFB functions.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
000fbfe74b libtriple: add usable dummy cCA class 2012-04-17 19:33:43 +02:00
Stefan Seyfried
a07e6a3a30 libtriple: add support for MPEG1 files to cPlayback
Now we can play the "Warriors of the Net" clip :-)
http://ftp.sunet.se/pub/tv+movies/warriors/warriors-700-VBR.mpg
2012-04-17 19:33:43 +02:00
Stefan Seyfried
81ae635dcb libtriple: add debug messages to cDemux and cVideo functions 2012-04-17 19:33:43 +02:00
Stefan Seyfried
6aaa97c423 libtriple: reduce some messages to debug, consolidate scart messages 2012-04-17 19:33:43 +02:00
Stefan Seyfried
0249c65167 libtriple: hack different notify sizes for subs and ttx into cDemux 2012-04-17 19:33:43 +02:00
Stefan Seyfried
d95e1bbaf3 libtriple: fix compiler warnings in playback_td 2012-04-17 19:33:43 +02:00
Stefan Seyfried
f50f68677f libtriple: cPlayback: improve get_pts
* add the buffer size to the call to avoid overflows
* extract PTS also from MPEG1 packets
2012-04-17 19:33:43 +02:00
Stefan Seyfried
2698788643 libtriple: implement mpeg/vdr playback 2012-04-17 19:33:43 +02:00
Stefan Seyfried
a3440d19df libtriple: implement fast forward in cPlayback()
First try at implementing fast forward. Needs more love.
Reverse does not work yet, setting speed to negative values
right now simply resets to "play" mode.
2012-04-17 19:33:43 +02:00
Stefan Seyfried
031cf48752 libtriple: make most of libtriple use lt_debug 2012-04-17 19:33:43 +02:00
Stefan Seyfried
2fcba0b70e libtriple: implement pwrmngr cpufreq classes (mostly dummies) 2012-04-17 19:33:42 +02:00
Stefan Seyfried
912b736dee libtriple: implement working cPlayback class
no fast forward, no mpeg playback (yet ;)
2012-04-17 19:33:42 +02:00
Stefan Seyfried
ea818a0953 libtriple: implement cRecord class
TS recording now somewhat works ;)
this version does not need ringbuffer code and only one thread
2012-04-17 19:33:42 +02:00
Stefan Seyfried
14849689e5 libtriple: implement cAudio class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
3a0e21e00c libtriple: implement ShowPicture() in cVideo
this needs the ffmpeg binary with support for mjpeg decoder
and mpeg2video encoder to recode the jpgs to m2v
2012-04-17 19:33:42 +02:00
Stefan Seyfried
8844c96ae8 libtriple: implement working cVideo class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
ca7c6eeba6 libtriple: implement working cDemux class 2012-04-17 19:33:42 +02:00
Stefan Seyfried
34a95c04c0 libtriple: add lt_debug() for controllable debug output 2012-04-17 19:33:42 +02:00
[CST] Focus
7a696e56c3 Merge branch 'multituner' into dvbsi++ 2012-03-29 12:24:25 +04:00
[CST] Focus
9f3e2dc9c5 Merge branch 'master' into multituner 2012-03-29 12:23:22 +04:00
focus
fad27bc5a6 lib/libdvbsub/dvbsubtitle.cpp: fix API use to new ffmpeg
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2168 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-28 16:16:32 +00:00
focus
6be9b772ae libcs headers update
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2167 e54a6e83-5905-42d5-8d5c-058d10e6a962
2012-03-28 16:16:09 +00:00
[CST] Bas
ee52c56a6d dvbsub: fix API use to new ffmpeg. 2012-03-27 18:29:05 +04:00
[CST] Focus
90db393eeb revert lib/libdvbsub/dvbsubtitle.cpp 2012-03-25 16:34:19 +04:00
[CST] Bas
9edfbf491d dvbsub: fix API use to new ffmpeg. 2012-03-23 12:26:23 +04:00