platform/core/api/mediamuxer.git
8 years agoAdd build option to mediamuxer test excute files for applying ASLR 68/67868/1 accepted/tizen/common/20160504.125012 accepted/tizen/ivi/20160503.011421 accepted/tizen/mobile/20160503.011317 accepted/tizen/tv/20160503.011345 accepted/tizen/wearable/20160503.011403 submit/tizen/20160502.101731
Gilbok Lee [Fri, 29 Apr 2016 01:13:43 +0000 (10:13 +0900)]
Add build option to mediamuxer test excute files for applying ASLR

Change-Id: I98429445e424255c6370d732425d97c720aa867f
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoApply tizen C coding rule 02/64102/1 accepted/tizen/common/20160405.132642 accepted/tizen/ivi/20160405.083328 accepted/tizen/mobile/20160405.083205 accepted/tizen/tv/20160405.083226 accepted/tizen/wearable/20160405.083300 submit/tizen/20160405.045251
Gilbok Lee [Wed, 30 Mar 2016 05:50:27 +0000 (14:50 +0900)]
Apply tizen C coding rule

Change-Id: Id19d90faa4d65c1a3af34514c8cf57124ed71015
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoFix addtogroup tag for Native API doc 72/63672/1 accepted/tizen/common/20160329.050305 accepted/tizen/ivi/20160328.064419 accepted/tizen/mobile/20160328.064327 accepted/tizen/tv/20160328.064344 accepted/tizen/wearable/20160328.064404 submit/tizen/20160328.023935
Gilbok Lee [Fri, 25 Mar 2016 07:16:44 +0000 (16:16 +0900)]
Fix addtogroup tag for Native API doc

Change-Id: I3972bd733a7d5de8cbb3c02b7471b38029bdce89
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoAdded relevant error check for media_format_get_info calls in muxer 26/59626/1 accepted/tizen/common/20160311.202109 accepted/tizen/ivi/20160311.150001 accepted/tizen/mobile/20160311.142929 accepted/tizen/tv/20160311.144547 accepted/tizen/wearable/20160311.145351 submit/tizen/20160311.052932
Mahesh Kondiparthi [Wed, 17 Feb 2016 04:42:13 +0000 (10:12 +0530)]
Added relevant error check for media_format_get_info calls in muxer

Appropriate check with MEDIA_FORMAT_ERROR_NONE is used instead of MEDIA_FORMAT_ERROR_INVALID_OPERATION

Change-Id: I02f17146cb8a78562cb8b59a668eb06cea7fc936
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoAdded subtitle support to 3gp format 16/59216/2 accepted/tizen/mobile/20160217.075845 accepted/tizen/tv/20160217.075905 accepted/tizen/wearable/20160217.075920 submit/tizen/20160217.021010 submit/tizen_common/20160218.142243
Mahesh Kondiparthi [Thu, 11 Feb 2016 11:24:24 +0000 (16:54 +0530)]
Added subtitle support to 3gp format

[1] Use subtitle instead of text, when relevant
[2] Fixed review comment

Change-Id: I9172fbc8bc0ae28b644077e414f66ccebf05da93
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
Signed-off-by: Seo Joungkook <jk7704.seo@samsung.com>
8 years agoAdded subtitle support to mediamuxer 02/59002/1 accepted/tizen/ivi/20160218.022935 accepted/tizen/mobile/20160211.084118 accepted/tizen/tv/20160211.084142 accepted/tizen/wearable/20160211.084208 submit/tizen/20160211.075531 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000001
Mahesh Kondiparthi [Mon, 8 Feb 2016 06:59:54 +0000 (12:29 +0530)]
Added subtitle support to mediamuxer

    subtitles are activated to .mp4 files

Change-Id: Ibd4b96212e76c1d382691ef90b1869e0075809aa
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoFixed bug in infunctionality of 3gp video with current test-suite 47/58847/2
Mahesh Kondiparthi [Thu, 4 Feb 2016 03:47:31 +0000 (09:17 +0530)]
Fixed bug in infunctionality of 3gp video with current test-suite

Added 3gp check in video-demuxing in muxer_test
Added \n at the end of g_print

Change-Id: Ia876b5c544bfcee6a2abd890bcd328018f7f25e0
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoAdded aac_adts support to muxer 44/58444/1 accepted/tizen/mobile/20160204.061945 accepted/tizen/tv/20160204.062004 accepted/tizen/wearable/20160204.062025 submit/tizen/20160204.005333
Mahesh Kondiparthi [Mon, 1 Feb 2016 06:06:16 +0000 (11:36 +0530)]
Added aac_adts support to muxer

Enhanced the testsuite to demux mp4(aac) and feed to mediamuxer for aac_adts

Change-Id: I8ab346868dc44a47700a4734069ff244ea49944a
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoFixed gst_critical error during prepare 32/57732/1 accepted/tizen/mobile/20160127.005148 accepted/tizen/tv/20160127.005152 accepted/tizen/wearable/20160127.005156 submit/tizen/20160126.232536
Mahesh Kondiparthi [Fri, 22 Jan 2016 06:47:54 +0000 (12:17 +0530)]
Fixed gst_critical error during prepare

[1] Fixed "GStreamer-CRITICAL **: gst_caps_from_string: assertion 'string' failed" error during prepare.
[2] Add \n for MX_E when needed

Change-Id: I77d88dd7f698a7e897ed6dba45e40256d2dad575
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoEnabled 3gp(h264+amr) support to muxer 92/57092/2 accepted/tizen/mobile/20160122.081316 accepted/tizen/tv/20160122.081336 accepted/tizen/wearable/20160122.081340 submit/tizen/20160122.055039
Mahesh Kondiparthi [Fri, 15 Jan 2016 06:04:12 +0000 (11:34 +0530)]
Enabled 3gp(h264+amr) support to muxer

Change-Id: Id860f79a342f0e75c77575fec9b3a394a190d805
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoEnhance muxer functionality to facilitate testing of FHD video muxing. 67/56967/1 accepted/tizen/mobile/20160115.111247 accepted/tizen/tv/20160115.111300 accepted/tizen/wearable/20160115.111322 submit/tizen/20160115.024320
Mahesh Kondiparthi [Thu, 14 Jan 2016 03:52:40 +0000 (09:22 +0530)]
Enhance muxer functionality to facilitate testing of FHD video muxing.

Also, Fixed bug in calling media_format_get_audio_info for video case.

Change-Id: I5126d7d9f11d4a9d4131b95ac8ab335435b474f2
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
8 years agoGraceful exit when wrong file is fed to muxer. 49/56849/3 accepted/tizen/mobile/20160114.064849 accepted/tizen/tv/20160114.064922 accepted/tizen/wearable/20160114.064942 submit/tizen/20160114.021519
Mahesh Kondiparthi [Wed, 13 Jan 2016 06:30:32 +0000 (12:00 +0530)]
Graceful exit when wrong file is fed to muxer.

Added null check to output_uri in gst_add_track to return if set_data_sink fails.
Modify mediamuxer to return an error if the media_format during add_track is not matching with media_format of the write_sample packet
Update mediamuxer test-suite to return an error if inappropriate A/V codecs were fed.
Hence, user is restricted to feed a container-file with same encoded-media as what he choose during 'o'
Addressed review comments

Change-Id: Id8f4fe3637564e9957084f77dab5f6d856b4b2f6
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoFixed bug in muxing 3gp container with amr audio 37/56837/3 accepted/tizen/mobile/20160114.011311 accepted/tizen/tv/20160114.011327 accepted/tizen/wearable/20160114.011344 submit/tizen/20160113.063342
Mahesh Kondiparthi [Wed, 13 Jan 2016 05:02:51 +0000 (10:32 +0530)]
Fixed bug in muxing 3gp container with amr audio

One can validate the same with option 23.

Change-Id: I4a2321341389383880fb773b57d6125c05aa4cbf
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoCorrect the mis-represented macro SEND_FULL_CAPS_VIA_CODEC_DATA 91/56291/5 accepted/tizen/mobile/20160114.010855 accepted/tizen/tv/20160114.010916 accepted/tizen/wearable/20160114.010937 submit/tizen/20160113.044402
Mahesh Kondiparthi [Wed, 6 Jan 2016 05:10:15 +0000 (10:40 +0530)]
Correct the mis-represented macro SEND_FULL_CAPS_VIA_CODEC_DATA

1) Enable the macro and
2) Use appropriate code to #ifdef

Change-Id: I86ef1b35ba85a6717adaaa5be1109dad725b775b
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoMerge "Fixed typos in mediamuxer_doc.h" into tizen
Heechul Jeon [Fri, 8 Jan 2016 03:08:20 +0000 (19:08 -0800)]
Merge "Fixed typos in mediamuxer_doc.h" into tizen

8 years agoFixed typos in mediamuxer_doc.h 97/56397/1
Gilbok Lee [Thu, 7 Jan 2016 09:55:15 +0000 (18:55 +0900)]
Fixed typos in mediamuxer_doc.h

Change-Id: I7e3e489f2a6f41ed3d3e45566960d80144a2e826

8 years agoApplied error-handling guidelines to muxer apis 65/55765/4 accepted/tizen/mobile/20160104.054854 accepted/tizen/tv/20160104.054920 accepted/tizen/wearable/20160104.054934 submit/tizen/20160104.050846
Mahesh Kondiparthi [Tue, 29 Dec 2015 07:18:59 +0000 (12:48 +0530)]
Applied error-handling guidelines to muxer apis

Addressed review comments

Change-Id: Ic41af991c78368ee240a08c849e1ee690998e20b
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoFixed the mismatching index for wav, amr-nb & wb in muxer test-suite. 05/54705/2 accepted/tizen/mobile/20151228.233121 accepted/tizen/tv/20151228.232100 accepted/tizen/wearable/20151228.231356 submit/tizen/20151228.105041
Mahesh Kondiparthi [Thu, 17 Dec 2015 08:25:58 +0000 (13:55 +0530)]
Fixed the mismatching index for wav, amr-nb & wb in muxer test-suite.

Apply Coding rules and format corrections

Change-Id: Ia4eefe4db775cd5eafe2aa99cd4f8c06bf949041
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoApply Tizen coding rule and add doc 12/55112/1 accepted/tizen/mobile/20151223.105509 accepted/tizen/tv/20151223.105447 accepted/tizen/wearable/20151223.105518 submit/tizen/20151223.055515 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Gilbok Lee [Tue, 22 Dec 2015 04:02:23 +0000 (13:02 +0900)]
Apply Tizen coding rule and add doc

Change-Id: Ife411be4159b07fd79996520c17ee55d9d1a95ad
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoRemoved libprivileage-control dependency 25/54825/1 accepted/tizen/mobile/20151218.090737 accepted/tizen/tv/20151218.090709 accepted/tizen/wearable/20151218.090723 submit/tizen/20151218.080812
Gilbok Lee [Fri, 18 Dec 2015 05:59:27 +0000 (14:59 +0900)]
Removed libprivileage-control dependency

Change-Id: Ia7cdbf9cdf63a8221f4eabdb0f173e09762677f2
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoModified error handling in mediamuxer null check macros 96/54396/1
Mahesh Kondiparthi [Tue, 15 Dec 2015 05:45:22 +0000 (11:15 +0530)]
Modified error handling in mediamuxer null check macros

Change-Id: Id8c8b715562d89698338759814ea8bcc0c408897
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoEnhanced mp4 with mpeg4 & h263 video-formats 80/54080/3 accepted/tizen/mobile/20151215.055141 accepted/tizen/tv/20151215.055205 accepted/tizen/wearable/20151215.055226 submit/tizen/20151215.040825
Mahesh Kondiparthi [Fri, 11 Dec 2015 07:21:13 +0000 (12:51 +0530)]
Enhanced mp4 with mpeg4 & h263 video-formats

[1] Enhanced Demuxer code in the test suite to aid muxer-testing of mp4 with mpeg4 & h263 videos
[2] Addressed review comments

Change-Id: Ife9d652efa85c6a09149e9b3d5d60fd29b57da4e
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
Signed-off-by: Seo Joungkook <jk7704.seo@samsung.com>
8 years agoAddressed prevent issues [Sync with 2.4] 74/53574/2 accepted/tizen/mobile/20151212.071329 accepted/tizen/tv/20151212.072809 accepted/tizen/wearable/20151212.073432 submit/tizen/20151211.091510
Mahesh Kondiparthi [Tue, 8 Dec 2015 04:13:49 +0000 (09:43 +0530)]
Addressed prevent issues [Sync with 2.4]

update user_cb from _mx_gst_bus_call
Replace printf with g_print
Addressed review comments

Change-Id: I9c808ed82beba37c682b20846b79e8820d3997c3
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoAdded amr support to muxer 69/53469/2
Mahesh Kondiparthi [Mon, 7 Dec 2015 07:14:50 +0000 (12:44 +0530)]
Added amr support to muxer

    Support to both amr-nb and amr-wb is added
    Enhanced the testsuite to add demux amr-nb and demux amr-wb.
    Removed calling gst_element_get_state() from pause as the state is known to be PLAYING

Change-Id: I096a14c705f4237d4083dc32fc4133f54e17372a
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com
8 years agoFix svace defect 27/53427/1 accepted/tizen/mobile/20151207.123258 accepted/tizen/tv/20151207.123314 accepted/tizen/wearable/20151207.123328 submit/tizen/20151207.043145
Gilbok Lee [Fri, 4 Dec 2015 07:24:31 +0000 (16:24 +0900)]
Fix svace defect

Change-Id: Ie17288a3c6ba6aea08b58579365d57bc2437a2a4
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
8 years agoAdded wav support to mediamuxer 19/52719/3
Mahesh Kondiparthi [Thu, 26 Nov 2015 06:53:57 +0000 (12:23 +0530)]
Added wav support to mediamuxer

Updated the testsuite to add demux_wav functionality.
Applied coding rules by running the tool
Addressed review comments

Change-Id: I7d01f56725338122237f986995697a960d871158
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoSync with 2.4 [Modified the test app to split GStreamer based code into a new file] 93/52293/1
satheesan.en [Fri, 20 Nov 2015 12:29:01 +0000 (17:59 +0530)]
Sync with 2.4 [Modified the test app to split GStreamer based code into a new file]

Change-Id: Id910b33c24d06be785eb127cf94e165d162efd8b
Signed-off-by: satheesan.en <satheesan.en@samsung.com>
8 years agoAdded 3gp support to muxer 43/51443/1
Mahesh Kondiparthi [Mon, 9 Nov 2015 15:02:10 +0000 (20:32 +0530)]
Added 3gp support to muxer

Enhanced the test-suite to support multiple-container-formats.
With current change, exiting formats (mp4) works with newly added encoded-media(h263) too.
Addressed review comments

Change-Id: Ia06787312ce31226759ed0738216425cdc1b1efc
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoFix memory leaks in muxer [Sync with 2.4] 00/51000/1
Mahesh Kondiparthi [Wed, 4 Nov 2015 10:24:33 +0000 (15:54 +0530)]
Fix memory leaks in muxer [Sync with 2.4]

Current patch saves ~500kb of leaks in muxer.

Change-Id: Id48ebcd934521a8766526468f60045be15207c38
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoApplied Coding rules for indentation. 16/50516/4
Mahesh Kondiparthi [Thu, 29 Oct 2015 10:43:31 +0000 (16:13 +0530)]
Applied Coding rules for indentation.

Cleaned the code whenever needed.
Addressed review comments

Change-Id: I688db93fce1de8ff9ec69b7dd8d5acb029c6109a
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoCorrections to State checks of pause [Sync with 2.4]. 59/49259/1
Mahesh Kondiparthi [Mon, 12 Oct 2015 05:53:03 +0000 (11:23 +0530)]
Corrections to State checks of pause [Sync with 2.4].

    Corrected improper State check for mx_pause call
    pause pre-state is restricted to Muxing. Ready is avoided in the state check.

Change-Id: I3f14eec9e843efcd5a3906b4e5e269448d8900fc
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agoAdded multitrack support to mediamuxer (Sync with 2.4) 10/48510/2 accepted/tizen/mobile/20151008.133342 accepted/tizen/tv/20151008.133653 accepted/tizen/wearable/20151008.134102 submit/tizen/20151008.061759 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Mahesh Kondiparthi [Tue, 22 Sep 2015 09:05:17 +0000 (14:35 +0530)]
Added multitrack support to mediamuxer (Sync with 2.4)

Use "mediamuxer -m" to test the same.
Also, revoked single track functionality in mediamuxer
Modified the muxer code with linked list architecture.
Update the testsuite to use track_index provided by add_track
Addressed Review comments

Change-Id: I21e8b274ee545ba12830b20c7c72deb19d4de828
Signed-off-by: Mahesh Kondiparthi <kd.mahesh@samsung.com>
8 years agocodec_data is passed through media_packet_set_extra() API 52/47952/5 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150910.113815 accepted/tizen/tv/20150910.113821 accepted/tizen/wearable/20150910.113838 submit/tizen/20150910.111727 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
satheesan.en [Thu, 10 Sep 2015 08:07:31 +0000 (13:37 +0530)]
codec_data is passed through  media_packet_set_extra() API

Change-Id: I9c5f2f8e81ef236b965a58b3cdfb84e0a4bea694
Signed-off-by: Satheesan E N<satheesan.en@samsung.com>
Signed-off-by: Mahesh Kondiparthi<kd.mahesh@samsung.com>
8 years agoSync with 2.4 (Updated testsuit to validate AAC format with mediacodec) 18/47518/3 accepted/tizen/mobile/20150909.140648 accepted/tizen/tv/20150909.140017 accepted/tizen/wearable/20150909.135036 submit/tizen/20150909.070248
Joungkook Seo [Fri, 4 Sep 2015 07:04:37 +0000 (16:04 +0900)]
Sync with 2.4 (Updated testsuit to validate AAC format with mediacodec)

[1] Fixed build error 64bits repos
[2] Enhancement of the log and Rearrangement of the some functions

Change-Id: Ic2928bfc7ce4573c68b41b9a4446bca96ad0ab00
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
8 years agoFixed build error 64bits repos (Muxer) 91/45791/1 accepted/tizen/mobile/20150812.064550 accepted/tizen/tv/20150812.064609 accepted/tizen/wearable/20150812.064620 submit/tizen/20150812.055316
Joungkook Seo [Tue, 11 Aug 2015 09:19:14 +0000 (18:19 +0900)]
Fixed build error 64bits repos (Muxer)

Change-Id: I9a23d2666c1d70c56db29279ea31945c589a57a5
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
8 years agoUpdate the code for sync with SPIN 2.4 (Muxer) 14/45614/1 submit/tizen/20150811.021742
Joungkook Seo [Mon, 10 Aug 2015 01:48:42 +0000 (10:48 +0900)]
Update the code for sync with SPIN 2.4 (Muxer)

Change-Id: I0c673e63606be12bef08c90345d9e8b65bd44cb7
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
9 years agoFixed invalid build path in CMakeLists file 13/44513/1 accepted/tizen/mobile/20150723.090011 accepted/tizen/tv/20150723.090122 accepted/tizen/wearable/20150723.090220 submit/tizen/20150723.072807
Joungkook Seo [Thu, 23 Jul 2015 01:29:32 +0000 (10:29 +0900)]
Fixed invalid build path in CMakeLists file

Change-Id: If4b42da472939810a8f5e500a830e5dc0531d09a
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
9 years agoFixed build error 64bits repos arm64-wayland 72/44472/1 submit/tizen/20150722.091042
Joungkook Seo [Wed, 22 Jul 2015 09:02:57 +0000 (18:02 +0900)]
Fixed build error 64bits repos arm64-wayland

Change-Id: I332f333c82310bfde1b74da2cccb7eb7d1a1ad18
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
9 years agoAdd initial code for mediamuxer 32/43632/6 submit/tizen/20150722.060525
Joungkook Seo [Mon, 13 Jul 2015 00:25:39 +0000 (09:25 +0900)]
Add initial code for mediamuxer

[1] Update the code according to the ACR review
[2] Fixed review comment of patch set(#3)
[3] Sync with 2.4 and Refine code (2nd)
[4] Fixed review comment of patch set(#5)

Change-Id: I82544b53d0057dec8c42640f8635a905cb70cf2d
Signed-off-by: Joungkook Seo <jk7704.seo@samsung.com>
9 years agoInitial empty repository master
KyungMi Lee [Fri, 5 Jun 2015 04:27:54 +0000 (21:27 -0700)]
Initial empty repository