[FFmpeg-user] FFMPEG | Error converting video to a thumbnail
C0nw0nk
c0nw0nks at googlemail.com
Sat May 28 18:34:13 CEST 2016
Input :
ffmpeg.exe -y -analyzeduration 2147483647 -probesize 2147483647 -itsoffset
-768 -i file.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -s 178x100
fileimage.jpg
Output :
C:\Users\C0n\Desktop\ffmpeg>ffmpeg.exe -y -analyzeduration 2147483647
-probesize 2147483647 -itsoffset -768 -i file.mp4 -vcodec mjpeg -vframes 1
-an -f rawvideo -s 178x100 fileimage.jpg
ffmpeg version 2.5.3 Copyright (c) 2000-2015 the FFmpeg developers
built on Jan 13 2015 16:36:01 with gcc 4.9.1 (GCC)
configuration: --arch=x86_64 --target-os=mingw32
--cross-prefix=/home/jan/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32-
--pkg-config=pkg-config --enable-gpl --enable-libx264 --enable-libx265
--enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3
--enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libopenjpeg --enable-gnutls --enable-libgsm
--enable-libfreetype --enable-libopus --disable-w32threads --enable-frei0r
--enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib
--enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB
--enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libilbc --disable-doc
--prefix=/home/jan/sandbox/mingw-w64-x86_64/x86_64-w64-mingw32
--enable-libsoxr --enable-fontconfig --enable-libass --enable-libutvideo
--enable-libbluray --enable-iconv --enable-libtwolame
--extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca
--enable-libmodplug --enable-libbs2b --enable-libgme --extra-libs=-lstdc++
--extra-libs=-lpng --enable-libvidstab --enable-nonfree --enable-libfdk-aac
--enable-libfaac --enable-runtime-cpudetect
libavutil 54. 15.100 / 54. 15.100
libavcodec 56. 13.100 / 56. 13.100
libavformat 56. 15.102 / 56. 15.102
libavdevice 56. 3.100 / 56. 3.100
libavfilter 5. 2.103 / 5. 2.103
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp423gp5
creation_time : 2016-05-14 11:22:40
Duration: 00:25:37.53, start: 0.000000, bitrate: 166 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
640x360 [SAR 1:1 DAR 16:9], 1000 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94
tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz,
stereo, fltp, 58 kb/s (default)
Metadata:
creation_time : 2016-05-14 11:22:54
handler_name : GPAC ISO Audio Handler
[swscaler @ 0000000004e47560] deprecated pixel format used, make sure you
did set range correctly
Output #0, rawvideo, to 'fileimage.jpg':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: isommp423gp5
encoder : Lavf56.15.102
Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 178x100 [SAR 800:801 DAR
16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.13.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[h264 @ 000000000554b9e0] AVC: nal size 6792me=00:00:00.00 bitrate=N/A
dup=0 drop=7011
Last message repeated 1 times
[h264 @ 000000000554b9e0] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e79f03:
partial file
file.mp4: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e7a651:
partial file
file.mp4: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e7a741:
partial file
file.mp4: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e7c726:
partial file
file.mp4: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e7cde9:
partial file
file.mp4: Invalid data found when processing input
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000004e3d300] stream 0, offset 0x1e7ed77:
partial file
file.mp4: Invalid data found when processing input
frame= 0 fps=0.0 q=0.0 Lsize= 0kB time=00:00:00.00 bitrate=N/A
dup=0 drop=7131
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
C:\Users\C0n\Desktop\ffmpeg>pause
Press any key to continue . . .
Does anyone know how i can fix this error ?
More information about the ffmpeg-user
mailing list