extract .wav audio from video using libvlcsharp for xamarin forms
Problem to solve
extract .wav audio from video with parameters to set samplerate, bitrate etc.... using libvlcsharp in xamarin forms and save to local disk
Intended users
All Xamarin crossplatform app developers will use this feature.
Proposal
This will be beneficial for xamarin crossplatform app developers as no other crossplatform library exists for xamarin forms for audio extraction.
Documentation
A sample Xamarin cross platform code for android and ios in documentation will be good.
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
I think that your question belongs to here : https://code.videolan.org/mfkl/libvlcsharp-samples
What you're asking for is not specific to Xamarin.Forms though, it's a basic usage of libvlc with sout
- Maintainer
You can find out some info from this code https://github.com/ZeBobo5/Vlc.DotNet/blob/develop/src/Samples/Samples.Core.Recording/Program.cs and adapt to your platform and custom params which you can find here https://wiki.videolan.org/VLC_command-line_help/
- Martin Finkel added libvlc question labels
- Author
Below is my test code, I created a blank xamarin forms project, Added MediaPlayerElement and Button, Added libvlcsharp and libvlcsharp.forms from nuget to my solution for both android and ios. Then i individually added VideoLAN.LibVLC.Android to my Android project and then also added VideoLAN.LibVLC.iOS to iOS project. Added all the fontawesome files, added it to Info.plist to ios project and everything works good. I am able to play video from the location. But somehow i am still unable to extract wav audio file from video with sout option and write to same location.
I tested this on android. I added a file named kuch.mp4 to location "/storage/emulated/0/Download/kuch.mp4" I want to extract wav file to same location "/storage/emulated/0/Download/kuch.wav"
XAML CODE
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:d="http://xamarin.com/schemas/2014/forms/design" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:xamaudioextract="clr-namespace:XamAudioExtract" xmlns:shared="clr-namespace:LibVLCSharp.Forms.Shared;assembly=LibVLCSharp.Forms" mc:Ignorable="d" x:Class="XamAudioExtract.MainPage"> <ContentPage.Content> <StackLayout> <shared:MediaPlayerElement x:Name="myvideo" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"/> <Button x:Name="extractWav" Text="EXTRACT" Clicked="extractWav_Clicked" HorizontalOptions="Center" VerticalOptions="Center"></Button> </StackLayout> </ContentPage.Content> </ContentPage>``` **C# CODE** ```using LibVLCSharp.Shared; using System; using System.ComponentModel; using Xamarin.Forms; namespace XamAudioExtract { [DesignTimeVisible(false)] public partial class MainPage : ContentPage { const string sourcepath = "/storage/emulated/0/Download/kuch.mp4"; const string destinationpath = "/storage/emulated/0/Download/kuch.wav"; readonly LibVLC libvlc; public MainPage() { InitializeComponent(); Core.Initialize(); libvlc = new LibVLC(); } private void extractWav_Clicked(object sender, EventArgs e) { libvlc.Log += (send, m) => Console.WriteLine($"[{m.Level}] {m.Module}:{m.Message}"); Media media = new Media(libvlc, sourcepath, FromType.FromPath); media.AddOption(":no-sout-video"); media.AddOption(":sout-audio"); media.AddOption(":sout-keep"); media.AddOption(":sout=#transcode{acodec=s16l,ab=128,channels=1,samplerate=24000}:std{access=file,mux=wav,dst=" + destinationpath + "}"); myvideo.MediaPlayer = new MediaPlayer(media) { EnableHardwareDecoding = true }; myvideo.MediaPlayer.Play(media); } } }```
Edited by PREM PRAKASH PATTNAIK - Maintainer
Please share full logs
- Author
10-25 14:08:48.002 D/Mono (30724): DllImport searching in: '__Internal' ('(null)'). 10-25 14:08:48.002 D/Mono (30724): Searching for 'java_interop_jnienv_call_float_method_a'. 10-25 14:08:48.002 D/Mono (30724): Probing 'java_interop_jnienv_call_float_method_a'. 10-25 14:08:48.002 D/Mono (30724): Found as 'java_interop_jnienv_call_float_method_a'. 10-25 14:08:48.101 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.101 D/Mono (30724): Searching for 'libvlc_log_set'. 10-25 14:08:48.101 D/Mono (30724): Probing 'libvlc_log_set'. 10-25 14:08:48.101 D/Mono (30724): Found as 'libvlc_log_set'. 10-25 14:08:48.110 D/Mono (30724): DllImport attempting to load: '/system/lib/libc.so'. 10-25 14:08:48.110 D/Mono (30724): DllImport loaded library '/system/lib/libc.so'. 10-25 14:08:48.110 D/Mono (30724): DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so'). 10-25 14:08:48.111 D/Mono (30724): Searching for 'vsnprintf'. 10-25 14:08:48.111 D/Mono (30724): Probing 'vsnprintf'. 10-25 14:08:48.111 D/Mono (30724): Found as 'vsnprintf'. 10-25 14:08:48.113 D/Mono (30724): DllImport searching in: '/system/lib/libc.so' ('/system/lib/libc.so'). 10-25 14:08:48.113 D/Mono (30724): Searching for 'vsprintf'. 10-25 14:08:48.113 D/Mono (30724): Probing 'vsprintf'. 10-25 14:08:48.113 D/Mono (30724): Found as 'vsprintf'. 10-25 14:08:48.114 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.114 D/Mono (30724): Searching for 'libvlc_log_get_context'. 10-25 14:08:48.114 D/Mono (30724): Probing 'libvlc_log_get_context'. 10-25 14:08:48.114 D/Mono (30724): Found as 'libvlc_log_get_context'. Thread started: <Thread Pool> #3 Thread started: <Thread Pool> #4 Thread started: <Thread Pool> #5 Thread started: <Thread Pool> #6 Thread started: <Thread Pool> #7 Thread started: <Thread Pool> #8 Thread started: <Thread Pool> #9 10-25 14:08:48.210 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.210 D/Mono (30724): Searching for 'libvlc_media_new_location'. 10-25 14:08:48.210 D/Mono (30724): Probing 'libvlc_media_new_location'. 10-25 14:08:48.210 D/Mono (30724): Found as 'libvlc_media_new_location'. 10-25 14:08:48.221 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.221 D/Mono (30724): Searching for 'libvlc_media_new_path'. 10-25 14:08:48.221 D/Mono (30724): Probing 'libvlc_media_new_path'. 10-25 14:08:48.221 D/Mono (30724): Found as 'libvlc_media_new_path'. 10-25 14:08:48.221 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.221 D/Mono (30724): Searching for 'libvlc_media_new_as_node'. 10-25 14:08:48.221 D/Mono (30724): Probing 'libvlc_media_new_as_node'. 10-25 14:08:48.221 D/Mono (30724): Found as 'libvlc_media_new_as_node'. 10-25 14:08:48.230 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.230 D/Mono (30724): Searching for 'libvlc_media_add_option'. 10-25 14:08:48.230 D/Mono (30724): Probing 'libvlc_media_add_option'. 10-25 14:08:48.230 D/Mono (30724): Found as 'libvlc_media_add_option'. 10-25 14:08:48.234 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.234 D/Mono (30724): Searching for 'libvlc_media_player_new_from_media'. 10-25 14:08:48.234 D/Mono (30724): Probing 'libvlc_media_player_new_from_media'. 10-25 14:08:48.234 D/Mono (30724): Found as 'libvlc_media_player_new_from_media'. 10-25 14:08:48.292 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.292 D/Mono (30724): Searching for 'libvlc_media_player_set_android_context'. 10-25 14:08:48.292 D/Mono (30724): Probing 'libvlc_media_player_set_android_context'. 10-25 14:08:48.292 D/Mono (30724): Found as 'libvlc_media_player_set_android_context'. 10-25 14:08:48.300 I/mono-stdout(30724): [Debug] libvlc:VLC media player - 3.0.7 Vetinari [Debug] libvlc:VLC media player - 3.0.7 Vetinari [Debug] libvlc:looking for audio output module matching "any": 4 candidates [Debug] libvlc:Copyright © 1996-2019 the VideoLAN team10-25 14:08:48.309 I/mono-stdout(30724): [Debug] libvlc:looking for audio output module matching "any": 4 candidates 10-25 14:08:48.310 I/mono-stdout(30724): [Debug] libvlc:Copyright © 1996-2019 the VideoLAN team [Debug] libvlc:revision 3.0.6-90-g092c795b0b [Debug] libvlc:creating audio output10-25 14:08:48.311 I/mono-stdout(30724): [Debug] libvlc:revision 3.0.6-90-g092c795b0b 10-25 14:08:48.311 I/mono-stdout(30724): [Debug] libvlc:creating audio output [Debug] libvlc:configured with ../configure '--host=arm-linux-androideabi' '--build=x86_64-unknown-linux' '--with-contrib=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi' '--prefix=/mnt/ssd/build-avlc/vlc/build-android-arm-linux-androideabi/install/' '--enable-neon' '--disable-nls' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-matroska' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--enable-lua' '--disable-vcd' '--disable-v4l2' '--enable-dvdread' '--enable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--enable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--disable-mad' '--enable-mpg123' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--enable-fluidlite' '--disable-jack' '--disable-pulse' '--disable-alsa' '--disable-samplerate ' '--disable-xcb' '--disable-qt' '--disable-skins2' '--disable-mtp' '--disable-notify' '--enable-libass' '--disable-svg' '--disable-udev' '--enable-libxml2' '--disable-caca' '--enable-gles2' '--disable-goom' '--disable-projectm' '--enable-sout' '--enable-vorbis' '--disable-faad' '--disable-schroedinger' '--disable-vnc' '--enable-jpeg' 'build_alias=x86_64-unknown-linux' 'host_alias=arm-linux-androideabi' 'CC=/mnt/ssd/build-avlc/toolchains/arm/bin/arm-linux-androideabi-clang' 'CFLAGS=-std=gnu11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations -march=armv7-a -mfpu=neon -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -DNDEBUG ' 'CXX=/mnt/ssd/build-avlc/toolchains/arm/bin/arm-linux-androideabi-clang++' 'CXXFLAGS=-std=gnu++11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations -march=armv7-a -mfpu=neon -mcpu=cortex-a8 -mthumb -mflo at-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -DNDEBUG -fexceptions -frtti -D__STDC_FORMAT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1' 'PKG_CONFIG_PATH=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi/lib/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi/lib/pkgconfig' 10-25 14:08:48.312 I/mono-stdout(30724): [Debug] libvlc:configured with ../configure '--host=arm-linux-androideabi' '--build=x86_64-unknown-linux' '--with-contrib=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi' '--prefix=/mnt/ssd/build-avlc/vlc/build-android-arm-linux-androideabi/install/' '--enable-neon' '--disable-nls' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-matroska' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--enable-lua' '--disable-vcd' '--disable-v4l2' '--enable-dvdread' '--enable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--enable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--disable-mad' '--enable-mpg123' '--disable-dca' '--disable-sdl-image' '--enable-zvbi' '--disable-fluidsynth' '--enable-fluidlite' '--disable-jack' '--disable-pulse' '--disable-alsa' '--disable-samplerate' '--disable-xcb' '--disable-qt' '--disable-skins2' '--disable-mtp' '--disable-notify' '--enable-libass' '--disable-svg' '--disable-udev' '--enable-libxml2' '--disable-caca' '--enable-gles2' '--disable-goom' '--disable-projectm' '--enable-sout' '--enable-vorbis' '--disable-faad' '--disable-schroedinger' '--disable-vnc' '--enable-jpeg' 'build_alias=x86_64-unknown-linux' 'host_alias=arm-linux-androideabi' 'CC=/mnt/ssd/build-avlc/toolchains/arm/bin/arm-linux-androideabi-clang' 'CFLAGS=-std=gnu11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations -march=armv7-a -mfpu=neon -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -DNDEBUG ' 'CXX=/mnt/ssd/build-avlc/toolchains/arm/bin/arm-linux-androideabi-clang++' 'CXXFLAGS=-std=gnu++11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations -march=armv7-a -mfpu=neon -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as -DNDEBUG -fexceptions -frtti -D__STDC_FORMAT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -D__STDC_LIMIT_MACROS=1' 'PKG_CONFIG_PATH=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi/lib/pkgconfig' 'PKG_CONFIG_LIBDIR=/mnt/ssd/build-avlc/vlc/contrib/arm-linux-androideabi/lib/pkgconfig' [Error] libvlc:GetStaticFieldID(AudioFormat.ENCODING_IEC61937) failed [Error] libvlc:GetStaticFieldID(AudioFormat.ENCODING_DOLBY_TRUEHD) failed [Debug] libvlc:using audio output module "android_audiotrack"10-25 14:08:48.319 I/mono-stdout(30724): [Error] libvlc:GetStaticFieldID(AudioFormat.ENCODING_IEC61937) failed [Debug] libvlc:keeping audio output10-25 14:08:48.319 I/mono-stdout(30724): [Error] libvlc:GetStaticFieldID(AudioFormat.ENCODING_DOLBY_TRUEHD) failed 10-25 14:08:48.319 I/mono-stdout(30724): [Debug] libvlc:using audio output module "android_audiotrack" 10-25 14:08:48.320 I/mono-stdout(30724): [Debug] libvlc:keeping audio output 10-25 14:08:48.342 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.342 D/Mono (30724): Searching for 'libvlc_media_player_event_manager'. 10-25 14:08:48.342 D/Mono (30724): Probing 'libvlc_media_player_event_manager'. 10-25 14:08:48.342 D/Mono (30724): Found as 'libvlc_media_player_event_manager'. 10-25 14:08:48.392 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.392 D/Mono (30724): Searching for 'libvlc_event_attach'. 10-25 14:08:48.392 D/Mono (30724): Probing 'libvlc_event_attach'. 10-25 14:08:48.392 D/Mono (30724): Found as 'libvlc_event_attach'. 10-25 14:08:48.427 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.427 D/Mono (30724): Searching for 'libvlc_media_player_get_state'. 10-25 14:08:48.427 D/Mono (30724): Probing 'libvlc_media_player_get_state'. 10-25 14:08:48.427 D/Mono (30724): Found as 'libvlc_media_player_get_state'. 10-25 14:08:48.437 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.437 D/Mono (30724): Searching for 'libvlc_audio_get_track_description'. 10-25 14:08:48.437 D/Mono (30724): Probing 'libvlc_audio_get_track_description'. 10-25 14:08:48.437 D/Mono (30724): Found as 'libvlc_audio_get_track_description'. 10-25 14:08:48.450 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.451 D/Mono (30724): Searching for 'libvlc_video_get_spu_description'. 10-25 14:08:48.451 D/Mono (30724): Probing 'libvlc_video_get_spu_description'. 10-25 14:08:48.451 D/Mono (30724): Found as 'libvlc_video_get_spu_description'. 10-25 14:08:48.452 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.452 D/Mono (30724): Searching for 'libvlc_media_player_get_position'. 10-25 14:08:48.452 D/Mono (30724): Probing 'libvlc_media_player_get_position'. 10-25 14:08:48.452 D/Mono (30724): Found as 'libvlc_media_player_get_position'. 10-25 14:08:48.453 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.453 D/Mono (30724): Searching for 'libvlc_media_player_get_length'. 10-25 14:08:48.453 D/Mono (30724): Probing 'libvlc_media_player_get_length'. 10-25 14:08:48.453 D/Mono (30724): Found as 'libvlc_media_player_get_length'. 10-25 14:08:48.456 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.456 D/Mono (30724): Searching for 'libvlc_media_player_set_media'. 10-25 14:08:48.456 D/Mono (30724): Probing 'libvlc_media_player_set_media'. 10-25 14:08:48.456 D/Mono (30724): Found as 'libvlc_media_player_set_media'. 10-25 14:08:48.469 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.469 D/Mono (30724): Searching for 'libvlc_media_player_play'. 10-25 14:08:48.469 D/Mono (30724): Probing 'libvlc_media_player_play'. 10-25 14:08:48.469 D/Mono (30724): Found as 'libvlc_media_player_play'. 10-25 14:08:48.469 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.469 D/Mono (30724): Searching for 'libvlc_media_player_get_media'. 10-25 14:08:48.470 D/Mono (30724): Probing 'libvlc_media_player_get_media'. 10-25 14:08:48.470 D/Mono (30724): Found as 'libvlc_media_player_get_media'. [Debug] libvlc:Creating an input for 'kuch.mp4'10-25 14:08:48.492 I/mono-stdout(30724): [Debug] libvlc:Creating an input for 'kuch.mp4' Thread started: #10 [Debug] libvlc:using sout chain=`transcode{acodec=s16l,ab=128,channels=1,samplerate=24000}:std{access=file,mux=wav,dst=/storage/emulated/0/Download/kuch.wav}' [Debug] libvlc:stream=`std' 10-25 14:08:48.501 I/mono-stdout(30724): [Debug] libvlc:using sout chain=`transcode{acodec=s16l,ab=128,channels=1,samplerate=24000}:std{access=file,mux=wav,dst=/storage/emulated/0/Download/kuch.wav}'[Debug] libvlc:looking for sout stream module matching "std": 22 candidates 10-25 14:08:48.502 I/mono-stdout(30724): [Debug] libvlc:stream=`std'[Debug] libvlc:set config option: sout-standard-access to file [Debug] libvlc:set config option: sout-standard-mux to wav 10-25 14:08:48.502 I/mono-stdout(30724): [Debug] libvlc:looking for sout stream module matching "std": 22 candidates [Debug] libvlc:set config option: sout-standard-dst to /storage/emulated/0/Download/kuch.wav [Debug] libvlc:looking for sout access module matching "file": 9 candidates 10-25 14:08:48.503 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-standard-access to file 10-25 14:08:48.503 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-standard-mux to wav 10-25 14:08:48.503 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-standard-dst to /storage/emulated/0/Download/kuch.wav 10-25 14:08:48.504 I/mono-stdout(30724): [Debug] libvlc:looking for sout access module matching "file": 9 candidates [Debug] libvlc:file access output opened (/storage/emulated/0/Download/kuch.wav)10-25 14:08:48.508 I/mono-stdout(30724): [Debug] libvlc:file access output opened (/storage/emulated/0/Download/kuch.wav) [Debug] libvlc:using sout access module "file"10-25 14:08:48.508 I/mono-stdout(30724): [Debug] libvlc:using sout access module "file" [Debug] libvlc:looking for sout mux module matching "wav": 11 candidates [Debug] libvlc:using sout mux module "wav"10-25 14:08:48.509 I/mono-stdout(30724): [Debug] libvlc:looking for sout mux module matching "wav": 11 candidates [Debug] libvlc:using `file/wav:///storage/emulated/0/Download/kuch.wav' [Debug] libvlc:using sout stream module "stream_out_standard" [Debug] libvlc:stream=`transcode' [Debug] libvlc:looking for sout stream module matching "transcode": 22 candidates [Debug] libvlc:set config option: sout-transcode-acodec to s16l [Debug] libvlc:set config option: sout-transcode-ab to 128 [Debug] libvlc:set config option: sout-transcode-channels to 1 [Debug] libvlc:set config option: sout-transcode-samplerate to 24000 [Debug] libvlc:Checking codec mapping for s16l got s16l 10-25 14:08:48.509 I/mono-stdout(30724): [Debug] libvlc:using sout mux module "wav" [Debug] libvlc:codec audio=s16l 24000Hz 1 channels 128Kb/s [Debug] libvlc:using sout stream module "stream_out_transcode" [Debug] libvlc:using timeshift granularity of 50 MiB [Debug] libvlc:using default timeshift path10-25 14:08:48.509 I/mono-stdout(30724): [Debug] libvlc:using `file/wav:///storage/emulated/0/Download/kuch.wav' 10-25 14:08:48.510 I/mono-stdout(30724): [Debug] libvlc:using sout stream module "stream_out_standard" [Debug] libvlc:`file:///storage/emulated/0/Download/kuch.mp4' gives access `file' demux `any' path `/storage/emulated/0/Download/kuch.mp4'10-25 14:08:48.510 I/mono-stdout(30724): [Debug] libvlc:stream=`transcode' 10-25 14:08:48.510 I/mono-stdout(30724): [Debug] libvlc:looking for sout stream module matching "transcode": 22 candidates[Debug] libvlc:creating demux: access='file' demux='any' location='/storage/emulated/0/Download/kuch.mp4' file='/storage/emulated/0/Download/kuch.mp4' 10-25 14:08:48.511 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-transcode-acodec to s16l[Debug] libvlc:looking for access_demux module matching "file": 6 candidates 10-25 14:08:48.511 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-transcode-ab to 128[Debug] libvlc:no access_demux modules matched [Debug] libvlc:creating access: file:///storage/emulated/0/Download/kuch.mp4 [Debug] libvlc: (path: /storage/emulated/0/Download/kuch.mp4) [Debug] libvlc:looking for access module matching "file": 23 candidates [Debug] libvlc:using access module "filesystem" [Debug] libvlc:looking for stream_filter module matching "prefetch,cache_read": 26 candidates [Debug] libvlc:Using stream method for AStream* [Debug] libvlc:starting pre-buffering [Debug] libvlc:received first data after 0 ms [Debug] libvlc:pre-buffering done 1024 bytes in 0s - 1488 KiB/s [Debug] libvlc:using stream_filter module "cache_read"10-25 14:08:48.512 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-transcode-channels to 1 [Debug] libvlc:looking for stream_filter module matching "any": 26 candidates 10-25 14:08:48.512 I/mono-stdout(30724): [Debug] libvlc:set config option: sout-transcode-samplerate to 24000 10-25 14:08:48.512 I/mono-stdout(30724): [Debug] libvlc:Checking codec mapping for s16l got s16l 10-25 14:08:48.513 I/mono-stdout(30724): [Debug] libvlc:codec audio=s16l 24000Hz 1 channels 128Kb/s 10-25 14:08:48.513 I/mono-stdout(30724): [Debug] libvlc:using sout stream module "stream_out_transcode" 10-25 14:08:48.513 I/mono-stdout(30724): [Debug] libvlc:using timeshift granularity of 50 MiB 10-25 14:08:48.514 I/mono-stdout(30724): [Debug] libvlc:using default timeshift path 10-25 14:08:48.518 I/mono-stdout(30724): [Debug] libvlc:`file:///storage/emulated/0/Download/kuch.mp4' gives access `file' demux `any' path `/storage/emulated/0/Download/kuch.mp4' 10-25 14:08:48.518 I/mono-stdout(30724): [Debug] libvlc:creating demux: access='file' demux='any' location='/storage/emulated/0/Download/kuch.mp4' file='/storage/emulated/0/Download/kuch.mp4' 10-25 14:08:48.519 I/mono-stdout(30724): [Debug] libvlc:looking for access_demux module matching "file": 6 candidates 10-25 14:08:48.519 I/mono-stdout(30724): [Debug] libvlc:no access_demux modules matched 10-25 14:08:48.520 I/mono-stdout(30724): [Debug] libvlc:creating access: file:///storage/emulated/0/Download/kuch.mp4 10-25 14:08:48.520 I/mono-stdout(30724): [Debug] libvlc: (path: /storage/emulated/0/Download/kuch.mp4) [Debug] libvlc:Trying Lua scripts in /data/user/0/com.companyname.xamaudioextract/files/.share/lua/playlist [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/lib/arm/vlc/lua/playlist [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/share/vlc/lua/playlist10-25 14:08:48.520 I/mono-stdout(30724): [Debug] libvlc:looking for access module matching "file": 23 candidates 10-25 14:08:48.520 I/mono-stdout(30724): [Debug] libvlc:using access module "filesystem" 10-25 14:08:48.521 I/mono-stdout(30724): [Debug] libvlc:looking for stream_filter module matching "prefetch,cache_read": 26 candidates [Debug] libvlc:no stream_filter modules matched [Debug] libvlc:looking for stream_directory module matching "any": 1 candidates [Debug] libvlc:no stream_directory modules matched10-25 14:08:48.521 I/mono-stdout(30724): [Debug] libvlc:Using stream method for AStream* 10-25 14:08:48.521 I/mono-stdout(30724): [Debug] libvlc:starting pre-buffering [Debug] libvlc:attachment of directory-extractor failed for file:///storage/emulated/0/Download/kuch.mp4 10-25 14:08:48.521 I/mono-stdout(30724): [Debug] libvlc:received first data after 0 ms[Debug] libvlc:looking for stream_filter module matching "record": 26 candidates [Debug] libvlc:using stream_filter module "record" [Debug] libvlc:creating demux: access='file' demux='any' location='/storage/emulated/0/Download/kuch.mp4' file='/storage/emulated/0/Download/kuch.mp4' 10-25 14:08:48.522 I/mono-stdout(30724): [Debug] libvlc:pre-buffering done 1024 bytes in 0s - 1488 KiB/s [Debug] libvlc:looking for demux module matching "mp4": 47 candidates 10-25 14:08:48.522 I/mono-stdout(30724): [Debug] libvlc:using stream_filter module "cache_read" 10-25 14:08:48.523 I/mono-stdout(30724): [Debug] libvlc:looking for stream_filter module matching "any": 26 candidates 10-25 14:08:48.529 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/user/0/com.companyname.xamaudioextract/files/.share/lua/playlist [Debug] libvlc:dumping root Box "root" [Debug] libvlc:| + ftyp size 24 offset 0 [Debug] libvlc:| + moov size 84843 offset 24 10-25 14:08:48.529 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/lib/arm/vlc/lua/playlist[Debug] libvlc:| | + mvhd size 108 offset 32 [Debug] libvlc:| | + trak size 33423 offset 140 [Debug] libvlc:| | | + tkhd size 92 offset 148 10-25 14:08:48.529 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/share/vlc/lua/playlist[Debug] libvlc:| | | + mdia size 33323 offset 240 [Debug] libvlc:| | | | + mdhd size 32 offset 248 [Debug] libvlc:| | | | + hdlr size 95 offset 280 [Debug] libvlc:| | | | + minf size 33188 offset 375 10-25 14:08:48.530 I/mono-stdout(30724): [Debug] libvlc:no stream_filter modules matched[Debug] libvlc:| | | | | + dinf size 36 offset 383 [Debug] libvlc:| | | | | | + dref size 28 offset 391 [Debug] libvlc:| | | | | | | + url size 12 offset 407 [Debug] libvlc:| | | | | + stbl size 33124 offset 419 [Debug] libvlc:| | | | | | + stsd size 152 offset 427 [Debug] libvlc:| | | | | | | + avc1 size 136 offset 443 [Debug] libvlc:| | | | | | | | + avcC size 50 offset 529 [Debug] libvlc:| | | | | | + stts size 24 offset 579 10-25 14:08:48.530 I/mono-stdout(30724): [Debug] libvlc:looking for stream_directory module matching "any": 1 candidates[Debug] libvlc:| | | | | | + stsc size 1744 offset 603 [Debug] libvlc:| | | | | | + stco size 2432 offset 2347 [Debug] libvlc:| | | | | | + stsz size 28092 offset 4779 [Debug] libvlc:| | | | | | + stss size 672 offset 32871 [Debug] libvlc:| | | | | + vmhd size 20 offset 33543 [Debug] libvlc:| | + trak size 51304 offset 33563 10-25 14:08:48.530 I/mono-stdout(30724): [Debug] libvlc:no stream_directory modules matched [Debug] libvlc:| | | + tkhd size 92 offset 33571 [Debug] libvlc:| | | + mdia size 51204 offset 3366310-25 14:08:48.531 I/mono-stdout(30724): [Debug] libvlc:attachment of directory-extractor failed for file:///storage/emulated/0/Download/kuch.mp4 10-25 14:08:48.531 I/mono-stdout(30724): [Debug] libvlc:looking for stream_filter module matching "record": 26 candidates 10-25 14:08:48.531 I/mono-stdout(30724): [Debug] libvlc:using stream_filter module "record"[Debug] libvlc:| | | | + mdhd size 32 offset 33671 [Debug] libvlc:| | | | + hdlr size 95 offset 33703 [Debug] libvlc:| | | | + minf size 51069 offset 33798 [Debug] libvlc:| | | | | + dinf size 36 offset 33806 10-25 14:08:48.532 I/mono-stdout(30724): [Debug] libvlc:creating demux: access='file' demux='any' location='/storage/emulated/0/Download/kuch.mp4' file='/storage/emulated/0/Download/kuch.mp4' 10-25 14:08:48.532 I/mono-stdout(30724): [Debug] libvlc:looking for demux module matching "mp4": 47 candidates[Debug] libvlc:| | | | | | + dref size 28 offset 33814 10-25 14:08:48.534 I/mono-stdout(30724): [Debug] libvlc:dumping root Box "root" 10-25 14:08:48.535 I/mono-stdout(30724): [Debug] libvlc:| + ftyp size 24 offset 0[Debug] libvlc:| | | | | | | + url size 12 offset 33830 [Debug] libvlc:| | | | | + stbl size 51009 offset 33842 10-25 14:08:48.535 I/mono-stdout(30724): [Debug] libvlc:| + moov size 84843 offset 24 [Debug] libvlc:| | | | | | + stsd size 105 offset 3385010-25 14:08:48.535 I/mono-stdout(30724): [Debug] libvlc:| | + mvhd size 108 offset 32 10-25 14:08:48.536 I/mono-stdout(30724): [Debug] libvlc:| | + trak size 33423 offset 140 [Debug] libvlc:| | | | | | | + mp4a size 89 offset 3386610-25 14:08:48.536 I/mono-stdout(30724): [Debug] libvlc:| | | + tkhd size 92 offset 148 10-25 14:08:48.536 I/mono-stdout(30724): [Debug] libvlc:| | | + mdia size 33323 offset 240 [Debug] libvlc:| | | | | | | | + esds size 53 offset 3390210-25 14:08:48.537 I/mono-stdout(30724): [Debug] libvlc:| | | | + mdhd size 32 offset 248 10-25 14:08:48.537 I/mono-stdout(30724): [Debug] libvlc:| | | | + hdlr size 95 offset 280 [Debug] libvlc:| | | | | | + stts size 24 offset 33955 [Debug] libvlc:| | | | | | + stsc size 52 offset 3397910-25 14:08:48.537 I/mono-stdout(30724): [Debug] libvlc:| | | | + minf size 33188 offset 375 10-25 14:08:48.537 I/mono-stdout(30724): [Debug] libvlc:| | | | | + dinf size 36 offset 383 10-25 14:08:48.538 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + dref size 28 offset 391[Debug] libvlc:| | | | | | + stco size 2432 offset 34031 [Debug] libvlc:| | | | | | + stsz size 48388 offset 36463 10-25 14:08:48.538 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | + url size 12 offset 407 [Debug] libvlc:| | | | | + smhd size 16 offset 84851 [Debug] libvlc:| + mdat size 20116994 offset 8486710-25 14:08:48.538 I/mono-stdout(30724): [Debug] libvlc:| | | | | + stbl size 33124 offset 419 10-25 14:08:48.538 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsd size 152 offset 427[Debug] libvlc:unrecognized major media specification (mp42). [Debug] libvlc:found 2 tracks 10-25 14:08:48.539 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | + avc1 size 136 offset 443 [Debug] libvlc:track[Id 0x1] read 604 chunk10-25 14:08:48.539 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | | + avcC size 50 offset 529 10-25 14:08:48.539 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stts size 24 offset 579[Warning] libvlc:STTS table of 1 entries 10-25 14:08:48.540 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsc size 1744 offset 603 10-25 14:08:48.540 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stco size 2432 offset 2347[Debug] libvlc:track[Id 0x1] read 7018 samples length:280s 10-25 14:08:48.540 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsz size 28092 offset 4779 10-25 14:08:48.540 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stss size 672 offset 32871 [Debug] libvlc:selecting program id=010-25 14:08:48.541 I/mono-stdout(30724): [Debug] libvlc:| | | | | + vmhd size 20 offset 33543 10-25 14:08:48.541 I/mono-stdout(30724): [Debug] libvlc:| | + trak size 51304 offset 33563 10-25 14:08:48.541 I/mono-stdout(30724): [Debug] libvlc:| | | + tkhd size 92 offset 33571 10-25 14:08:48.541 I/mono-stdout(30724): [Debug] libvlc:| | | + mdia size 51204 offset 33663 10-25 14:08:48.542 I/mono-stdout(30724): [Debug] libvlc:| | | | + mdhd size 32 offset 33671 10-25 14:08:48.542 I/mono-stdout(30724): [Debug] libvlc:| | | | + hdlr size 95 offset 33703 10-25 14:08:48.542 I/mono-stdout(30724): [Debug] libvlc:| | | | + minf size 51069 offset 33798 10-25 14:08:48.542 I/mono-stdout(30724): [Debug] libvlc:| | | | | + dinf size 36 offset 33806 10-25 14:08:48.543 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + dref size 28 offset 33814 10-25 14:08:48.544 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | + url size 12 offset 33830 10-25 14:08:48.544 I/mono-stdout(30724): [Debug] libvlc:| | | | | + stbl size 51009 offset 33842 10-25 14:08:48.545 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsd size 105 offset 33850 10-25 14:08:48.545 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | + mp4a size 89 offset 33866 10-25 14:08:48.547 I/mono-stdout(30724): [Debug] libvlc:| | | | | | | | + esds size 53 offset 33902 10-25 14:08:48.547 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stts size 24 offset 33955 10-25 14:08:48.547 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsc size 52 offset 33979 10-25 14:08:48.548 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stco size 2432 offset 34031 10-25 14:08:48.548 I/mono-stdout(30724): [Debug] libvlc:| | | | | | + stsz size 48388 offset 36463 10-25 14:08:48.548 I/mono-stdout(30724): [Debug] libvlc:| | | | | + smhd size 16 offset 84851 10-25 14:08:48.549 I/mono-stdout(30724): [Debug] libvlc:| + mdat size 20116994 offset 84867 10-25 14:08:48.549 I/mono-stdout(30724): [Debug] libvlc:unrecognized major media specification (mp42). 10-25 14:08:48.549 I/mono-stdout(30724): [Debug] libvlc:found 2 tracks [Debug] libvlc:adding track[Id 0x1] video (enable) language undef10-25 14:08:48.550 I/mono-stdout(30724): [Debug] libvlc:track[Id 0x1] read 604 chunk 10-25 14:08:48.551 I/mono-stdout(30724): [Warning] libvlc:STTS table of 1 entries 10-25 14:08:48.552 I/mono-stdout(30724): [Debug] libvlc:track[Id 0x1] read 7018 samples length:280s [Debug] libvlc:track[Id 0x2] read 604 chunk10-25 14:08:48.553 I/mono-stdout(30724): [Debug] libvlc:selecting program id=0 10-25 14:08:48.568 I/mono-stdout(30724): [Debug] libvlc:adding track[Id 0x1] video (enable) language undef[Warning] libvlc:STTS table of 1 entries 10-25 14:08:48.570 I/mono-stdout(30724): [Debug] libvlc:track[Id 0x2] read 604 chunk[Debug] libvlc:track[Id 0x2] read 12092 samples length:280s 10-25 14:08:48.570 I/mono-stdout(30724): [Warning] libvlc:STTS table of 1 entries 10-25 14:08:48.571 I/mono-stdout(30724): [Debug] libvlc:track[Id 0x2] read 12092 samples length:280s 10-25 14:08:48.582 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.582 D/Mono (30724): Searching for 'libvlc_track_description_list_release'. 10-25 14:08:48.582 D/Mono (30724): Probing 'libvlc_track_description_list_release'. 10-25 14:08:48.582 D/Mono (30724): Found as 'libvlc_track_description_list_release'. [Debug] libvlc:adding track[Id 0x2] audio (enable) language undef [Debug] libvlc:using demux module "mp4" 10-25 14:08:48.588 I/mono-stdout(30724): [Debug] libvlc:adding track[Id 0x2] audio (enable) language undef 10-25 14:08:48.588 I/mono-stdout(30724): [Debug] libvlc:using demux module "mp4" 10-25 14:08:48.599 I/mono-stdout(30724): [Debug] libvlc:looking for a subtitle file in /storage/emulated/0/Download/[Debug] libvlc:looking for a subtitle file in /storage/emulated/0/Download/ [Debug] libvlc:video is disabled, not selecting ES 0x0 [Debug] libvlc:looking for packetizer module matching "any": 25 candidates10-25 14:08:48.601 I/mono-stdout(30724): [Debug] libvlc:video is disabled, not selecting ES 0x0 [Debug] libvlc:running MPEG4 audio packetizer [Debug] libvlc:HE-AACv2 88200Hz 1024 samples/frame [Debug] libvlc:using packetizer module "mpeg4audio"10-25 14:08:48.601 I/mono-stdout(30724): [Debug] libvlc:looking for packetizer module matching "any": 25 candidates 10-25 14:08:48.601 I/mono-stdout(30724): [Debug] libvlc:running MPEG4 audio packetizer [Debug] libvlc:starting in sync mode [Debug] libvlc:looking for meta reader module matching "any": 2 candidates 10-25 14:08:48.601 I/mono-stdout(30724): [Debug] libvlc:HE-AACv2 88200Hz 1024 samples/frame 10-25 14:08:48.602 I/mono-stdout(30724): [Debug] libvlc:using packetizer module "mpeg4audio" 10-25 14:08:48.602 I/mono-stdout(30724): [Debug] libvlc:starting in sync mode[Debug] libvlc:Trying Lua scripts in /data/user/0/com.companyname.xamaudioextract/files/.share/lua/meta/reader 10-25 14:08:48.602 I/mono-stdout(30724): [Debug] libvlc:looking for meta reader module matching "any": 2 candidates[Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/lib/arm/vlc/lua/meta/reader [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/share/vlc/lua/meta/reader [Debug] libvlc:no meta reader modules matched [Debug] libvlc:`file:///storage/emulated/0/Download/kuch.mp4' successfully opened 10-25 14:08:48.605 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/user/0/com.companyname.xamaudioextract/files/.share/lua/meta/reader 10-25 14:08:48.605 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/lib/arm/vlc/lua/meta/reader 10-25 14:08:48.606 I/mono-stdout(30724): [Debug] libvlc:Trying Lua scripts in /data/app/com.companyname.xamaudioextract-1/share/vlc/lua/meta/reader 10-25 14:08:48.606 I/mono-stdout(30724): [Debug] libvlc:no meta reader modules matched 10-25 14:08:48.606 I/mono-stdout(30724): [Debug] libvlc:`file:///storage/emulated/0/Download/kuch.mp4' successfully opened[Debug] libvlc:Buffering 0% 10-25 14:08:48.612 I/mono-stdout(30724): [Debug] libvlc:Buffering 0% Thread started: #11 [Debug] libvlc:switching to async mode 10-25 14:08:48.619 I/mono-stdout(30724): [Debug] libvlc:switching to async mode [Debug] libvlc:adding a new sout input for `mp4a` (sout_input: 0xba971830) 10-25 14:08:48.620 I/mono-stdout(30724): [Debug] libvlc:adding a new sout input for `mp4a` (sout_input: 0xba971830)[Debug] libvlc:Buffering 83% [Debug] libvlc:using ffmpeg Lavc58.6.103 [Debug] libvlc:CPU flags: 0x0000003f [Debug] libvlc:creating audio transcoding from fcc=`mp4a' to fcc=`s16l' 10-25 14:08:48.620 I/mono-stdout(30724): [Debug] libvlc:Buffering 83% 10-25 14:08:48.621 I/mono-stdout(30724): [Debug] libvlc:using ffmpeg Lavc58.6.103 10-25 14:08:48.621 I/mono-stdout(30724): [Debug] libvlc:CPU flags: 0x0000003f [Debug] libvlc:Stream buffering done (500 ms in 10 ms)10-25 14:08:48.621 I/mono-stdout(30724): [Debug] libvlc:creating audio transcoding from fcc=`mp4a' to fcc=`s16l' 10-25 14:08:48.624 I/mono-stdout(30724): [Debug] libvlc:Stream buffering done (500 ms in 10 ms) Thread started: <Thread Pool> #12 [Debug] libvlc:looking for audio decoder module matching "any": 17 candidates 10-25 14:08:48.635 I/mono-stdout(30724): [Debug] libvlc:looking for audio decoder module matching "any": 17 candidates [Debug] libvlc:codec (aac) started [Debug] libvlc:using audio decoder module "avcodec" [Debug] libvlc:looking for encoder module matching "any": 18 candidates10-25 14:08:48.655 I/mono-stdout(30724): [Debug] libvlc:codec (aac) started [Debug] libvlc:samplerate:24000Hz channels:1 bits/sample:16 [Debug] libvlc:using encoder module "araw" [Debug] libvlc:input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes [Debug] libvlc:conversion: 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Mono [Debug] libvlc:looking for audio converter module matching "any": 7 candidates [Debug] libvlc:using audio converter module "simple_channel_mixer" [Debug] libvlc:looking for audio converter module matching "any": 7 candidates [Debug] libvlc:f32l->s16l, bits per sample: 32->1610-25 14:08:48.656 I/mono-stdout(30724): [Debug] libvlc:using audio decoder module "avcodec" 10-25 14:08:48.656 I/mono-stdout(30724): [Debug] libvlc:looking for encoder module matching "any": 18 candidates[Debug] libvlc:using audio converter module "audio_format" 10-25 14:08:48.656 I/mono-stdout(30724): [Debug] libvlc:samplerate:24000Hz channels:1 bits/sample:16 [Debug] libvlc:conversion pipeline complete10-25 14:08:48.657 I/mono-stdout(30724): [Debug] libvlc:using encoder module "araw" 10-25 14:08:48.658 I/mono-stdout(30724): [Debug] libvlc:input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes[Debug] libvlc:looking for audio resampler module matching "any": 2 candidates 10-25 14:08:48.658 I/mono-stdout(30724): [Debug] libvlc:conversion: 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Mono [Debug] libvlc:using audio resampler module "ugly"10-25 14:08:48.659 I/mono-stdout(30724): [Debug] libvlc:looking for audio converter module matching "any": 7 candidates 10-25 14:08:48.659 I/mono-stdout(30724): [Debug] libvlc:using audio converter module "simple_channel_mixer"[Debug] libvlc:removing module "araw" 10-25 14:08:48.660 I/mono-stdout(30724): [Debug] libvlc:looking for audio converter module matching "any": 7 candidates [Debug] libvlc:removing module "ugly"10-25 14:08:48.661 I/mono-stdout(30724): [Debug] libvlc:f32l->s16l, bits per sample: 32->16 10-25 14:08:48.661 I/mono-stdout(30724): [Debug] libvlc:using audio converter module "audio_format"[Debug] libvlc:removing module "simple_channel_mixer" 10-25 14:08:48.662 I/mono-stdout(30724): [Debug] libvlc:conversion pipeline complete 10-25 14:08:48.662 I/mono-stdout(30724): [Debug] libvlc:looking for audio resampler module matching "any": 2 candidates 10-25 14:08:48.663 I/mono-stdout(30724): [Debug] libvlc:using audio resampler module "ugly" [Debug] libvlc:removing module "audio_format" [Debug] libvlc:Decoder wait done in 41 ms10-25 14:08:48.663 I/mono-stdout(30724): [Debug] libvlc:removing module "araw" 10-25 14:08:48.664 I/mono-stdout(30724): [Debug] libvlc:removing module "ugly" [Debug] libvlc:looking for encoder module matching "any": 18 candidates [Debug] libvlc:samplerate:24000Hz channels:1 bits/sample:1610-25 14:08:48.665 I/mono-stdout(30724): [Debug] libvlc:removing module "simple_channel_mixer" 10-25 14:08:48.665 I/mono-stdout(30724): [Debug] libvlc:removing module "audio_format"[Debug] libvlc:using encoder module "araw" 10-25 14:08:48.666 I/mono-stdout(30724): [Debug] libvlc:Decoder wait done in 41 ms 10-25 14:08:48.667 I/mono-stdout(30724): [Debug] libvlc:looking for encoder module matching "any": 18 candidates[Debug] libvlc:input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes 10-25 14:08:48.667 I/mono-stdout(30724): [Debug] libvlc:samplerate:24000Hz channels:1 bits/sample:16 [Debug] libvlc:conversion: 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Mono10-25 14:08:48.668 I/mono-stdout(30724): [Debug] libvlc:using encoder module "araw" 10-25 14:08:48.669 I/mono-stdout(30724): [Debug] libvlc:input 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes[Debug] libvlc:looking for audio converter module matching "any": 7 candidates 10-25 14:08:48.669 I/mono-stdout(30724): [Debug] libvlc:conversion: 'f32l'->'s16l' 44100 Hz->44100 Hz Stereo->Mono 10-25 14:08:48.670 I/mono-stdout(30724): [Debug] libvlc:looking for audio converter module matching "any": 7 candidates[Debug] libvlc:using audio converter module "simple_channel_mixer" [Debug] libvlc:looking for audio converter module matching "any": 7 candidates 10-25 14:08:48.671 I/mono-stdout(30724): [Debug] libvlc:using audio converter module "simple_channel_mixer" [Debug] libvlc:f32l->s16l, bits per sample: 32->16 [Debug] libvlc:using audio converter module "audio_format" [Debug] libvlc:conversion pipeline complete10-25 14:08:48.671 I/mono-stdout(30724): [Debug] libvlc:looking for audio converter module matching "any": 7 candidates [Debug] libvlc:looking for audio resampler module matching "any": 2 candidates [Debug] libvlc:using audio resampler module "ugly" 10-25 14:08:48.672 I/mono-stdout(30724): [Debug] libvlc:f32l->s16l, bits per sample: 32->16 10-25 14:08:48.672 I/mono-stdout(30724): [Debug] libvlc:using audio converter module "audio_format"[Debug] libvlc:adding a new input 10-25 14:08:48.673 I/mono-stdout(30724): [Debug] libvlc:conversion pipeline complete 10-25 14:08:48.673 I/mono-stdout(30724): [Debug] libvlc:looking for audio resampler module matching "any": 2 candidates[Debug] libvlc:adding 1 input channels, 24000Hz 10-25 14:08:48.674 I/mono-stdout(30724): [Debug] libvlc:using audio resampler module "ugly"[Debug] libvlc:channel mask: 0, reordering: 0 10-25 14:08:48.674 I/mono-stdout(30724): [Debug] libvlc:adding a new input 10-25 14:08:48.675 I/mono-stdout(30724): [Debug] libvlc:adding 1 input channels, 24000Hz 10-25 14:08:48.676 I/mono-stdout(30724): [Debug] libvlc:channel mask: 0, reordering: 0 10-25 14:08:48.692 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.692 D/Mono (30724): Searching for 'libvlc_media_player_can_pause'. 10-25 14:08:48.692 D/Mono (30724): Probing 'libvlc_media_player_can_pause'. 10-25 14:08:48.692 D/Mono (30724): Found as 'libvlc_media_player_can_pause'. 10-25 14:08:48.694 D/Mono (30724): DllImport searching in: 'libvlc' ('libvlc.so'). 10-25 14:08:48.695 D/Mono (30724): Searching for 'libvlc_media_player_is_seekable'. 10-25 14:08:48.695 D/Mono (30724): Probing 'libvlc_media_player_is_seekable'. 10-25 14:08:48.695 D/Mono (30724): Found as 'libvlc_media_player_is_seekable'. [Debug] libvlc:writing header data10-25 14:08:48.707 I/mono-stdout(30724): [Debug] libvlc:writing header data 10-25 14:08:51.847 D/Mono (30724): DllImport searching in: '__Internal' ('(null)'). 10-25 14:08:51.847 D/Mono (30724): Searching for 'java_interop_jnienv_call_static_float_method_a'. 10-25 14:08:51.847 D/Mono (30724): Probing 'java_interop_jnienv_call_static_float_method_a'. 10-25 14:08:51.847 D/Mono (30724): Found as 'java_interop_jnienv_call_static_float_method_a'. [Debug] libvlc:EOF reached [Debug] libvlc:waiting decoder fifos to empty10-25 14:08:54.216 I/mono-stdout(30724): [Debug] libvlc:EOF reached 10-25 14:08:54.217 I/mono-stdout(30724): [Debug] libvlc:waiting decoder fifos to empty [Debug] libvlc:killing decoder fourcc `mp4a' [Debug] libvlc:removing module "mpeg4audio" [Debug] libvlc:removing a sout input (sout_input: 0xba971830) [Debug] libvlc:removing module "avcodec" [Debug] libvlc:removing module "ugly" [Debug] libvlc:removing module "araw" [Debug] libvlc:removing module "simple_channel_mixer" [Debug] libvlc:removing module "audio_format"10-25 14:08:54.328 W/art (30724): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[24,tid=30944,Native,Thread*=0xba3acdc0,peer=0x12e320a0,"Thread-6833"] [Debug] libvlc:removing input [Debug] libvlc:writing header data [Warning] libvlc:no more input streams for this mux [Debug] libvlc:removing module "mp4" 10-25 14:08:54.330 I/mono-stdout(30724): [Debug] libvlc:killing decoder fourcc `mp4a'[Debug] libvlc:freeing all memory 10-25 14:08:54.331 I/mono-stdout(30724): [Debug] libvlc:removing module "mpeg4audio" [Debug] libvlc:Program doesn't contain anymore ES [Debug] libvlc:removing module "record" [Debug] libvlc:removing module "cache_read" 10-25 14:08:54.332 I/mono-stdout(30724): [Debug] libvlc:removing a sout input (sout_input: 0xba971830) 10-25 14:08:54.333 I/mono-stdout(30724): [Debug] libvlc:removing module "avcodec" 10-25 14:08:54.334 I/mono-stdout(30724): [Debug] libvlc:removing module "ugly" 10-25 14:08:54.334 I/mono-stdout(30724): [Debug] libvlc:removing module "araw" [Debug] libvlc:removing module "filesystem" 10-25 14:08:54.335 I/mono-stdout(30724): [Debug] libvlc:removing module "simple_channel_mixer" 10-25 14:08:54.335 I/mono-stdout(30724): [Debug] libvlc:removing module "audio_format" 10-25 14:08:54.337 I/mono-stdout(30724): [Debug] libvlc:removing input 10-25 14:08:54.337 I/mono-stdout(30724): [Debug] libvlc:writing header data 10-25 14:08:54.338 I/mono-stdout(30724): [Warning] libvlc:no more input streams for this mux 10-25 14:08:54.338 I/mono-stdout(30724): [Debug] libvlc:removing module "mp4" 10-25 14:08:54.339 I/mono-stdout(30724): [Debug] libvlc:freeing all memory 10-25 14:08:54.344 I/mono-stdout(30724): [Debug] libvlc:Program doesn't contain anymore ES 10-25 14:08:54.347 I/mono-stdout(30724): [Debug] libvlc:removing module "record" 10-25 14:08:54.348 I/mono-stdout(30724): [Debug] libvlc:removing module "cache_read" 10-25 14:08:54.351 I/mono-stdout(30724): [Debug] libvlc:removing module "filesystem" 10-25 14:08:54.365 W/art (30724): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[23,tid=30942,Native,Thread*=0xba91cf10,peer=0x12e2d0a0,"Thread-6832"] Thread finished: <Thread Pool> #9 The thread 0x9 has exited with code 0 (0x0).
Edited by Martin Finkel - Maintainer
Are you subscribing to the vout changed event?
- Author
On other c# commandline projects i used to use this command argument to extract
string parameters = "\"" + sourcepath + "\" -I dummy -vvv --no-random --no-repeat --no-loop --no-sout-video --sout=\"#transcode{acodec=s16l,channels=1,ab=128}:std{access=file,mux=wav,dst=" + destinationpath + "}\" vlc://quit";
No Not subscribing to vout changed event.
Edited by PREM PRAKASH PATTNAIK - Maintainer
Share your full code in a git repo.
Try it on other platforms.
- Author
okay i will do
- Maintainer
Re-open with your full code in a git repo if you need help.
- Martin Finkel closed
closed