@Luca: I'm trying both ffmpeg and libav getting the same error. It seems
both have the same linking error (or I'm screwing up J). I'm using libav
10.3 just downloaded from the official libav site

@Timothy:

------ Build started: Project: TestFFMPEG, Configuration: Release ARM ------
>   pch.cpp
> c:\mingw\msys\1.0\home\mirkpul\libav-10.3\libavutil\common.h(152): warning
> C4244: 'return' : conversion from 'int64_t' to 'int32_t', possible loss of
> data
> c:\mingw\msys\1.0\home\mirkpul\libav-10.3\libavutil\common.h(235): warning
> C4244: 'argument' : conversion from 'uint64_t' to 'uint32_t', possible loss
> of data
>   App.xaml.cpp
>   NavigationHelper.cpp
>   RelayCommand.cpp
>   SuspensionManager.cpp
>   SampleDataSource.cpp
>   HubPage.xaml.cpp
>   ItemPage.xaml.cpp
>   SectionPage.xaml.cpp
>   XamlTypeInfo.Impl.g.cpp
> LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib'


It seems that libcmt.lib is not standarly added. Adding it I get:

------ Rebuild All started: Project: TestFFMPEG, Configuration: Release ARM
> ------
>   pch.cpp
> c:\mingw\msys\1.0\home\mirkpul\libav-10.3\libavutil\common.h(152): warning
> C4244: 'return' : conversion from 'int64_t' to 'int32_t', possible loss of
> data
> c:\mingw\msys\1.0\home\mirkpul\libav-10.3\libavutil\common.h(235): warning
> C4244: 'argument' : conversion from 'uint64_t' to 'uint32_t', possible loss
> of data
>   App.xaml.cpp
>   NavigationHelper.cpp
>   RelayCommand.cpp
>   SuspensionManager.cpp
>   SampleDataSource.cpp
>   HubPage.xaml.cpp
>   ItemPage.xaml.cpp
>   SectionPage.xaml.cpp
>   XamlTypeInfo.Impl.g.cpp
>   Generating code
>   Finished generating code
>   XamlTypeInfo.g.cpp
> libavcodec.a(vp8.o) : error LNK2001: unresolved external symbol
> __imp_CreateSemaphoreA
> libavcodec.a(pthread_frame.o) : error LNK2001: unresolved external symbol
> __imp_CreateSemaphoreA
> libavcodec.a(pthread_slice.o) : error LNK2001: unresolved external symbol
> __imp_CreateSemaphoreA
> libavcodec.a(pthread_frame.o) : error LNK2001: unresolved external symbol
> _beginthreadex
> libavcodec.a(pthread_slice.o) : error LNK2001: unresolved external symbol
> _beginthreadex
> libavutil.a(log.o) : error LNK2001: unresolved external symbol getenv
> libavutil.a(log.o) : error LNK2001: unresolved external symbol
> __imp_GetStdHandle
> libavutil.a(log.o) : error LNK2001: unresolved external symbol
> __imp_GetConsoleScreenBufferInfo
> libavutil.a(log.o) : error LNK2001: unresolved external symbol
> __imp_SetConsoleTextAttribute
> libavutil.a(random_seed.o) : error LNK2001: unresolved external symbol
> __imp_CryptAcquireContextA
> libavutil.a(random_seed.o) : error LNK2001: unresolved external symbol
> __imp_CryptReleaseContext
> libavutil.a(random_seed.o) : error LNK2001: unresolved external symbol
> __imp_CryptGenRandom
> libavutil.a(cpu.o) : error LNK2001: unresolved external symbol
> __imp_GetProcessAffinityMask
> C:\Users\mirkpul\documents\visual studio
> 2013\Projects\TestFFMPEG\ARM\Release\TestFFMPEG\TestFFMPEG.exe : fatal
> error LNK1120: 10 unresolved externals
> ========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========


I've checked and a part of the missing symbols come from kernel32.lib that
is excluded by defaults on Windows Phone apps. I've also tried to use your
guide:
https://libav.org/platform.html#Linking-to-Libav-with-Microsoft-Visual-C_002b_002b

but setting Multi Thread gives that result:

------ Build started: Project: TestFFMPEG, Configuration: Release ARM ------
> C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppBuild.targets(1679,5):
> error MSB8024: Using static version of the C++ runtime library is not
> supported.
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========



I was wondering if anybody tried to use libav on a Windows 8 phone...

Mirko

--

*Mirko Puliafito*

CTO

Mobile: +39 347 276 0256

<http://www.eudata.biz/>
20124 Milano
Via Melchiorre Gioia 55/c
Phone:+39 02 454 950 98
Fax: +39 02 454 950 99


www.unyco.net

2014-09-12 15:33 GMT+02:00 Luca Barbato <lu_z...@gentoo.org>:

> On 12/09/14 15:18, Mirko Puliafito wrote:
> > Yes, a kind of the same, just some tuning about armasm.
>
> No, if you use Libav you get support here, if you use FFmpeg you have to
> ask it in the right ml.
>
> It is quite rude asking questions and have people spend time on
> something while you are using the competing project.
>
> lu
> _______________________________________________
> libav-devel mailing list
> libav-devel@libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel
>
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to