VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. Dear All,

    when using ffmpeg on my windows machine to query a remote file hosted on a GoPro camera with the following command goes well:

    C:\ffmpeg-20170525-b946bd8-win64-static\bin>ffmpeg -y -i http://10.5.5.9:8080/videos/DCIM/100GOPRO/GP062247.MP4
    ffmpeg version N-86265-gb946bd8 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 7.1.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
    libavutil 55. 63.100 / 55. 63.100
    libavcodec 57. 96.101 / 57. 96.101
    libavformat 57. 72.101 / 57. 72.101
    libavdevice 57. 7.100 / 57. 7.100
    libavfilter 6. 90.100 / 6. 90.100
    libswscale 4. 7.101 / 4. 7.101
    libswresample 2. 8.100 / 2. 8.100
    libpostproc 54. 6.100 / 54. 6.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000000001ea24a0] Using non-standard frame rate 59/1
    [http @ 00000000007b6ea0] HTTP error 416 Requested range not satisfiable
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://10.5.5.9:8080/videos/DCIM/100GOPRO/GP062247.MP4':
    Metadata:
    major_brand : mp41
    minor_version : 538120216
    compatible_brands: mp41
    creation_time : 2017-06-23T13:30:03.000000Z
    firmware : HD4.02.05.00.00
    Duration: 00:17:43.06, start: 0.000000, bitrate: 30124 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 29968 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
    Metadata:
    creation_time : 2017-06-23T13:30:03.000000Z
    handler_name : GoPro AVC
    encoder : GoPro AVC encoder
    timecode : 13:42:57:47
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
    creation_time : 2017-06-23T13:30:03.000000Z
    handler_name : GoPro AAC
    timecode : 13:42:57:47
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74) (default)
    Metadata:
    creation_time : 2017-06-23T13:30:03.000000Z
    handler_name : GoPro TCD
    timecode : 13:42:57:47
    Stream #0:3(eng): Data: none (fdsc / 0x63736466), 13 kb/s (default)
    Metadata:
    creation_time : 2017-06-23T13:30:03.000000Z
    handler_name : GoPro SOS
    At least one output file must be specified

    I'm trying to get the same results with an app I'm writing using Xamarin for Android, I use the XamarinAndroidFFmpeg for that, sadly the operation fails:

    /data/data/com.pure.ffmpeg/app_bin/ffmpeg -y -i http://10.5.5.9:8080/videos/DCIM/100GOPRO/GP062247.MP4

    WARNING: linker: /data/data/com.pure.ffmpeg/app_bin/ffmpeg has text relocations. This is wasting memory and prevents security hardening. Please fix.

    ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers

    built on Dec 22 2014 12:52:34 with gcc 4.6 20120106 (prerelease)

    configuration: --arch=arm --cpu=cortex-a8 --target-os=linux --enable-runtime-cpudetect --prefix=/data/data/info.guardianproject.ffmpeg/app_opt --enable-pic --disable-shared --enable-static --cross-prefix=/home/n8fr8/dev/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi- --sysroot=/home/n8fr8/dev/android/ndk/platforms/android-16/arch-arm --extra-cflags='-I../x264 -mfloat-abi=softfp -mfpu=neon -fPIE -pie' --extra-ldflags='-L../x264 -fPIE -pie' --enable-version3 --enable-gpl --disable-doc --enable-yasm --enable-decoders --enable-encoders --enable-muxers --enable-demuxers --enable-parsers --enable-protocols --enable-filters --enable-avresample --enable-libfreetype --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-network --enable-libx264 --enable-zlib

    libavutil 51. 54.100 / 51. 54.100

    libavcodec 54. 23.100 / 54. 23.100

    libavformat 54. 6.100 / 54. 6.100

    libavdevice 54. 0.100 / 54. 0.100

    libavfilter 2. 77.100 / 2. 77.100

    libswscale 2. 1.100 / 2. 1.100

    libswresample 0. 15.100 / 0. 15.100

    libpostproc 52. 0.100 / 52. 0.100

    http://10.5.5.9:8080/videos/DCIM/100GOPRO/GP062247.MP4: Protocol not found

    DONE!
    I'm currently trying to understand where's the root of the problem, too old ffmpeg ver?

    Any thought will be highly appreciated!!

    Best,
    Ram
    Quote Quote  
  2. --disable-network might have something to do with it
    Quote Quote  
  3. Originally Posted by raffriff42 View Post
    --disable-network might have something to do with it

    LOL! sounds right, since I'm new to ffmpeg, can I enable it OR the ffmpeg should be recompiled with --enable-network --enable-protocol=tcp?
    Quote Quote  
  4. I dunno, seems ffmpeg would have to be recompiled, or else look for another precompiled binary. (windows-tard out of my comfort zone here)
    Quote Quote  
  5. Originally Posted by raffriff42 View Post
    I dunno, seems ffmpeg would have to be recompiled, or else look for another precompiled binary. (windows-tard out of my comfort zone here)
    then i guess i need to recompile it for Android in order for it to work.... thx much for your reply!!
    Quote Quote  
  6. Mod Neophyte redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    This is the wrong forum. 'ffmpegX general discussion' is a Mac only forum. Moving you to Newbie/General Forum.


    Moderator redwudz
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!