voiceip/oreka

audio file name extension is mcf

harold-yh opened this issue · 3 comments

RUNNING OS:centos7.9
BUILD OS:ubuntu 14.04.6

I set the audio format with pcmwav,but i got file ext is :mcf。
etc:20220827_202929_EHDU.mcf
pcmwav

Mcf is the native file. This looks like config error or processing error.

Could you share the config file that you are using? Also please share the commands of how you are launching orkaudio process.

I has tried the command ./orkaudio debug and ./orkaudio,i got the same mcf file.

the config:

/home/wav
    <CapturePlugin>libvoip.so</CapturePlugin>

    <CapturePluginPath>./lib</CapturePluginPath>

    <StorageAudioFormat>pcmwav</StorageAudioFormat>
    <StereoRecording>true</StereoRecording>
    <TapeNumChannels>2</TapeNumChannels>
    <AudioFileBitRate>8000</AudioFileBitRate>

    <DeleteNativeFile>yes</DeleteNativeFile>

    <DeleteFailedCaptureFile>yes</DeleteFailedCaptureFile>

    <EnableReporting>no</EnableReporting>
    <TrackerHostname>localhost</TrackerHostname>
    <TrackerTcpPort>8081</TrackerTcpPort>

    <NumBatchThreads>16</NumBatchThreads>

    <AudioFileOwner>tomcat</AudioFileOwner>
    <AudioFileGroup>tomcat</AudioFileGroup>
    <AudioFilePermissions>644</AudioFilePermissions>

    <VoIpPlugin>
            <PcapSocketBufferSize>67108864</PcapSocketBufferSize>
            <IpFragmentsReassemble>true</IpFragmentsReassemble>
            <Devices>em4</Devices>
            <PcapFilter>host 11.5.213.202</PcapFilter>
    </VoIpPlugin>

the log:
2022-08-28 09:05:00,906 WARN config:278 - It is not recommended to have more batch threads than CPUs
2022-08-28 09:05:00,907 INFO root:109 - Loaded plugin: ./lib/libvoip.so
2022-08-28 09:05:00,909 INFO packet:1847 - Initializing VoIP plugin
2022-08-28 09:05:01,461 INFO packet:1554 - Available pcap devices:
2022-08-28 09:05:01,461 INFO packet:1561 - * nflog - Linux netfilter log (NFLOG) interface
2022-08-28 09:05:01,461 INFO packet:1561 - * nfqueue - Linux netfilter queue (NFQUEUE) interface
2022-08-28 09:05:01,461 INFO packet:1561 - * em1 -
2022-08-28 09:05:01,461 INFO packet:1561 - * usbmon1 - USB bus number 1
2022-08-28 09:05:01,461 INFO packet:1561 - * em2 -
2022-08-28 09:05:01,461 INFO packet:1561 - * usbmon2 - USB bus number 2
2022-08-28 09:05:01,461 INFO packet:1561 - * em3 -
2022-08-28 09:05:01,461 INFO packet:1561 - * em4 -
2022-08-28 09:05:01,461 INFO packet:1353 - Setting pcap socket buffer size:67108864 bytes successful
2022-08-28 09:05:01,521 INFO packet:1377 - Activating pcaphandle:1ad45f0 successfully
2022-08-28 09:05:01,521 INFO packet:1392 - Setting setsockopt with bufsize:8388608 successfully
2022-08-28 09:05:01,522 INFO packet:1484 - Successfully opened device. pcap handle:1ad45f0 message:
2022-08-28 09:05:01,522 INFO packet:1561 - * any - Pseudo-device that captures on all interfaces
2022-08-28 09:05:01,522 INFO packet:1561 - * lo -
2022-08-28 09:05:01,522 INFO packet:1744 - No localpartymap.csv supplied, either locally or at ./config/localpartymap.csv
2022-08-28 09:05:01,522 INFO packet:1805 - LoadSkinnyGlobalNumbersList: Could not open file:skinnyglobalnumbers.csv -- trying:./config/skinnyglobalnumbers.csv now
2022-08-28 09:05:01,522 INFO packet:1811 - LoadPartyMaps: Could not open file:./config/skinnyglobalnumbers.csv either -- giving up
2022-08-28 09:05:01,522 INFO root:170 - Loaded plugin: ./plugins/libsilkcodec.so
2022-08-28 09:05:01,522 INFO silk:243 - SILK codec filter initialized.
2022-08-28 09:05:01,523 INFO root:170 - Loaded plugin: ./plugins/libg729codec.so
2022-08-28 09:05:01,523 INFO g729:149 - G729 codec filter starting.
2022-08-28 09:05:01,523 INFO g729:152 - G729 codec filter initialized.
2022-08-28 09:05:01,523 INFO root:170 - Loaded plugin: ./plugins/librtpmixer.so
2022-08-28 09:05:01,523 INFO taperegistry:62 - Registered processor: BatchProcessing
2022-08-28 09:05:01,523 INFO taperegistry:62 - Registered processor: CommandProcessing
2022-08-28 09:05:01,523 INFO taperegistry:62 - Registered processor: Reporting
2022-08-28 09:05:01,523 INFO taperegistry:62 - Registered processor: TapeFileNaming
2022-08-28 09:05:01,523 INFO taperegistry:62 - Registered processor: DirectionSelector
2022-08-28 09:05:01,523 INFO reporting:283 - [localhost/tracker] reporting thread started.
2022-08-28 09:05:01,524 INFO immediateProcessing:90 - thread starting - queue size:10000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th2 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th0 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th1 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th3 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th4 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th5 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th6 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th7 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th8 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th9 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th10 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th12 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th11 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th14 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th13 starting - queue size:20000
2022-08-28 09:05:01,524 INFO batchProcessing:233 - thread Th15 starting - queue size:20000
2022-08-28 09:05:01,525 INFO tapeFileNamingLog:86 - Started
2022-08-28 09:05:01,525 INFO directionSelector:184 - thread Th0 starting - queue size:20000
2022-08-28 09:05:01,525 INFO batchProcessing:106 - Command Processing thread Th0 starting - queue size:10000
2022-08-28 09:05:01,525 INFO directionSelector:129 - LoadAreaCodesMaps: Could not open file:area-codes-recorded-side.csv -- trying:./config/area-codes-recorded-side.csv now
2022-08-28 09:05:01,525 INFO directionSelector:135 - LoadAreaCodesMaps: Could not open file:./config/area-codes-recorded-side.csv either -- giving up
2022-08-28 09:05:01,525 INFO httpserver:247 - Started HttpServer on port:59140
2022-08-28 09:05:01,525 INFO eventstreamingserver:736 - Started EventstreamingServer on port:59150
2022-08-28 09:05:01,525 INFO packet:980 - Start Capturing: pcap handle:1ad45f0
2022-08-28 09:05:01,607 INFO reporting:329 - [localhost:8081/tracker] init success:true comment:

Sorry,I check the config,I lost the:BatchProcessing, Reporting。
when I added , it works。
Thanks.