Saturday, 15 August 2015

ffmpeg for android avformat_open_input = qsub_0_in_QPR_VFP2 -



ffmpeg for android avformat_open_input = qsub_0_in_QPR_VFP2 -

ffmpeg version 2.1.4 on android 4.4 gives me next error

10-21 18:13:33.191: e/ffmpegclient(2561): avformat_open_input ret=qsub_0_in_qpr_vfp2

error code -1094995529 , converted message averror(errcode);

does 1 know error means? not defined in libavutil/error.h , can't find in code.

code snippet

int errcode = avformat_open_input(&thumb_ctx, thumb_path, 0, 0);

error codes ffmpeg (error.h avutil) : http://ffmpeg.org/doxygen/trunk/error_8h_source.html

it turns out value specified :

#define averror_invaliddata fferrtag( 'i','n','d','a')

the -1094995529 becomes -0x41444e49 , when @ letters, in acsii, 0x41 = 'a', 0x44 = 'd', 0x4e = 'n, , 0x49 = 'i'. due macro/etc things reversed, adni becomes inda, can see #define snippet, averror_invaliddata defined fferrtag( 'i','n','d','a').

the rest of error codes in file , i've pasted them below here :

#define averror_bsf_not_found fferrtag(0xf8,'b','s','f') ///< bitstream filter not found #define averror_bug fferrtag( 'b','u','g','!') ///< internal bug, see averror_bug2 #define averror_buffer_too_small fferrtag( 'b','u','f','s') ///< buffer little #define averror_decoder_not_found fferrtag(0xf8,'d','e','c') ///< decoder not found #define averror_demuxer_not_found fferrtag(0xf8,'d','e','m') ///< demuxer not found #define averror_encoder_not_found fferrtag(0xf8,'e','n','c') ///< encoder not found #define averror_eof fferrtag( 'e','o','f',' ') ///< end of file #define averror_exit fferrtag( 'e','x','i','t') ///< immediate exit requested; called function should not restarted #define averror_external fferrtag( 'e','x','t',' ') ///< generic error in external library #define averror_filter_not_found fferrtag(0xf8,'f','i','l') ///< filter not found #define averror_invaliddata fferrtag( 'i','n','d','a') ///< invalid info found when processing input #define averror_muxer_not_found fferrtag(0xf8,'m','u','x') ///< muxer not found #define averror_option_not_found fferrtag(0xf8,'o','p','t') ///< alternative not found #define averror_patchwelcome fferrtag( 'p','a','w','e') ///< not yet implemented in ffmpeg, patches welcome #define averror_protocol_not_found fferrtag(0xf8,'p','r','o') ///< protocol not found #define averror_stream_not_found fferrtag(0xf8,'s','t','r') ///< stream not found #define averror_bug2 fferrtag( 'b','u','g',' ') #define averror_unknown fferrtag( 'u','n','k','n') ///< unknown error, typically external library #define averror_experimental (-0x2bb2afa8) ///< requested feature flagged experimental. set strict_std_compliance if want utilize it. #define averror_input_changed (-0x636e6701) ///< input changed between calls. reconfiguration required. (can or-ed averror_output_changed) #define averror_output_changed (-0x636e6702) ///< output changed between calls. reconfiguration required. (can or-ed averror_input_changed) #define averror_http_bad_request fferrtag(0xf8,'4','0','0') #define averror_http_unauthorized fferrtag(0xf8,'4','0','1') #define averror_http_forbidden fferrtag(0xf8,'4','0','3') #define averror_http_not_found fferrtag(0xf8,'4','0','4') #define averror_http_other_4xx fferrtag(0xf8,'4','x','x') #define averror_http_server_error fferrtag(0xf8,'5','x','x')

android ffmpeg

No comments:

Post a Comment