about streaming for original video file which is recorded from iPhone

iOS, iPad, iPhone, tvOS specific usage questions
shindonghyeok
New Cone
New Cone
Posts: 2
Joined: 07 Apr 2017 08:49

about streaming for original video file which is recorded from iPhone

Postby shindonghyeok » 07 Apr 2017 08:57

After I recorded video using iPhone basic camera, I uploaded a file to my own web server. but I couldn't play video file in my application that I made.
However, After I exported a file which is same file that I mentioned above through Quick Player 7 Application in the mac and uploaded a file to my own web server, I could play video.

my code is
let media = VLCMedia(URL: "http://192.168.0.xxx:8080/public/test.mov")
media.play()

Here is some logs about original file
2017-04-04 14:09:43.310 RCS[17829:2151200] creating player instance with private library as options were given
[00007f8f47651e18] core libvlc debug: VLC media player - 2.2.2 Weatherwax
[00007f8f47651e18] core libvlc debug: Copyright © 1996-2016 the VideoLAN team
[00007f8f47651e18] core libvlc debug: revision 2.2.2-18-gf8b3bf0
[00007f8f47651e18] core libvlc debug: configured with /Users/fkuehne/Desktop/VLCKit/MobileVLCKit/ImportedSources/vlc/configure '--prefix=/Users/fkuehne/Desktop/VLCKit/MobileVLCKit/ImportedSources/vlc/install-ios-Simulator/x86_64' '--host=x86_64-apple-darwin11' '--with-contrib=/Users/fkuehne/Desktop/VLCKit/MobileVLCKit/ImportedSources/vlc/contrib/x86_64-apple-darwin11-x86_64' '--enable-static' '--disable-debug' '--enable-dvbpsi' '--enable-avcodec' '--disable-macosx' '--disable-macosx-dialog-provider' '--disable-macosx-qtkit' '--disable-macosx-eyetv' '--disable-macosx-vlc-app' '--disable-macosx-avfoundation' '--disable-audioqueue' '--disable-shared' '--enable-macosx-quartztext' '--enable-mkv' '--enable-opus' '--disable-faad' '--disable-lua' '--disable-a52' '--enable-fribidi' '--disable-qt' '--disable-skins2' '--disable-vcd' '--disable-vlc' '--disable-vlm' '--disable-httpd' '--disable-nls' '--disable-glx' '--disable-sse' '--enable-neon' '--disable-notify' '--enable-live555' '--enable-realrtsp' '--enable-swscale' '--disable-projectm' '--enable-libass' '--enable-libxml2' '--disable-goom' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-libva' '--disable-gme' '--disable-tremor' '--enable-vorbis' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-mtp' '--enable-ogg' '--enable-speex' '--enable-theora' '--enable-flac' '--disable-screen' '--enable-freetype' '--enable-taglib' '--disable-mmx' '--disable-addonmanagermodules' '--disable-mad' 'host_alias=x86_64-apple-darwin11' 'CC=xcrun clang' 'CFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0' 'LDFLAGS=-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk/usr/lib -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -Wl-ios_version_min,7.0' 'CPPFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0' 'CPP=xcrun cc -E' 'CXX=xcrun clang++' 'CXXFLAGS=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.2.sdk -arch x86_64 -O3 -g -miphoneos-version-min=7.0 -stdlib=libstdc++' 'OBJC=xcrun clang' 'OBJCFLAGS=-fobjc-abi-version=2 -fobjc-legacy-dispatch ' 'CXXCPP=xcrun c++ -E'
[00007f8f47651e18] core libvlc debug: plug-ins loaded: 217 modules
[00007f8f47651e18] core libvlc debug: translation test: code is "C"
[00007f8f47651e18] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[00007f8f47656818] core playlist debug: creating audio output
[00007f8f47650298] core audio output debug: looking for audio output module matching "any": 3 candidates
[00007f8f47650298] core audio output debug: using audio output module "audiounit_ios"
[00007f8f47656818] core playlist debug: keeping audio output
[00007f8f47650b48] core interface debug: looking for interface module matching "ios_dialog_provider,none": 1 candidates
[00007f8f47650b48] ios_dialog_provider interface debug: iOS dialog provider initialised
[00007f8f47650b48] core interface debug: using interface module "ios_dialog_provider"
[00007f8f47653878] core generic error: option marq-color does not exist
[00007f8f47653878] core generic error: option marq-opacity does not exist
[00007f8f47653878] core generic error: option marq-position does not exist
[00007f8f47653878] core generic error: option marq-refresh does not exist
[00007f8f47653878] core generic error: option marq-size does not exist
[00007f8f47653878] core generic error: option marq-timeout does not exist
[00007f8f47653878] core generic error: option marq-x does not exist
[00007f8f47653878] core generic error: option marq-y does not exist
[00007f8f47653878] core generic debug: creating audio output
[00007f8f476570e8] core audio output debug: looking for audio output module matching "any": 3 candidates
[00007f8f476570e8] core audio output debug: using audio output module "audiounit_ios"
[00007f8f47653878] core generic debug: keeping audio output
[00007f8f44953898] core input debug: Creating an input for 'http://211.114.156.83:15418/Volume/Home ... G_0156.MOV'
[00007f8f44953898] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00007f8f44953898] core input debug: http://211.114.156.83:15418/Volume/Home ... G_0156.MOV' gives accesshttp' demux ' path211.114.156.83:15418/Volume/Homes/admin/Public/IMG_0156.MOV'
[00007f8f44953898] core input debug: specified demux any' [00007f8f44953898] core input debug: creating demux: access='http' demux='any' location='211.114.156.83:15418/Volume/Homes/admin/Public/IMG_0156.MOV' file='(null)' [00007f8f473a37c8] core demux debug: looking for access_demux module matching "http": 4 candidates [00007f8f473a37c8] core demux debug: no access_demux modules matched [00007f8f44953898] core input debug: creating access 'http' location='211.114.156.83:15418/Volume/Homes/admin/Public/IMG_0156.MOV', path='(null)' [00007f8f473a37c8] core access debug: looking for access module matching "http": 15 candidates [00007f8f473a37c8] http access debug: querying proxy for http://211.114.156.83:15418/Volume/Home ... G_0156.MOV [00007f8f473a37c8] http access debug: no proxy [00007f8f473a37c8] http access debug: http: server='211.114.156.83' port=15418 file='/Volume/Homes/admin/Public/IMG_0156.MOV' [00007f8f473a37c8] core access debug: net: connecting to 211.114.156.83 port 15418 [00007f8f473a37c8] core access debug: connection succeeded (socket = 21) ---- VLCMediaPlayerState [00007f8f473a37c8] http access debug: protocol 'HTTP' answer code 200 [00007f8f473a37c8] http access debug: this frame size=5279727 [00007f8f473a37c8] http access debug: Content-Type: video/quicktime [00007f8f473a37c8] core access debug: using access module "http" [00007f8f44951388] core stream debug: Using stream method for AStream* [00007f8f44951388] core stream debug: starting pre-buffering [00007f8f44951388] core stream debug: received first data after 0 ms [00007f8f44951388] core stream debug: pre-buffering done 1024 bytes in 0s - 34482 KiB/s [00007f8f4765b858] core stream debug: looking for stream_filter module matching "any": 9 candidates [00007f8f4765b858] core stream debug: no stream_filter modules matched [00007f8f4765b858] core stream debug: looking for stream_filter module matching "record": 9 candidates [00007f8f4765b858] core stream debug: using stream_filter module "record" [00007f8f44953898] core input debug: creating demux: access='http' demux='any' location='211.114.156.83:15418/Volume/Homes/admin/Public/IMG_0156.MOV' file='(null)' [00007f8f4765bb98] core demux debug: looking for demux module matching "any": 57 candidates [00007f8f4765bb98] mp4 demux warning: MP4 plugin discarded (not seekable) [00007f8f4765bb98] ts demux debug: TS module discarded (lost sync) [00007f8f4765bb98] mod demux debug: MOD validation failed (ext=) [00007f8f4765bb98] avformat demux debug: trying url: http://211.114.156.83:15418/Volume/Home ... G_0156.MOV [00007f8f4765bb98] avformat demux debug: CPU flags: 0x010053db [00007f8f4765bb98] avformat demux debug: detected format: mov,mp4,m4a,3gp,3g2,mj2 http://211.114.156.83:15418/Volume/Home ... G_0156.MOV [00007f8f44951388] core stream warning: AStreamSeekStream: can't seek [00007f8f4765bb98] avformat demux warning: we were not allowed to seek, or EOF [00007f8f44953898] core input debug: selecting program id=0 [00007f8f4765bb98] avformat demux debug: adding es: video codec = h264 (28) [00007f8f4765bb98] avformat demux debug: adding es: audio codec = mp4a (86018) [00007f8f4765bb98] avformat demux debug: AVFormat supported stream [00007f8f4765bb98] avformat demux debug: - format = mov,mp4,m4a,3gp,3g2,mj2 (QuickTime / MOV) [00007f8f4765bb98] avformat demux debug: - start time = -1 [00007f8f4765bb98] avformat demux debug: - duration = 2568333 [00007f8f4765bb98] core demux debug: using demux module "avformat" [00007f8f439390b8] core decoder debug: looking for decoder module matching "any": 32 candidates [00007f8f439390b8] avcodec decoder debug: CPU flags: 0x010053db [00007f8f439390b8] avcodec decoder debug: trying to use direct rendering [00007f8f439390b8] avcodec decoder debug: allowing 4 thread(s) for decoding [00007f8f439390b8] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started [00007f8f439390b8] avcodec decoder debug: using frame thread mode with 4 threads [00007f8f439390b8] core decoder debug: using decoder module "avcodec" [00007f8f438010b8] core decoder debug: looking for decoder module matching "any": 32 candidates [00007f8f438010b8] avcodec decoder debug: CPU flags: 0x010053db [00007f8f438010b8] avcodec decoder debug: avcodec codec (MPEG AAC Audio) started [00007f8f438010b8] core decoder debug: using decoder module "avcodec" [00007f8f476589b8] core demux meta debug: looking for meta reader module matching "any": 1 candidates [00007f8f476589b8] core demux meta debug: no meta reader modules matched [00007f8f44953898] core input debug:http://211.114.156.83:15418/Volume/Home ... G_0156.MOV' successfully opened
[00007f8f44951388] core stream warning: AStreamSeekStream: can't seek
[00007f8f4765bb98] avformat demux warning: we were not allowed to seek, or EOF
[00007f8f44953898] core input debug: EOF reached
[00007f8f439390b8] core decoder debug: removing module "avcodec"
[00007f8f439390b8] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
[00007f8f439390b8] core decoder debug: killing decoder fourcc h264', 0 PES in FIFO [00007f8f438010b8] core decoder debug: removing module "avcodec" [00007f8f438010b8] avcodec decoder debug: ffmpeg codec (MPEG AAC Audio) stopped [00007f8f438010b8] core decoder debug: killing decoder fourccmp4a', 0 PES in FIFO
[00007f8f4765bb98] core demux debug: removing module "avformat"
[00007f8f4765b858] core stream debug: removing module "record"
[00007f8f473a37c8] core access debug: removing module "http"
[00007f8f44953898] core input debug: Program doesn't contain anymore ES

Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 30 guests