Question Samsung Scalable Codec Support on Watch4 - Samsung Galaxy Watch 4

Does anyone know if Samsung Scalable Codec is supported on Watch4?

When audio is playing on the watch look in Developer options it will show which codec is in use.
If it's showing the SSC codec in use or can be set to it (and remains after closing Developer options then reopening and rechecking) it does.

I only see animation, battery, or 3gpp in developer options. There isn't anything which shows the bluetooth codec on the watch.

SnEptUne said:
I only see animation, battery, or 3gpp in developer options. There isn't anything which shows the bluetooth codec on the watch.
Click to expand...
Click to collapse
Look on the phone as the watch is the slave I suspect.

blackhawk said:
Look on the phone as the watch is the slave I suspect.
Click to expand...
Click to collapse
No, the headset isn't paired to the phone. Anyway, I found another way, I enabled BT Snoop Logging and checked logcat in ADB. The codec is SSC, so it seems SSC is supported on watch4.
bt_stack: [INFO:bta_av_co.cc(1448)] SetActivePeer: codec = name: SSC
11-25 20:22:05.317 8050 8128 I bt_stack: samp_freq: 44100 (0x20)
11-25 20:22:05.317 8050 8128 I bt_stack: [INFO:bta_av_co.cc(1669)] ReportSourceCodecState: peer 80:9f:f5:2d:f9:f6 codec_config={codec: SSC priority: 6001 sample_rate: 44100 bits_per_sample: 16 channel_mode: STEREO codec_specific_1: 0 codec_specific_2: 0 codec_specific_3: 0 codec_specific_4: 0}

Thank you. I was searching Google for the Samsung Galaxy Watch5 Watch 5 Pro LTE version on how to find out which bluetooth audio codec was being used and stumbled on this article. What I did find out is that the Watch5 can use or shall I say uses AAC codec and SSC codec althrough using the logcat.
Bluetooth snoop logging turned on and debug over wi-fi. Connect adb to 192.168.1.232:5555 (yours might be different) had the watch set to diconnect the earbuds and idle over youtube music track just before playing. Entered "adb -s 192.168.1.232:5555 logcat *:I" on the computer, clicked play on the watch, selected the earbud wanting to test, heard the music, ctrl + C on the computer running adb. Copied cmd window (Ctrl + A, Ctrl + C) over to Notepad (Ctrl +V). Started searching and combing through the log.
For the Pixel buds it said ccodec aac and Galaxy Buds2 Pro it said SSC and tried to execute aac codec but then said SSC was in use.
Nice to know what's working.
On SENNHEISER HD 450BT which supports aptX only gets AAC
bt_stack: [INFO:bta_av_co.cc(1042)] ProcessSourceGetConfig: retrieved 5 capabilities from peer 00:1b:66:c6:83:a1
bt_stack: [INFO:bta_av_co.cc(1669)] ReportSourceCodecState: peer 00:1b:66:c6:83:a1 codec_config={codec: AAC priority: 2001 sample_rate: 44100 bits_per_sample: 16 channel_mode: STEREO codec_specific_1: 0 codec_specific_2: 0 codec_specific_3: 0 codec_specific_4: 0}
On Galaxy Buds2 Pro we get
bt_stack: [INFO:bta_av_co.cc(1669)] ReportSourceCodecState: peer 64:5d:f4:ac:45:d5 codec_config={codec: SSC priority: 6001 sample_rate: 44100 bits_per_sample: 16 channel_mode: STEREO codec_specific_1: 0 codec_specific_2: 0 codec_specific_3: 0 codec_specific_4: 0}
03-18 23:32:54.751 805 1268 I a2dp_codec: init: updated SBC codec priority to 1001
03-18 23:32:54.752 805 1268 I a2dp_codec: init: updated AAC codec priority to 2001
03-18 23:32:54.752 805 1268 I a2dp_codec: init: updated SSC codec priority to 6001
03-18 23:32:54.752 805 1268 I a2dp_codec: init: initialized Source codec SSC
03-18 23:32:54.752 805 1268 I a2dp_codec: init: initialized Source codec AAC
03-18 23:32:54.752 805 1268 I a2dp_codec: init: initialized Source codec SBC
03-18 23:32:54.752 805 1268 E a2dp_codec: init: no Sink codecs were initialized

Related

[DEV] Porting mplayer to Dream

I was very interested to see a thread in the Hero section on cross-compiling the excellent linux mplayer application
In this thread, http://forum.xda-developers.com/showthread.php?t=575500 some work has been done to get mplayer to work which may throw some interest to people who are interested in getting mplayer going on the Dream.
I have tried the binary on the Dream and am not getting any sound out but am having most **success** with "-ao pcm:file=/dev/msm_pcm_out -v" halts MPlayer with the line "Increasing filtered audio buffer size from 0 to 65536".
I do get flashing video; which is unwatchable but at least a start.
i got it on my tomtom, which uses arm too...
http://www.opentom.org/Build_MPlayer
its a start, not a cure
A Q, what does 'mplayer -ao help' come back with?
Might gives clues about the audio driver to use.
installed mplayer myself in /data and running mplayer gives:
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
Failed to initialize audio driver 'oss'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video
also running 'mplayer -ao help' gives:
bash-3.2# /data/mplayer -ao help
Cannot find HOME directory.
MPlayer SVN-r29814-4.4.1 (C) 2000-2009 MPlayer Team
Available audio output drivers:
oss OSS/ioctl audio output
mpegpes DVB audio output
v4l2 V4L2 MPEG Audio Decoder output
null Null audio output
pcm RAW PCM/WAVE file writer audio output
no idea how this can work
The ones available are the ones mplayer was compiled with. You have to change the devices in the mplayer-framebuffer source for video, I guess you have to do the same for the audio, which is a bit more complicated I think. MPlayer is definitely on my ToDo though.

MP4forHD converter dont work??!

Hi,
I am a new member of this forum hello. I have problem with Mp4HtcHD Converter , I try to convert some flv file to mp4 file using Mp4HtcHD 2.9c converter but after "proceed" i see finally "TOTAL CONVERSION TIME: 00:00:05. SIZE OF MP4 OUTPUT FILE: 0KB" (attached file).
profil = HD2 .. x264 pass 2 (dont work)
profil = HD TV Series .. LAVC (working)
why x264 pass 2 dont work???
here is the code:
Code:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OBTAINING INFORMATION OF VIDEOFILE: C:\Users\user\Desktop\blal.flv
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MPlayer Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
getch2: 6 can't get number of input events [disabling console input]
Playing C:\Users\user\Desktop\techn inf bearbeitet\bla.flv.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
VIDEO: [VP6F] 600x470 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
ID_FILENAME=C:\Users\user\Desktop\bla.flv
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=VP6F
ID_VIDEO_BITRATE=0
ID_VIDEO_WIDTH=600
ID_VIDEO_HEIGHT=470
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=85
ID_AUDIO_BITRATE=32000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=2
ID_LENGTH=600.09
ID_SEEKABLE=1
ID_CHAPTERS=0
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvp6f] vfm: ffmpeg (FFmpeg VP6 Flash)
==========================================================================
ID_VIDEO_CODEC=ffvp6f
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 22050 Hz, 2 ch, s16le, 32.0 kbit/4.54% (ratio: 4000->88200)
ID_AUDIO_BITRATE=32000
ID_AUDIO_RATE=22050
ID_AUDIO_NCH=2
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [null] 22050Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=mp3
Starting playback...
Exiting... (End of file)
ID_EXIT=EOF
[flv @ 0x19211b0]skipping flv packet: type 18, size 1845, flags 0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CONVERTING VIDEOFILE: C:\Users\user\Desktop\bla.flv ----> C:\\bla.mp4
---------------------------------------------------------------------------------------------------------------------------- STEP 1 ---------------------------------------------------------------------------------------------------------------------------
C:\Temp\Mencoder.exe "C:\Users\user\Desktop\bla.flv" -of avi -ofps 25.000 -srate 44100 -ovc x264 -x264encopts level=30:pass=1:bitrate=1216:vbv-maxrate=2000:vbv-bufsize=2000:subme=0:analyse=0:partitions=none:ref=1:turbo=2:me=dia:bframes=0:threads=auto:no-cabac -vf pullup,softskip,crop=608:368,harddup -oac faac -channels 2 -faacopts mpeg=4:object=2:br=128 -af volnorm -o NUL
Partial time:
---------------------------------------------------------------------------------------------------------------------------- STEP 2 ---------------------------------------------------------------------------------------------------------------------------
C:\Temp\Mencoder.exe "C:\Users\user\Desktop\bla.flv" -of avi -ofps 25.000 -srate 44100 -ovc x264 -x264encopts level=30:pass=2:bitrate=1216:vbv-maxrate=2000:vbv-bufsize=2000:subme=6:analyse=0:partitions=none:ref=1:bframes=0:threads=auto:no-cabac -vf pullup,softskip,crop=608:368,harddup -oac faac -channels 2 -faacopts mpeg=4:object=2:br=128 -af volnorm -o "C:\Temp\video.avi"
Partial time: 2s
--------------------------------------------------------------------------------------------------------------------------- STEP 3a --------------------------------------------------------------------------------------------------------------------------
C:\PROGRAM FILES (X86)\MP4FORHD\Tools\mp4box.exe -fps 25.000 -aviraw video "C:\Temp\video.avi"
Partial time:
--------------------------------------------------------------------------------------------------------------------------- STEP 3b --------------------------------------------------------------------------------------------------------------------------
C:\PROGRAM FILES (X86)\MP4FORHD\Tools\mp4box.exe -fps 25.000 -aviraw audio "C:\Temp\video.avi"
Partial time:
--------------------------------------------------------------------------------------------------------------------------- STEP 3c --------------------------------------------------------------------------------------------------------------------------
C:\PROGRAM FILES (X86)\MP4FORHD\Tools\mp4box.exe -fps 25.000 -add "C:\Temp\video_video.h264" -add "C:\Temp\video_audio.aac" "C:\\bla.mp4"
Partial time: 2s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL CONVERSION TIME: 00:00:07. SIZE OF MP4 OUTPUT FILE: 0KB
can anyone help????
This is a great program. Converts almost all video and audio formats to what you want. And, it is free.
http://www.erightsoft.com/SUPER.html
Take XMedia Recode. It's free and comes with HD2-profile(s).
HandBrake 0.9.4
de Wolfe said:
Take XMedia Recode. It's free and comes with HD2-profile(s).
Click to expand...
Click to collapse
Try this one, totally free and its working perfect.You can convert what ever you want to many formats and devices.
http://handbrake.fr/downloads.php
rikardo1979 said:
Try this one, totally free and its working perfect.You can convert what ever you want to many formats and devices.
http://handbrake.fr/downloads.php
Click to expand...
Click to collapse
did you use a preset? if not what were the settings you used?

[Question]H/W+ for VC-1?

Hallo,
H/W+ works properly for H262/3/4 videos but WMV3/VC1 seem to work only in S/W. I'm using a Samsung GS3 (I9300) with CM11. Exynos4412/Mali400 should do VC-1 hardware video decoding (not sure about the exact profile though).
Is there anything known about VC1 hardware decoding issues? Does it work for anyone else?
MediaInfo:
Code:
General
Format : Windows Media
Overall bit rate mode : Constant
Overall bit rate : 1 477 Kbps
Maximum Overall bit rate : 1 508 Kbps
Application : Windows Movie Maker 2.1.4026.0
Video
ID : 2
Format : VC-1
Format profile : [email protected]
Codec ID : WMV3
Codec ID/Info : Windows Media Video 9
Codec ID/Hint : WMV3
Description of the codec : Windows Media Video 9 - Professional
Duration : 7mn 59s
Bit rate mode : Constant
Bit rate : 1 364 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.148
Stream size : 78.0 MiB (92%)
Language : English (US)
Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio 9.2 - 128 kbps, 44 kHz, stereo (A/V) 1-pass CBR
Duration : 7mn 59s
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 7.32 MiB (9%)
Language : English (US)
I'd like to know the answer to this too. For reference: https://www.samsung.com/global/galaxys3/specifications.html
Audio and Video
Audio Codec: MP3, AMR-NB/WB, AAC/AAC+/eAAC
+, WMA, OGG, FLAC, AC-3, apt-X
Video Codec: MPEG4, H.264, H.263, DivX, DivX3.11,
VC-1, VP8, WMV7/8, Sorenson Spark Recording &
Playback: Full HD (1080p)

A2DP Codec in Marshmallow

Hi,
I searched a lot now - but I could not find a correct answer.
Does CM13 support the MP3 Codec for A2DP? I read that up until I think CM11 you could enable the MP3 codec in a config file in /etc/bluetooth/.
But since the BT Stack got changed (I think in KitKat?) this config file does not exist anymore and I could not find a way to configure anything.
I even looked at the code and as far as I could understand, there is a default codec, which is always used (probably SBC).
I increased the verbosity for bluetooth and looked at the logs and they let me think that only the SBC Codec is used:
Code:
01-05 16:50:01.253 3308 3364 W bt_btif : bta_av_getcap_results max bitpool length received for SBC is out of range.Clamping the codec bitpool configuration from 250 to 53
How can I change the codec to mp3 (or aac) and what is the best method to really know which codec is used on CM12/CM13?
Thanks for your answers in advance.

Opus audio 6ch track mapped wrong to stereo output

Getting speach/dialog out the right speaker and surround sounds out of the left speaker.
Enabling mono audio sends speach to both speakers - however now sound is mono...
Works fine on computer, proper mapping, speach and sfx in both left and right speakers.
Nvidia Shield TV, mx player pro updated from play store
Code:
General
Complete name : video.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 611 MiB
Duration : 1 h 11 min
Overall bit rate : 1 192 kb/s
Encoded date : UTC 2016-11-19 14:14:53
Writing application : mkvmerge v9.2.0 ('Photograph') 64bit
Writing library : libebml v1.3.3 + libmatroska v1.4.4
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main [email protected]@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 11 min
Bit rate : 1 000 kb/s
Width : 1 920 pixels
Height : 1 088 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.020
Stream size : 513 MiB (84%)
Writing library : x265 2.1+20-c64393b415adf0e8:[Windows][GCC 6.2.0][64 bit] 10bit: KG7x [x265.ru]
Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=1 / subme=2 / merange=57 / no-rect / no-amp / max-merge=2 / temporal-mvp / no-early-skip / rskip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=20 / lookahead-slices=6 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / limit-refs=3 / no-limit-modes / weightp / no-weightb / aq-mode=1 / qg-size=32 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=3 / psy-rd=2.00 / rdoq-level=0 / psy-rdoq=0.00 / log2-max-poc-lsb=8 / limit-tu=0 / no-rd-refine / signhide / deblock=0:0 / sao / no-sao-non-deblock / b-pyramid / cutree / no-intra-refresh / rc=2 / pass / bitrate=1000 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ipratio=1.40 / pbratio=1.30
Default : Yes
Forced : No
Audio
ID : 2
Format : Opus
Codec ID : A_OPUS
Duration : 1 h 11 min
Bit rate : 180 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 50.000 FPS (960 spf)
Compression mode : Lossy
Stream size : 92.3 MiB (15%)
Language : English
Default : Yes
Forced : No
Text
ID : 3
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 1 h 9 min
Bit rate : 9 500 b/s
Count of elements : 2080
Stream size : 4.75 MiB (1%)
Language : English
Default : No
Forced : No
Menu
00:00:00.000 : en: Chapter 1
00:06:52.871 : en: Chapter 2
00:11:50.376 : en: Chapter 3
00:14:51.474 : en: Chapter 4
00:20:36.902 : en: Chapter 5
00:28:36.715 : en: Chapter 6
00:32:29.739 : en: Chapter 7
00:36:59.050 : en: Chapter 8
00:41:57.014 : en: Chapter 9
00:45:26.057 : en: Chapter 10
00:47:07.658 : en: Chapter 11
00:49:37.391 : en: Chapter 12
00:53:09.853 : en: Chapter 13
00:56:50.532 : en: Chapter 14
01:00:19.407 : en: Chapter 15
01:03:43.778 : en: Chapter 16
SoreGums said:
Getting speach/dialog out the right speaker and surround sounds out of the left speaker.
Enabling mono audio sends speach to both speakers - however now sound is mono...
Works fine on computer, proper mapping, speach and sfx in both left and right speakers.
Nvidia Shield TV, mx player pro updated from play store
Click to expand...
Click to collapse
It's expected behaviour. MX Player audio output is always stereo.
We have implemented audio passthrough. But, not all codecs are supported in passthrough. And your audio receiver should also support the decoding of the particular codec.
We will forward your concern to our developer team.
Thirumalai.K said:
It's expected behaviour. MX Player audio output is always stereo.
Click to expand...
Click to collapse
Not sure that addresses my issue. (6ch input audio being mapped correctly to 2ch output)
Playing Ac3 or other 6ch audio, get dialog in both speakers...
Hopefully this was a canned response and the problem was actually understood.
I fixed it by transcoding all the files via manual downmixing and producing a dual audio file with the original 6ch audio and the proper stereo 2ch downmix audio.
Can you share a sample clip?
I don't have any such issues.
SoreGums said:
Not sure that addresses my issue. (6ch input audio being mapped correctly to 2ch output)
Playing Ac3 or other 6ch audio, get dialog in both speakers...
Hopefully this was a canned response and the problem was actually understood.
I fixed it by transcoding all the files via manual downmixing and producing a dual audio file with the original 6ch audio and the proper stereo 2ch downmix audio.
Click to expand...
Click to collapse
Our development team has tried to reproduce the issue. But, couldn't reproduce it.
It will be helpful if you can share the video with us. We will test it with our test devices.
HW Opus work only with 2 ch
Hi, I have the same problem with Opus sound track.
I found it work as expected when not use HW+ for audio (disable opus in HW audio decoder)
When use HW, MX Player play only R and L channel.. not play central channel.
I enable HW for OPUS to solve SW decoder problem, with specific bitrate
SoreGums said:
Getting speach/dialog out the right speaker and surround sounds out of the left speaker.
Enabling mono audio sends speach to both speakers - however now sound is mono...
Works fine on computer, proper mapping, speach and sfx in both left and right speakers.
Nvidia Shield TV, mx player pro updated from play store
Click to expand...
Click to collapse
baudav said:
Hi, I have the same problem with Opus sound track.
I found it work as expected when not use HW+ for audio (disable opus in HW audio decoder)
When use HW, MX Player play only R and L channel.. not play central channel.
I enable HW for OPUS to solve SW decoder problem, with specific bitrate
Click to expand...
Click to collapse
We have managed to get the same video based on @SoreGums metadata.
After looking at the video, it seems to be channel mapping issue.
The channel mapping order on the video is FL+FR+FC+LFE+BL+BR. But, according to the opus specification, it should be FL+FC+FR+BL+BR+LFE.
If you use HW decoder or HW+ Audio Decoder (If you have enabled in settings) for Opus, Then you will face the issues. Most of the device has opus decoders from Google which expects the channel order as per the Opus specification. So, It downmixes the wrong channels based on the standard order.
On FFMpeg based players, FFMpeg follows the FL+FR+FC+LFE+BL+BR layout. So, it won't be an issue.
You can enable SW audio from audio track selection panel as a workaround. In our tests, when SW audio is used there is no issue.

Categories

Resources