| Branch: | Revision:

chunker-player / chunker_player / chunker_player.c @ 3262ed44

History | View | Annotate | Download (20.5 KB)

# Date Author Comment
408d8a7a 10/28/2011 10:11 PM Csaba Kiraly

apply XInitThreads patch only on linux. SDL on OS X uses another backend.

Signed-off-by: Csaba Kiraly <>

bed8a68c 10/21/2011 10:04 AM Csaba Kiraly

player: fix SDL crashes due to missing X11 threaded init

Seems that SDL's X11 backend has some problems with multi-thread programs.
This is a workaround till it gets fixed in SDL itself.

8363685d 09/27/2011 09:08 AM Csaba Kiraly

Merge branch 'gui' into next


12a9b478 09/27/2011 09:05 AM Csaba Kiraly

player: define defaults for scale with SDL

use SDL on Linux, sws_scale on Win

4a8a263f 09/27/2011 09:05 AM Csaba Kiraly

player: revert the effect of scale with SDL

It was reversed by mistake

051d51ba 09/26/2011 11:50 PM Csaba Kiraly

player: select whether to scale with SDL or libav

792fe3c5 09/26/2011 10:50 PM Csaba Kiraly

player: changing default queue filling threshold to 5

8fff8eef 09/25/2011 07:45 PM Csaba Kiraly

player: change queue filling thresholds

we fill the queue fast and later tune the delay gradually

b9edf327 09/23/2011 03:17 PM Csaba Kiraly

Merge branch 'gui' into next

a0cf7ca5 09/23/2011 03:16 PM Csaba Kiraly

player: toggle full screen mode with 'f' key

65ef62ab 09/23/2011 10:15 AM Csaba Kiraly

Merge branch 'gui' into next

50ea3811 09/23/2011 10:15 AM Csaba Kiraly

player: use 'q' key to disable/enable qoe led

2a24f98d 09/23/2011 10:15 AM Csaba Kiraly

player: add variable to disable/enable qoe led

1f834822 09/22/2011 09:06 AM Csaba Kiraly

Merge branch 'gui' into next

8b4594af 09/22/2011 09:06 AM Csaba Kiraly

Merge branch 'fixes' into next

40549dd7 09/22/2011 09:05 AM Csaba Kiraly

player: change channel with up/down arrow keys

8d45b885 09/22/2011 09:05 AM Csaba Kiraly

player: increase/decrease delay with left/right arrow key

02c74b4d 09/22/2011 09:04 AM Csaba Kiraly

player: fix: do not change caption dynamically

It seems that the Caption change triggers a change in
SDL's pulseaudio module as well, which can clash with the
audio thread

a0699bb5 09/16/2011 04:56 PM Csaba Kiraly

player: just a TODO

15ce34fb 09/16/2011 03:57 PM Csaba Kiraly

player: add -C parameter to select channel file

would be better with -c and -C reversed

411ae1a4 09/16/2011 03:43 PM Csaba Kiraly

player: fixing some file name defaults

fac848aa 09/15/2011 10:48 PM Csaba Kiraly

player: download channels file at startup, without external scripting

needed for the Win version where external scripting is more cumbersome

bf68948b 09/15/2011 08:24 PM Csaba Kiraly

player: fix: do not parse config twice

acd182a6 09/14/2011 10:40 AM Csaba Kiraly

player: move OverlayRect to GUI

4afdae88 09/14/2011 10:40 AM Csaba Kiraly

player: fix YUVOverlay size and scaling confusion

the YUVOverlay is automatically scaled when rendered on screen
there is no need to scale it down before just to scale it up after

0cd1c2ad 09/14/2011 10:40 AM Csaba Kiraly

player: move all YUVOverlay code to core

3fbf13f1 09/14/2011 10:40 AM Csaba Kiraly

player: fix freeze due to unsuccessful PSNR publish

libevent was called with the wrong flag, and in some cases
it was blocking execution

dacfbd90 09/14/2011 10:40 AM Csaba Kiraly

player: do not close and reopen audio on channel change (reduce zap time)

75f059a3 08/03/2011 11:51 AM Csaba Kiraly

player: initIPCReceiver in separate funcion

cd9797a1 08/02/2011 10:18 PM Csaba Kiraly

player: moving streamer process id to channel descriptor

a266950b 08/02/2011 10:18 PM Csaba Kiraly

player: separate StartStreamer code

5b061060 08/02/2011 09:22 PM Csaba Kiraly

player: cleaning chunker_player.h

c73e3f22 07/08/2011 07:29 AM ArpadBakay

clean up Windows streamer process launch in player

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

2f7b54b2 07/08/2011 07:29 AM ArpadBakay

undoing previous changes (wrong comments)

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

e411d996 07/08/2011 07:29 AM ArpadBakay

clean up Windows streamer preocess startup

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

0ad44a41 07/08/2011 07:29 AM ArpadBakay

Add required Windows libs to chunker_player Makefiles

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

fe9cdf9a 07/08/2011 07:29 AM GiuseppeTropea

ChunkerPlayer and ChunkeStreamer: removed all warnings except some deprecated function in ffmpeg/sws which is still better to use the deprecated interface

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

47943338 07/08/2011 07:29 AM GiuseppeTropea

ChunkerPlayer and Winestreamer: re-enable PSNR publication in the repo: - streamer.c reintroduced the writing to an external NetworkID file of the peer net ID - Makefile and passing of correct include dirs in the NAPA-BASELIBS structure - chunker_player.c changed to correctly parse the RepoAddress for both win and linux...

b79102a2 07/08/2011 07:29 AM Csaba Kiraly

player: changing default port to 6100

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

edd61080 06/05/2011 01:33 PM Csaba Kiraly

player: add change ratio functionality and hotkey (r)

b3283200 06/05/2011 01:33 PM Csaba Kiraly

player: exit fullscreen mode on ESC

bdf6152e 05/29/2011 01:29 PM Csaba Kiraly

player: do not hide streamer's stderr

18855fca 05/14/2011 07:32 AM Csaba Kiraly

player: fix launch string error under Win32

sideproduct: RepoAddress parsing is disabled now under linux, TBD

71fa7249 05/13/2011 02:59 PM Csaba Kiraly

player: configure codec in channels.conf

12948c73 05/13/2011 12:30 PM Csaba Kiraly

player: making -c param optional

157c26b4 05/13/2011 09:24 AM Csaba Kiraly

player: making the -p param optional

5fd002d4 05/13/2011 09:21 AM Csaba Kiraly

player: malking the -q param optional

b43b48ff 05/12/2011 01:21 PM Csaba Kiraly

fixing streamer strartup string with chunkstream

57b6471f 05/12/2011 01:15 PM Csaba Kiraly

fix: look for NetworkID only if psnr-publication is enabled

2f5ae7bb 05/11/2011 06:56 AM Csaba Kiraly

chunker_player: audio codec (-A) and video codec (-V) configuration on command line

it was unnecessarily hardcoded before
parameters are decoder names

327da69f 05/05/2011 10:07 AM Csaba Kiraly

changing HttpPort and TcpPort to Port

af11718f 04/06/2011 04:00 PM CarmeloDaniele

UL Player: PSNR publication working

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

59e008ed 04/06/2011 02:17 PM GiuseppeTropea

UL player: PSNR publication in the repo, fixed all segfaults. Not sure yet it really publishes

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

b0e46569 04/06/2011 10:57 AM GiuseppeTropea

UL player: PSNR publication made optional via define. Still debugging it.

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

0cd6b05d 04/06/2011 08:53 AM CarmeloDaniele

Added pubblication of PSNR values on repository

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

ccf75e3a 04/05/2011 05:10 PM GiuseppeTropea

UL player: fixed help usage message and bug related to SilentModes

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

74564eb3 04/01/2011 11:05 AM CarmeloDaniele

Added sharing of NetworkID between streamer and GUI

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

01f952d0 03/04/2011 04:39 PM GiuseppeTropea

added LGPL licensing info to the UL components

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

c35a59c4 02/10/2011 05:50 PM Csaba Kiraly

changing checks from WIN32 to the standard _WIN32

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

e11386c0 02/02/2011 10:04 PM Csaba Kiraly

Merge portablestreamer-win into trunk

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

b9e6f879 02/02/2011 08:06 PM Csaba Kiraly

reverting trunk head to r2142

changes in trunk were cleaned and ported first to winestreamer-0.9.x, then to portablestreamer, finally to portablestreamer-win
it seems better to roll back trunk and replace it with portablestreamer-win

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

8e4bb489 10/07/2010 12:56 PM CarmeloDaniele
  • The player_ip command line parameter has been removed (unnecessary).

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

3b886ea1 10/07/2010 10:38 AM CarmeloDaniele
  • offerstreamer filename modified in channels.conf (improved portability)

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

add73b22 10/07/2010 10:07 AM CarmeloDaniele
  • chunker_player modifications:
  • channels.conf updated (replaced the repository address)
  • implemented the offerstreamer fork/kill mechanism in the windows version too
  • other minor changes

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

12b8f562 10/05/2010 07:02 AM CarmeloDaniele
  • Cross compiling checks added to the build_ul script.
  • libpng is now built on the fly and statically linked to the player (no more local shared lib needed).
  • Bugfix in the chunker_player regarding the channel aspect ratio. Now no green area is visible on the overlay rectangle....
e8699fac 09/14/2010 12:27 PM GiuseppeTropea

UL player
-- aspect ratio from channels.conf now taken into account

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

dae4a53f 08/24/2010 09:30 AM GiuseppeTropea

UL player
- basic Quality evaluation module
- statistics now computed with sliding windows
- bugfixes in computation and display of statistics
- re-introduced a late-frames blocking in the queues: late-frames are not even queued (instead of just skipped)
- debug info is displayed at each chunk arrival to count the chunks we get out of order at the http receiver endpoint...

af0d4607 08/10/2010 11:37 AM GiuseppeTropea

UL player
- fixed bug with includes and defines avoiding the switch to H264, due to code restructuring

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

19b05fc0 08/05/2010 10:10 AM GiuseppeTropea UL chunker player
  • added a command line parameter in order to select the first channel to tune in by channel name;
  • removed the "-C channelname" from the configuration file (channels.conf). Now the -C parameter is dinamically built using the channel title (just after the 'Channel' keyword in the configuration file)....
31e4e8ba 07/29/2010 03:15 PM GiuseppeTropea UL chunker player
  • statistics messages added
  • minor bugfixes

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

569b286f 07/28/2010 05:13 PM GiuseppeTropea UL chunker player:
  • stats print added

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

10c75ef7 07/28/2010 04:13 PM GiuseppeTropea UL chunker player:
  • overall code cleanup and split in several smaller files
  • more robust redraw-screen mutex coding
  • channels now using -F parameter (for offerstreamer http output port)
  • offerstreamer child processes -P udp_port set incrementally based on player http port...
cf26d11f 07/27/2010 08:22 AM GiuseppeTropea UL Application
  • changes in chunker_player statistics estimation;
  • automatic ratio adjust on channel change in chunker_player;
  • minor changes i chunker_player;
  • offerstreamer http output port changed

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

fc014e26 07/23/2010 01:56 PM GiuseppeTropea UL Application
  • added font rendering support in the chunk player
  • minor bugfixes

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

3a240a99 07/22/2010 06:07 PM GiuseppeTropea UL Application
  • added fullscreen mode at local desktop resolution (chunker_player.c)
  • added (AV codecs and video_callback thread)-(channel) binding. Now on channel selection, the chunker_player stops the current video_callback thread and destroys AV codecs data structures. Then video_callback launching and AV codecs initialization will be done again....
78068e21 07/22/2010 11:28 AM GiuseppeTropea UL Application
  • added configuration file support in chunker_player
  • added switch-channel support in chunker_player
  • enhancements and code comments added in chunker_player.c
  • segmentation fault bugfix in chunker_player.c (solved by using RedrawMutex)
6e7ee06a 07/20/2010 03:00 PM GiuseppeTropea UL Application
  • silent mode bugfix: inhibited audio

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

20de09cd 07/20/2010 02:28 PM GiuseppeTropea UL Application:
  • added 'silentMode' and 'httpd_port' parameters in the chunker_player arguments;

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

7597e39b 07/20/2010 01:28 PM GiuseppeTropea UL Application:
  • added null return check on SDL_SetVideoMode calls

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

a8be2526 07/20/2010 12:29 PM GiuseppeTropea
  • added fullscreen mode;
  • play/pause buttons removed;
  • other bugfixes;

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

9240dba2 07/16/2010 05:11 PM GiuseppeTropea

UL components: Changed in the standard included files due to the correct installation of libmicrohttpd in a separate directory

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

aba1367c 07/11/2010 03:41 PM GiuseppeTropea

UL player: added PLAY/PAUSE button; added icons for buttons; checked in code for YUV received file saving; added video resizing functionality

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913

1538a3bd 07/09/2010 05:45 PM GiuseppeTropea

restructured folders to facilitate compilation, and added Makefiles plus a build_ul script

git-svn-id: c54fac2e-1815-407e-9b96-088d06743913