platform/core/multimedia/libmm-streamrecorder.git
3 years agoMerge branch 'tizen' into tizen_6.0 06/247406/1 accepted/tizen/6.0/unified/20201113.014521 submit/tizen_6.0/20201111.031837
Jeongmo Yang [Tue, 10 Nov 2020 10:45:55 +0000 (19:45 +0900)]
Merge branch 'tizen' into tizen_6.0

Change-Id: Ifc62fec24ef3eea68b51db941ac6c5ec562ea423
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoChange element name for recording 13/246513/1 accepted/tizen/unified/20201102.124415 submit/tizen/20201029.072218
Jeongmo Yang [Fri, 30 Oct 2020 10:06:22 +0000 (19:06 +0900)]
Change element name for recording

- "encodebin" -> "tizenencodebin"
- The original "encodebin" in gst-plugins-base will be enabled.

[Version] 0.0.34
[Issue Type] Update

Change-Id: I831a5c15352d55a60bbcb04be25a6caad4e09f7b
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
4 years agoAdd dot generation 45/234145/1
Hyunsoo Park [Fri, 22 May 2020 07:21:36 +0000 (16:21 +0900)]
Add dot generation

Change-Id: I84782315b92cfa03a3d868fb056fe98710d56eba
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdds dot generation codes 97/233497/1
Hyunsoo Park [Fri, 15 May 2020 05:30:25 +0000 (14:30 +0900)]
Adds dot generation codes

In case of 'generate dot' ini value is 'yes',
stream recorder would generate dot file.

Change-Id: I89bc3b1a4db3b349cbfc91621b65fb59ab973f57
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoChange mediapacket usage 08/227608/5 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114501 accepted/tizen/6.0/unified/hotfix/20201103.003106 accepted/tizen/unified/20200326.215045 submit/tizen/20200325.100145 submit/tizen/20200326.024055 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
Hyunsoo Park [Fri, 13 Mar 2020 05:57:16 +0000 (14:57 +0900)]
Change mediapacket usage

Change-Id: I226b832ed7cd9fd08a52d8a1c6eef6ad6ca3ff89
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdds NV21 format support 18/225918/1 submit/tizen/20200225.105031 submit/tizen/20200302.004345 submit/tizen/20200304.030752 submit/tizen/20200304.104357
Hyunsoo Park [Tue, 25 Feb 2020 09:21:32 +0000 (18:21 +0900)]
Adds NV21 format support

Change-Id: Icc1bebcd58f873c276a28d5da62187d3c14bd5f1
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoFix build error due to toolchain upgrade (gcc6->gcc9) 98/221898/2 accepted/tizen/unified/20200113.222456 submit/tizen/20200113.060950
Hyunsoo Park [Wed, 8 Jan 2020 07:36:45 +0000 (16:36 +0900)]
Fix build error due to toolchain upgrade (gcc6->gcc9)

Change-Id: Ib1caeea8b393775c6ffe38e608ae17e8b71ab429
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
4 years agoAdds changes for mode of stream recoder 36/218536/15 submit/tizen/20200107.014746 submit/tizen/20200107.015415 submit/tizen/20200108.071757 submit/trunk/20200107.014436
Hyunsoo Park [Mon, 25 Nov 2019 07:03:36 +0000 (16:03 +0900)]
Adds changes for mode of stream recoder

It related with patch of mediastreamrecorder. (https://review.tizen.org/gerrit/#/c/platform/core/api/mediastreamrecorder/+/218535)

*Changes Recorder Mode.
:MM_STREAMRECORDER_MODE_MEDIABUFFER->MM_STREAMRECORDER_MODE_STREAM_BUFFER
:MM_STREAMRECORDER_MODE_SCREENRECORD->MM_STREAMRECORDER_MODE_DEVICE_LOOPBACK

*Changes Video source formats.
Removed
:UYVY, YUYV

changed
:BGRA8888->BGRA

*changes timestamp type
unsinged long to unsigned long long
:mm_streamrecorder_push_stream_buffer
:mm_streamrecorder_push_video_packet

*Divides gst_set_videosrcpad_caps.
: gst_set_videosrcpad_caps_sw
: gst_set_videosrcpad_caps_hw

*Adds Enums for MM_STREAMRECORDER_MODE_DEVICE_LOOPBACK
:_MMSTREAMRECORDER_ELELMENT enum structure.

Refers patch for Other minor changes.

Change-Id: Iee498d750b0bf1c56a7117aa08656a7a2395afb4
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoChange stream buffer data pointer location. 10/212310/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.022041 accepted/tizen/5.5/unified/mobile/hotfix/20201027.084020 accepted/tizen/unified/20190821.111113 submit/tizen/20190821.040016 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Hyunsoo Park [Tue, 20 Aug 2019 07:36:08 +0000 (16:36 +0900)]
Change stream buffer data pointer location.

Data pointer of 'MediaPacket' is assigned to 'data[0]' member variable but 'gst_buffer_append_memory' api try to get pointer from 'handle.paddr[0]'.
So i change it to 'data[0]'.

Change-Id: Ice515241ffa0e03ff580744242b6417401dfd38f
Signed-off-by: Hyunsoo Park <hance.park@samsung.com>
5 years agoRemove unnecessary map 20/210220/2 accepted/tizen/unified/20190718.075210 submit/tizen/20190718.030630
SeokHoon LEE [Wed, 17 Jul 2019 04:45:34 +0000 (13:45 +0900)]
Remove unnecessary map

- _mmstreamrecordder_push_videostream_buffer and audiostream_buffer
  take onwership of buffer so,
- remove unnecessary map/unmap.

Change-Id: Ie2e3561d8d79f2de2f5318d1c331b56faeec216b
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd push_vidoe_packet for i420 format 84/204184/3 accepted/tizen/unified/20190423.113416 submit/tizen/20190422.072607
SeokHoon LEE [Mon, 22 Apr 2019 05:29:23 +0000 (14:29 +0900)]
Add push_vidoe_packet for i420 format

- add new function to process video packet
  that have separate plane in I420 format

Change-Id: Id1abdcf1bf2562092e02ee352779afa45b7aaf94
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd failure log for removing corrupted ini file 00/198100/4 accepted/tizen/unified/20190128.061554 submit/tizen/20190123.014254
SeokHoon LEE [Mon, 21 Jan 2019 01:07:30 +0000 (10:07 +0900)]
Add failure log for removing corrupted ini file

- Add g_remove failed log

Change-Id: Id3a7f0533385e9fba0212bd83b1590af08f08d28
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoAdd free code
SeokHoon Lee [Mon, 9 Apr 2018 09:21:16 +0000 (18:21 +0900)]
Add free code

- add g_free (type) for memory leak

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I6a300efef88d5bf50fa0859a6cba39643d5a028f

5 years agofix dlog format 51/194751/4 accepted/tizen/unified/20181221.125534 submit/tizen/20181221.053804
SeokHoon LEE [Fri, 7 Dec 2018 06:11:14 +0000 (15:11 +0900)]
fix dlog format

Change-Id: I69b8f2568dbd51451e0d061baf2595084ac4fd70
Signed-off-by: SeokHoon LEE <andy.shlee@samsung.com>
5 years agoApply new attribute API of libmm-common 20/192320/3 accepted/tizen/unified/20181128.074044 submit/tizen/20181127.074455
Sangchul Lee [Fri, 2 Nov 2018 07:16:15 +0000 (16:16 +0900)]
Apply new attribute API of libmm-common

- Remove dependency of mm_attrs_private.h.
- Use new API set in mm_attrs.h instead of those.

Change-Id: I235197cfa1d89ea656238709ac25b66ba02af19b
Signed-off-by: Sangchul Lee <sc11.lee@samsung.com>
6 years agoAdding initial structure for unittest 53/190453/6
SeokHoon Lee [Tue, 2 Oct 2018 07:04:43 +0000 (16:04 +0900)]
Adding initial structure for unittest

- It has only one testcases for skeleton of unittest
- It would be enabled by gtest build with '--define "gtests 1"

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ic0753be99906b17a7edc4bd20a8cdb4471003112

6 years agoAdd free code 14/175214/2 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.015107 accepted/tizen/unified/20180411.065533 submit/tizen/20180410.044603 submit/tizen_5.0/20181101.000003
SeokHoon Lee [Mon, 9 Apr 2018 09:21:16 +0000 (18:21 +0900)]
Add free code

- add g_free (type) for memory leak

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I6a300efef88d5bf50fa0859a6cba39643d5a028f

7 years agoDelete unused function 62/153062/1 accepted/tizen/unified/20171011.065920 submit/tizen/20171010.085345
SeokHoon Lee [Thu, 28 Sep 2017 01:24:42 +0000 (10:24 +0900)]
Delete unused function

- delete unused funcion(_mmstreamrecorder_find_fourcc and others)
- delete err_attr_name in testsuite, it doesnt need to check.
- add err_name check in mm_streamrecorder_recorder

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I77c6babacf1702f7ed7402681a80c1a68fffa15c

7 years agofix double free 07/151107/1 accepted/tizen/unified/20170920.081149 submit/tizen/20170920.023434
SeokHoon Lee [Wed, 20 Sep 2017 01:41:10 +0000 (10:41 +0900)]
fix double free

- remove g_list first,
  unexpected remove_message_all function within callback free list item first.
  so that, FREE after callback cause double free.

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I28790e0d64daa3ecf3de79208d742ec6234041e7

7 years agoRemove mm-log dependency 36/150236/1
SeokHoon Lee [Fri, 15 Sep 2017 01:55:18 +0000 (10:55 +0900)]
Remove mm-log dependency

- change mm-log to dlog and
  remove mm-log dependency.

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I8618bc17f89d1a177f3a67060d1cf18e745a32ce

7 years agoTizen coding convention 74/149274/2
SeokHoon Lee [Tue, 12 Sep 2017 04:27:23 +0000 (13:27 +0900)]
Tizen coding convention

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Id9c1656fec213f481243c4ee525b69a1a68accff

7 years agoAplly ASLR to excutable file 34/143434/1 accepted/tizen/unified/20170908.220405 submit/tizen/20170908.004611
SeokHoon Lee [Thu, 10 Aug 2017 02:18:05 +0000 (11:18 +0900)]
Aplly ASLR to excutable file

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ic7cdbba5dde07326ee051a6ac231eb6341494d31

7 years agoChange license macro 46/120246/1 accepted/tizen/4.0/unified/20170816.013248 accepted/tizen/4.0/unified/20170816.015907 accepted/tizen/4.0/unified/20170829.015944 accepted/tizen/unified/20170411.164151 submit/tizen/20170411.054946 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
SeokHoon Lee [Wed, 22 Mar 2017 07:04:14 +0000 (16:04 +0900)]
Change license macro

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I0b4cb2a561eb21455d6de05a3929a3ffa9ef81de

7 years agoFix build error for upgrading toolchain 69/111169/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170120.125034 accepted/tizen/ivi/20170120.081654 accepted/tizen/mobile/20170120.081607 accepted/tizen/tv/20170120.081623 accepted/tizen/unified/20170309.033505 accepted/tizen/wearable/20170120.081639 submit/tizen/20170120.060632 submit/tizen_unified/20170308.100408
SeokHoon Lee [Fri, 20 Jan 2017 01:21:01 +0000 (10:21 +0900)]
Fix build error for upgrading toolchain

Different semantics for inline functions
While -std=gnu89 employs the GNU89 inline semantics, -std=gnu11 uses the
C99 inline semantics.
For further informaion, please refer to
'https://gcc.gnu.org/gcc-5/porting_to.html'

Remove unused function.

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I8e7d567f35e3c82d7437619e7a4dab869a9ec3bb

7 years agomove va_copy for unexpected return without va_end 51/103351/2 accepted/tizen/common/20161214.160347 accepted/tizen/ivi/20161214.015254 accepted/tizen/mobile/20161214.014700 accepted/tizen/tv/20161214.015119 accepted/tizen/wearable/20161214.015206 submit/tizen/20161213.083228
SeokHoon Lee [Thu, 8 Dec 2016 06:06:38 +0000 (15:06 +0900)]
move va_copy for unexpected return without va_end

[Version] 0.0.11
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161130.2]

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I7999c4279d29823ab0404226da5ce148e4e19583

7 years agoChange mm_attr structure 52/101452/5 accepted/tizen/common/20161207.184614 accepted/tizen/ivi/20161208.012254 accepted/tizen/mobile/20161208.011944 accepted/tizen/tv/20161208.012017 accepted/tizen/wearable/20161208.012147 submit/tizen/20161207.075356
SeokHoon Lee [Thu, 1 Dec 2016 07:42:42 +0000 (16:42 +0900)]
Change mm_attr structure

[Version] 0.0.10
[Profile] Common
[Issue Type] Change mm_attr structure
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161129.2]

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ie4a2ebd6f8a76c17a60112e15c13f483ba285980

7 years agoDelete unreached code and unused function. 82/100682/3
SeokHoon Lee [Tue, 29 Nov 2016 03:24:12 +0000 (12:24 +0900)]
Delete unreached code and unused function.
Load default value without ini file.
Fix failure for setting attribute on 64bit environment

[Version] 0.0.9
[Profile] Common
[Issue Type] Code refactoring
[Dependency module] N/A[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161128.2]

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I549d25086300286c776b5e965bc7da1bc8240ba7

8 years agofix buffer overflow in case of length of str equal to 255 60/74260/1 accepted/tizen/3.0/common/20161114.105814 accepted/tizen/3.0/common/20161130.064917 accepted/tizen/3.0/ivi/20161011.044406 accepted/tizen/3.0/ivi/20161130.011815 accepted/tizen/3.0/mobile/20161015.033539 accepted/tizen/3.0/mobile/20161130.011554 accepted/tizen/3.0/tv/20161016.005046 accepted/tizen/3.0/tv/20161130.011631 accepted/tizen/3.0/wearable/20161015.083300 accepted/tizen/3.0/wearable/20161130.011729 accepted/tizen/common/20160615.193325 accepted/tizen/common/20161129.173559 accepted/tizen/ivi/20160615.001711 accepted/tizen/ivi/20161130.015425 accepted/tizen/mobile/20160615.001808 accepted/tizen/mobile/20161130.015205 accepted/tizen/tv/20160615.001733 accepted/tizen/tv/20161130.015309 accepted/tizen/wearable/20160615.001748 accepted/tizen/wearable/20161130.015354 submit/tizen/20160614.103947 submit/tizen/20161129.052917 submit/tizen_3.0/20161129.051721 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000003 submit/tizen_3.0_mobile/20161015.000003 submit/tizen_3.0_tv/20161015.000003 submit/tizen_3.0_wearable/20161015.000003
SeokHoon Lee [Mon, 13 Jun 2016 10:58:23 +0000 (19:58 +0900)]
fix buffer overflow in case of length of str equal to 255

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I192051c1eb739cf0bd7b4294c79a15ba9520e303

8 years agofix memory leak 33/70633/3 accepted/tizen/common/20160526.145829 accepted/tizen/ivi/20160602.020550 accepted/tizen/mobile/20160602.020427 accepted/tizen/tv/20160602.020524 accepted/tizen/wearable/20160602.020503 submit/tizen/20160524.060031
SeokHoon Lee [Fri, 20 May 2016 02:15:44 +0000 (11:15 +0900)]
fix memory leak

 - add caps_unref in buffer push function
 - delete unused caps and srcpad

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ieccbeedfe1d46d963df4ae408a3bce88c8b7805a

8 years agomm_streamrecorder_get_attribute_info move to streamrecorder from streamrecorder_attri... 11/64711/2 accepted/tizen/common/20160412.131230 accepted/tizen/ivi/20160413.082742 accepted/tizen/mobile/20160413.073230 accepted/tizen/tv/20160413.075527 accepted/tizen/wearable/20160413.080532 submit/tizen/20160412.071659
SeokHoon Lee [Tue, 5 Apr 2016 02:42:52 +0000 (11:42 +0900)]
mm_streamrecorder_get_attribute_info move to streamrecorder from streamrecorder_attribute, because of warning in mediastreamrecorder package

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I1c12339df727d68467b95f6c6a7f61611bee74cf

8 years agomigration /usr/etc directory to sysconfdir(/etc)/multimedia 45/62445/3 submit/tizen/20160321.072619 submit/tizen/20160324.013753
SeokHoon Lee [Wed, 16 Mar 2016 07:08:27 +0000 (16:08 +0900)]
migration /usr/etc directory to sysconfdir(/etc)/multimedia

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: Ibcb1fb2ab848a8baf086da081d99f2adbd4965dc

8 years agoCheck build warning 92/62392/2
SeokHoon Lee [Wed, 16 Mar 2016 01:44:18 +0000 (10:44 +0900)]
Check build warning

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I2685f28a53e4bf796b290a34418dd9596d802aa3

8 years agoMemory free after message send 94/61694/4 accepted/tizen/common/20160311.203705 accepted/tizen/ivi/20160311.150258 accepted/tizen/mobile/20160311.143239 accepted/tizen/tv/20160311.144825 accepted/tizen/wearable/20160311.145628 submit/tizen/20160311.064229
SeokHoon Lee [Thu, 10 Mar 2016 01:33:02 +0000 (10:33 +0900)]
Memory free after message send

Signed-off-by: SeokHoon Lee <andy.shlee@samsung.com>
Change-Id: I5bec74b5710890d049d28f663a25bc081ed335db

8 years ago[libmm-streamrecorder] UTC issue fixes 57/56857/4 accepted/tizen/ivi/20160218.023820 accepted/tizen/mobile/20160126.050352 accepted/tizen/tv/20160126.050415 accepted/tizen/wearable/20160126.050431 submit/tizen/20160126.010220 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Hyuntae, Kim [Wed, 13 Jan 2016 07:42:37 +0000 (16:42 +0900)]
[libmm-streamrecorder] UTC issue fixes

Change-Id: I5aed7121f2d9b6ce175ed8406c0f29ead6f5aa8a

8 years ago[libmm-streamrecorder] initial code for new feature of streamrecorder 48/53948/7 accepted/tizen/mobile/20160108.065506 accepted/tizen/tv/20160108.065615 accepted/tizen/wearable/20160108.065806 submit/tizen/20160108.040923
Hyuntae, Kim [Thu, 10 Dec 2015 09:37:40 +0000 (18:37 +0900)]
[libmm-streamrecorder] initial code for new feature of streamrecorder

Change-Id: I1e25fb02ca03ce19b96ce512fea55ea835d3543a

8 years agoInitial empty repository master
KyungMi Lee [Tue, 1 Dec 2015 02:04:36 +0000 (18:04 -0800)]
Initial empty repository