[FFmpeg-user] Mux encoded video data directly into mp4 files
einguste
einguste at gmail.com
Wed Sep 17 18:56:35 CEST 2014
I try to test.
$ ffmpeg -i mjpeg.hex -vcodec copy mjpeg.mp4
ffmpeg version N-66318-g85f2c01 Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 18 2014 00:12:17 with gcc 4.9.1 (GCC)
configuration: --enable-gpl --enable-version3 --enable-avisynth --enable-fontconfig --enable-frei0r --enable-gnutls
--enable-ladspa --enable-libass --enable-libbluray --enable-libcaca --enable-libcdio --enable-libfreetype
--enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libvidstab
--enable-libwavpack --enable-libx264 --enable-libx265 --enable-libxvid --enable-libilbc --enable-libxavs --enable-opengl
--enable-libwebp --enable-avresample --enable-w32threads --extra-ldflags=-static --extra-cflags='-march=i686
-mtune=generic -mfpmath=sse -msse' --optflags='-O2 -finline-functions'
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.102 / 56. 4.102
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.101 / 5. 1.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[mjpeg @ 005372c0] Format mjpeg detected only with low score of 25, misdetection
possible!
Input #0, mjpeg, from 'mjpeg.hex':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg), 1280x720 [SAR 1:1 DAR 16:9
], 25 tbr, 1200k tbn, 25 tbc
Output #0, mp4, to 'mjpeg.mp4':
Metadata:
encoder : Lavf56.4.102
Stream #0:0: Video: mjpeg (l[0][0][0] / 0x006C), yuvj420p, 1280x720 [SAR 1:1
DAR 16:9], q=2-31, 1200k tbn, 1200k tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
frame= 163 fps=0.0 q=-1.0 Lsize= 13551kB time=00:00:06.48 bitrate=17130.7kbit
s/s
video:13549kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.010840%
More information about the ffmpeg-user
mailing list