Snapshot of RTSP Streaming Android

VLC for Android and Chrome OS specific usage questions
jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Snapshot of RTSP Streaming Android

Postby jickson.tj » 29 Oct 2014 07:22

Hi All,

Is it possible to take snapshot of RTSP Streaming in Android?

Thanks & Regards,
Jickson

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 09 Nov 2014 06:12

Not out of the box.

rowa
Blank Cone
Blank Cone
Posts: 30
Joined: 29 Jan 2013 04:34

Re: Snapshot of RTSP Streaming Android

Postby rowa » 11 Nov 2014 16:59

1)enable the sout module in configure.sh
2)add 'enable-encoder=png' in rules.mak
Then the function of snapshot will be available

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 11 Nov 2014 20:45

This is not officially supported.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 17 Nov 2014 17:44

Hi rowa,

I see many rules.mak inside source directory. In which file I need add 'enable-encoder=png'?

Thanks & Regards,
Jickson

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 18 Nov 2014 01:32

vlc/contrib/src/ffmpeg/rules.mak

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 19 Nov 2014 20:52

Hi,
Thanks for guiding.

After doing that change, I am getting the following error message when I ran compile.sh file.
[armeabi-v7a] Compile thumb : vlcjni <= wmemset.c
[armeabi-v7a] SharedLibrary : libvlcjni.so
./obj/local/armeabi-v7a/objs-debug/vlcjni/libvlcjni.o:libvlcjni.c:vlc_static_modules: error: undefined reference to 'vlc_entry__vod_rtsp'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/generated_message_util.h:80: error: undefined reference to 'google::protobuf::internal::empty_string_'
../../../modules/stream_out/chromecast/cast.cpp:795: error: undefined reference to 'google::protobuf::MessageLite::SerializeToString(std::string*) const'
../../../modules/stream_out/chromecast/cast.cpp:960: error: undefined reference to 'google::protobuf::MessageLite::ParseFromArray(void const*, int)'
../../../modules/stream_out/chromecast/cast.cpp:598: error: undefined reference to 'google::protobuf::MessageLite::ParseFromString(std::string const&)'
chromecast/cast_channel.pb.cc:419: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:413: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:407: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:401: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:395: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:389: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteStringMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:383: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:861: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:855: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(int, std::string const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:1088: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteEnum(int, int, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:1339: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:1345: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:1351: error: undefined reference to 'google::protobuf::internal::WireFormatLite::WriteMessage(int, google::protobuf::MessageLite const&, google::protobuf::io::CodedOutputStream*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:1091: error: undefined reference to 'google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:1091: error: undefined reference to 'google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:1091: error: undefined reference to 'google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:1091: error: undefined reference to 'google::protobuf::io::CodedOutputStream::VarintSize32Fallback(unsigned int)'
chromecast/cast_channel.pb.cc:581: error: undefined reference to 'google::protobuf::MessageLite::~MessageLite()'
chromecast/cast_channel.pb.cc:989: error: undefined reference to 'google::protobuf::MessageLite::~MessageLite()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/generated_message_util.h:80: error: undefined reference to 'google::protobuf::internal::empty_string_'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/generated_message_util.h:80: error: undefined reference to 'google::protobuf::internal::empty_string_'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/generated_message_util.h:80: error: undefined reference to 'google::protobuf::internal::empty_string_'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::GoogleOnceInitImpl(int*, google::protobuf::Closure*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::empty_string_once_init_'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'vtable for google::protobuf::internal::FunctionClosure0'
/home/jickson/Android/ndk/android-ndk-r10c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::InitEmptyString()'
/home/jickson/Android/ndk/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/basic_string.h:539: error: undefined reference to 'google::protobuf::MessageLite::~MessageLite()'
chromecast/cast_channel.pb.cc:142: error: undefined reference to 'google::protobuf::MessageLite::~MessageLite()'
chromecast/cast_channel.pb.cc:493: error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
chromecast/cast_channel.pb.cc:493: error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
chromecast/cast_channel.pb.cc:493: error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
chromecast/cast_channel.pb.cc:493: error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
chromecast/cast_channel.pb.cc:493: error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
chromecast/cast_channel.pb.cc:489: error: undefined reference to 'typeinfo for google::protobuf::MessageLite'
chromecast/cast_channel.pb.cc:673: error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
chromecast/cast_channel.pb.cc:673: error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
chromecast/cast_channel.pb.cc:673: error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
chromecast/cast_channel.pb.cc:673: error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
chromecast/cast_channel.pb.cc:673: error: undefined reference to 'google::protobuf::internal::LogMessage::~LogMessage()'
chromecast/cast_channel.pb.cc:669: error: undefined reference to 'typeinfo for google::protobuf::MessageLite'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::GoogleOnceInitImpl(int*, google::protobuf::Closure*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::FunctionClosure0::~FunctionClosure0()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::empty_string_once_init_'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'vtable for google::protobuf::internal::FunctionClosure0'
/home/jickson/Android/ndk/android-ndk-r10c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/stubs/once.h:127: error: undefined reference to 'google::protobuf::internal::InitEmptyString()'
chromecast/cast_channel.pb.cc:902: error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
chromecast/cast_channel.pb.cc:902: error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
chromecast/cast_channel.pb.cc:902: error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
chromecast/cast_channel.pb.cc:898: error: undefined reference to 'typeinfo for google::protobuf::MessageLite'
chromecast/cast_channel.pb.cc:1121: error: undefined reference to 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)'
chromecast/cast_channel.pb.cc:1121: error: undefined reference to 'google::protobuf::internal::LogMessage::operator<<(char const*)'
chromecast/cast_channel.pb.cc:1121: error: undefined reference to 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)'
chromecast/cast_channel.pb.cc:1117: error: undefined reference to 'typeinfo for google::protobuf::MessageLite'
chromecast/cast_channel.pb.cc:35: error: undefined reference to 'google::protobuf::internal::VerifyVersion(int, int, char const*)'
chromecast/cast_channel.pb.cc:240: error: undefined reference to 'google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
chromecast/cast_channel.pb.cc:242: error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)'
chromecast/cast_channel.pb.cc:362: error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream*, unsigned int, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:333: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)'
chromecast/cast_channel.pb.cc:346: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)'
chromecast/cast_channel.pb.cc:299: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)'
chromecast/cast_channel.pb.cc:286: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)'
chromecast/cast_channel.pb.cc:273: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadString(google::protobuf::io::CodedInputStream*, std::string*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:924: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback()'
chromecast/cast_channel.pb.cc:242: error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()'
chromecast/cast_channel.pb.cc:373: error: undefined reference to 'google::protobuf::io::StringOutputStream::~StringOutputStream()'
chromecast/cast_channel.pb.cc:319: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32(unsigned int)'
chromecast/cast_channel.pb.cc:320: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32(unsigned int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:799: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:799: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int*)'
chromecast/cast_channel.pb.cc:259: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32(unsigned int)'
chromecast/cast_channel.pb.cc:260: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteVarint32(unsigned int)'
chromecast/cast_channel.pb.cc:242: error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()'
chromecast/cast_channel.pb.cc:373: error: undefined reference to 'google::protobuf::io::StringOutputStream::~StringOutputStream()'
chromecast/cast_channel.pb.cc:622: error: undefined reference to 'google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
chromecast/cast_channel.pb.cc:624: error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)'
chromecast/cast_channel.pb.cc:636: error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream*, unsigned int, google::protobuf::io::CodedOutputStream*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:924: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback()'
chromecast/cast_channel.pb.cc:624: error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()'
chromecast/cast_channel.pb.cc:644: error: undefined reference to 'google::protobuf::io::StringOutputStream::~StringOutputStream()'
chromecast/cast_channel.pb.cc:644: error: undefined reference to 'google::protobuf::io::StringOutputStream::~StringOutputStream()'
chromecast/cast_channel.pb.cc:624: error: undefined reference to 'google::protobuf::io::CodedOutputStream::~CodedOutputStream()'
chromecast/cast_channel.pb.cc:793: error: undefined reference to 'google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
chromecast/cast_channel.pb.cc:795: error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)'
chromecast/cast_channel.pb.cc:834: error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream*, unsigned int, google::protobuf::io::CodedOutputStream*)'
chromecast/cast_channel.pb.cc:818: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:924: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback()'
chromecast/cast_channel.pb.cc:805: error: undefined reference to 'google::protobuf::internal::WireFormatLite::ReadBytes(google::protobuf::io::CodedInputStream*, std::string*)'
chromecast/cast_channel.pb.cc:1031: error: undefined reference to 'google::protobuf::io::StringOutputStream::StringOutputStream(std::string*)'
chromecast/cast_channel.pb.cc:1033: error: undefined reference to 'google::protobuf::io::CodedOutputStream::CodedOutputStream(google::protobuf::io::ZeroCopyOutputStream*)'
chromecast/cast_channel.pb.cc:1067: error: undefined reference to 'google::protobuf::internal::WireFormatLite::SkipField(google::protobuf::io::CodedInputStream*, unsigned int, google::protobuf::io::CodedOutputStream*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:924: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadTagFallback()'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:799: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:487: error: undefined reference to 'google::protobuf::io::CodedInputStream::PushLimit(int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:494: error: undefined reference to 'google::protobuf::io::CodedInputStream::PopLimit(int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:487: error: undefined reference to 'google::protobuf::io::CodedInputStream::PushLimit(int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:494: error: undefined reference to 'google::protobuf::io::CodedInputStream::PopLimit(int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/io/coded_stream.h:799: error: undefined reference to 'google::protobuf::io::CodedInputStream::ReadVarint32Fallback(unsigned int*)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:487: error: undefined reference to 'google::protobuf::io::CodedInputStream::PushLimit(int)'
/home/jickson/Android/vlc/vlc_judgment_day/android/vlc/contrib/arm-linux-androideabi/include/google/protobuf/wire_format_lite_inl.h:494: error: undefined reference to 'google::protobuf::io::CodedInputStream::PopLimit(int)'
chromecast/cast_channel.pb.cc:652: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const*, int)'
chromecast/cast_channel.pb.cc:423: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const*, int)'
chromecast/cast_channel.pb.cc:865: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const*, int)'
chromecast/cast_channel.pb.cc:1092: error: undefined reference to 'google::protobuf::io::CodedOutputStream::WriteRaw(void const*, int)'
chromecast/cast_channel.pb.cc:48: error: undefined reference to 'google::protobuf::internal::OnShutdown(void (*)())'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthChallenge: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthChallenge: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char*) const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthError: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthError: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char*) const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::CastMessage: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::CastMessage: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char*) const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthResponse: error: undefined reference to 'google::protobuf::MessageLite::InitializationErrorString() const'
../vlc/build-android-arm-linux-androideabi/modules/stream_out/.libs/libstream_out_chromecast_plugin.a(libstream_out_chromecast_plugin_la-cast_channel.pb.o):cast_channel.pb.cc:vtable for castchannel::AuthResponse: error: undefined reference to 'google::protobuf::MessageLite::SerializeWithCachedSizesToArray(unsigned char*) const'
collect2: error: ld returned 1 exit status
make[1]: *** [obj/local/armeabi-v7a/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/jickson/Android/vlc/vlc_judgment_day/android/libvlc'
make: *** [libvlc/obj/local/armeabi-v7a/libvlcjni.so] Error 2
rm android-libs/libcutils.c android-libs/libhardware.c android-libs/libbinder.c android-libs/libui.c android-libs/libutils.c android-libs/libstagefright.c android-libs/libmedia.c



how to resolve this issue?

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 19 Nov 2014 22:51

Update your protobuf.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 20 Nov 2014 10:46

I have updated to protobuf 2.6.1. still I am getting the above error.
Can you please tell me how to resolve the following error.
/obj/local/armeabi-v7a/objs-debug/vlcjni/libvlcjni.o:libvlcjni.c:vlc_static_modules: error: undefined reference to 'vlc_entry__vod_rtsp'
Initially when i enabled sout, I got many errors like,
error: undefined reference to 'vorbis_encode_setup_vbr‘
and
undefined reference to 'vlc_entry__access_output_udp


I followed this http://blog.csdn.net/a358763471/article ... s/38331837 to resolve these issues.

But I didnt get any solution to resolve error related to "vlc_entry__vod_rtsp"

Please guide me resolve this issue.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 21 Nov 2014 00:56

Probably you should not interfere with the build system like that.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 21 Nov 2014 07:47

Sorry for that.

Is it possible to resolve those errors without changing the build system?

rowa
Blank Cone
Blank Cone
Posts: 30
Joined: 29 Jan 2013 04:34

Re: Snapshot of RTSP Streaming Android

Postby rowa » 21 Nov 2014 08:20

according to your error log, I think you could add the module 'vod_rtsp' and 'chromecast' to the blacklist and retry.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 22 Nov 2014 08:51

Thank you Rowa for the help.

Error related to protobuf library is resolved by adding "-lprotobuf" to "LOCAL_LDLIBS" in Android.mk file.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 22 Nov 2014 08:54

Snapshot is working now. But After taking snapshot, video is stuck , but audio continue to play. After few seconds audio/video both stops. How to resolve this issue?

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 22 Nov 2014 16:09

Here is the log.
11-22 20:50:23.404: D/VLC(28350): core encoder: looking for encoder module matching "any": 13 candidates
11-22 20:50:23.404: D/VLC(28350): core encoder: using encoder module "png"
11-22 20:50:23.404: D/VLC(28350): core filter: looking for video filter2 module matching "any": 35 candidates
11-22 20:50:23.404: D/VLC(28350): swscale filter: 640x480 (640x482) chroma: I420 -> 640x480 (640x482) chroma: RV24 with scaling using Bicubic (good quality)
11-22 20:50:23.404: D/VLC(28350): core filter: using video filter2 module "swscale"
11-22 20:50:23.832: E/VLC(28350): core video output: Debug 13 after image_Write
11-22 20:50:23.832: D/VLC(28350): core encoder: removing module "png"
11-22 20:50:23.832: D/VLC(28350): core filter: removing module "swscale"
11-22 20:50:23.842: D/VLC(28350): core video output: snapshot taken (/storage/emulated/0/Pictures/Snapshot/vlcsnap-2014-11-22-20h50m23s835.png)
11-22 20:50:23.843: D/VLC(28350): core filter: looking for video filter2 module matching "any": 35 candidates
11-22 20:50:23.847: D/VLC(28350): swscale filter: 640x480 (640x482) chroma: I420 -> 640x480 (640x482) chroma: YUVA with scaling using Bicubic (good quality)
11-22 20:50:23.848: D/VLC(28350): core filter: using video filter2 module "swscale"
11-22 20:50:23.902: E/VLC(28350): freetype spu text: Breaking unbreakable line
11-22 20:50:23.928: D/VLC(28350): core filter: removing module "swscale"
11-22 20:50:28.491: D/VLC(28350): core audio output: resampling stopped (drift: 90402 us)
11-22 20:50:28.750: W/VLC(28350): core audio output: playback too late (93391): up-sampling
11-22 20:50:29.152: D/VLC(28350): core audio output: resampling stopped (drift: 37311 us)
11-22 20:50:29.254: W/VLC(28350): core audio output: playback too late (64506): up-sampling
11-22 20:50:34.286: W/VLC(28350): core audio output: playback too early (-57130): down-sampling
11-22 20:50:34.695: W/VLC(28350): core audio output: playback way too early (-146488): playing silence
11-22 20:50:34.695: D/VLC(28350): core audio output: inserting 1171 zeroes
11-22 20:50:34.910: W/VLC(28350): core audio output: playback too early (-41750): down-sampling
11-22 20:50:35.141: W/VLC(28350): core audio output: playback too late (80893): up-sampling
11-22 20:50:35.257: D/VLC(28350): core audio output: resampling stopped (drift: 41895 us)
11-22 20:50:35.391: W/VLC(28350): core audio output: playback too late (132395): up-sampling
11-22 20:50:36.262: W/VLC(28350): core audio output: playback way too late (180520): flushing buffers
11-22 20:50:36.355: W/VLC(28350): core audio output: playback way too early (-1068532): playing silence
11-22 20:50:36.355: D/VLC(28350): core audio output: inserting 8548 zeroes
11-22 20:50:36.507: W/VLC(28350): core audio output: playback way too early (-271979): playing silence
11-22 20:50:36.507: D/VLC(28350): core audio output: inserting 2175 zeroes
11-22 20:50:36.655: W/VLC(28350): core audio output: playback too late (77777): up-sampling
11-22 20:50:36.757: D/VLC(28350): core audio output: resampling stopped (drift: 34884 us)
11-22 20:50:37.110: W/VLC(28350): core audio output: playback too late (78664): up-sampling
11-22 20:50:42.354: E/VLC(28350): core input: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1000 ms)
11-22 20:50:42.354: E/VLC(28350): core input: ES_OUT_RESET_PCR called
11-22 20:50:42.363: W/VLC(28350): core decoder: can't get output picture
11-22 20:50:42.363: W/VLC(28350): avcodec decoder: disabling direct rendering
11-22 20:50:42.365: W/VLC(28350): core decoder: early picture skipped
11-22 20:50:42.366: W/VLC(28350): core decoder: can't get output picture

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Snapshot of RTSP Streaming Android

Postby edwardw » 22 Nov 2014 23:18

It seems like the timing got messed up.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 24 Nov 2014 05:48

ok. Is it possible to resolve timing issue?

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 24 Nov 2014 09:53

I checked the source code.

In below function "for" loop is getting stopped after taking snapshot.

Code: Select all

/***************************************************************************** * Thread: video output thread ***************************************************************************** * Video output thread. This function does only returns when the thread is * terminated. It handles the pictures arriving in the video heap and the * display device events. *****************************************************************************/ static void *Thread(void *object) { vout_thread_t *vout = object; vout_thread_sys_t *sys = vout->p; vout_interlacing_support_t interlacing = { .is_interlaced = false, .date = mdate(), }; mtime_t deadline = VLC_TS_INVALID; for (;;) { vout_control_cmd_t cmd; /* FIXME remove thoses ugly timeouts */ while (!vout_control_Pop(&sys->control, &cmd, deadline, 100000)) if (ThreadControl(vout, cmd)) return NULL; deadline = VLC_TS_INVALID; while (!ThreadDisplayPicture(vout, &deadline)) ; const bool picture_interlaced = sys->displayed.is_interlaced; vout_SetInterlacingState(vout, &interlacing, picture_interlaced); vout_ManageWrapper(vout); } }
What causes the video rendering thread to stop?.. please guide me in resolving this issue.

jickson.tj
Blank Cone
Blank Cone
Posts: 28
Joined: 20 Oct 2014 20:05

Re: Snapshot of RTSP Streaming Android

Postby jickson.tj » 24 Nov 2014 12:14

I modified the function "ThreadControl" inside video_output.c file.

Code: Select all

case VOUT_CONTROL_SUBPICTURE: //ThreadDisplaySubpicture(vout, cmd.u.subpicture); cmd.u.subpicture = NULL; break;
Commented the function ThreadDisplaySubpicture.
Video is playing properly after taking snapshot now.

Thanks all for the help.

Thanks & Regards,
Jickson


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 7 guests