[FFmpeg-devel] FFMPEG4.0 open mp4 from HTTP server report : stream 1, offset 0x1c33: partial file
whmiao
whaimiao at qq.com
Fri May 25 12:51:23 EEST 2018
Hi,
I run cmd like:
ffmpeg -i http://js.a.yximgs.com/udata/W_8_UAn4tpgi8_zh.mp4 e:\test.mp4
It Will report error: stream 0, offset 0x30: partial file
If i download the file ,save in local storage, run cmd like
ffmpeg -i e:\W_8_UAn4tpgi8_zh.mp4 -y e:\ou.mp4
It works well.
Full comand line outputs:
ffmpeg version N-91141-gc24d247e2c Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
libavutil 56. 18.102 / 56. 18.102
libavcodec 58. 19.102 / 58. 19.102
libavformat 58. 16.100 / 58. 16.100
libavdevice 58. 4.100 / 58. 4.100
libavfilter 7. 24.100 / 7. 24.100
libswscale 5. 2.100 / 5. 2.100
libswresample 3. 2.100 / 3. 2.100
libpostproc 55. 2.100 / 55. 2.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cd81fb9a80] stream 0, offset 0x30: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 000001cd81fb9a80] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 720x1280, 1004 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://js.a.yximgs.com/udata/W_8_UAn4tpgi8_zh.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.56.101
comment : #[1080x1920][5027k][317k][H][7][ags=1.000000][agm=1.000000][agsi=2000]
Duration: 00:00:50.55, bitrate: 1072 kb/s
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), none, 720x1280, 1004 kb/s, 25 fps, 25 tbr, 12800 tbn, 25600 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 64 kb/s (default)
Metadata:
handler_name : SoundHandler
File 'e:\test.mp4' already exists. Overwrite ? [y/N] y
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Stream #0:1 -> #0:1 (aac (native) -> aac (native))
Press [q] to stop, [?] for help
More information about the ffmpeg-devel
mailing list