
Recherche avancée
Autres articles (41)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (2773)
-
Complie FFMpeg with Xcode5 preview's clang
2 août 2013, par YeungWith release of IOS7 beta, I would like to try compiling ffmpeg for ios7.
There is a lots answer like this. It use the
llvm-gcc
as compiler.However, seem like Xcode 5 would not include
llvm-gcc
. Then I have no choice but to useclang
to compile.I use the following to config :
export IOS_SDK="/Applications/Xcode5-DP4.app/Contents/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk"
./configure $CONFIG_DISABLE_FLAG $CONFIG_ENABLE_FLAG \
--arch=arm \
--target-os=darwin \
--cc=/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang \
--as='gas-preprocessor.pl /Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang' \
--ar=/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar \
--sysroot=$IOS_SDK \
--cpu=cortex-a8 \
--extra-cflags="-arch armv7 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot ${IOS_SDK} -I${IOS_SDK}/usr/include" \
--extra-ldflags="-arch armv7 -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot ${IOS_SDK} -L${IOS_SDK}/usr/lib" \
--enable-picclang
would probably not take CFLAGS other than-arch -isysroot -I
into account, but let it be.I seems it can complie but I encounter this. Actually, I don't understand the answer in this question. Using the external assembler ? Yes, the toolchains do have a assembler stated it is GNU version 1.38. Using
--as=/Application/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as
, it even cannot pass the check as test. It fall back to use'gas-preprocessor.pl $CC'
Here is the config log to cannot pass :
check_asm armv6t2 "movt r0, #0"
check_as
BEGIN /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
1 void foo(void){ __asm__ volatile("movt r0, #0"); }
END /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as --sysroot=/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch armv7 -no-cpp-precomp -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include -mcpu=cortex-a8 -fPIC -c -o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.g896h4Sb.o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
FATAL:/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/arm/as: I don't understand '-' flag!
check_asm armvfp "fadds s0, s0, s0"
check_as
BEGIN /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
1 void foo(void){ __asm__ volatile("fadds s0, s0, s0"); }
END /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as --sysroot=/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch armv7 -no-cpp-precomp -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include -mcpu=cortex-a8 -fPIC -c -o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.g896h4Sb.o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
FATAL:/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/arm/as: I don't understand '-' flag!
check_asm neon "vadd.i16 q0, q0, q0"
check_as
BEGIN /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
1 void foo(void){ __asm__ volatile("vadd.i16 q0, q0, q0"); }
END /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as --sysroot=/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch armv7 -no-cpp-precomp -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include -mcpu=cortex-a8 -fPIC -c -o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.g896h4Sb.o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
FATAL:/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/arm/as: I don't understand '-' flag!
check_asm vfpv3 "vmov.f32 s0, #1.0"
check_as
BEGIN /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
1 void foo(void){ __asm__ volatile("vmov.f32 s0, #1.0"); }
END /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as --sysroot=/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch armv7 -no-cpp-precomp -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include -mcpu=cortex-a8 -fPIC -c -o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.g896h4Sb.o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
FATAL:/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/arm/as: I don't understand '-' flag!
check_asm asm_mod_y "vmul.i32 d0, d0, %y0" :: "x"(0)
check_as
BEGIN /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
1 void foo(void){ __asm__ volatile("vmul.i32 d0, d0, %y0" :: "x"(0)); }
END /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as --sysroot=/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DPIC -arch armv7 -no-cpp-precomp -mfpu=neon -mfloat-abi=softfp -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant -isysroot /Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -I/Applications/Xcode5-DP4.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include -mcpu=cortex-a8 -fPIC -c -o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.g896h4Sb.o /var/folders/gx/_k242p6s5cb0hss_pvj4s7vh0000gn/T//ffconf.4wwSSmLm.c
FATAL:/Applications/Xcode5-DP4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../libexec/as/arm/as: I don't understand '-' flag!
check_asm gnu_as ".macro m n
\n:.int 0
.endm
m x"Yep, with config
--disable-asm
would complie but it probably not a option. -
Issue in CV_FOURCC('H', '2', '6', '4')
16 décembre 2014, par AshwinI am trying to use H264 encoding type for compressing the live streaming from Camera (which is supporting the H264 codec) am getting below -
[I am using OPENCV 3.0 beta version (latest)in windows 7 64 bit system .My camera is also supporting H264 codec (find more details below) ]
My ffmpeg code got built with h264 lib :
This build was compiled with the following external libraries :
x264 20140826-git-dd79a61 http://videolan.org/developers/x264.html**error :**
Frame size = 1280x720
Could not find encoder for codec id 28: Encoder not foundERROR: Failed to write the video
Press any key to continue . . .Below is my code :
int main(int argc, char *argv[])
{
// QApplication a(argc, argv);
VideoCapture cap(0); //capture webcam
if (!cap.isOpened()) //if not successful then exit
{
cout << "Cannot open webcam";
return -1;
}
namedWindow("Camera feed", 1); //create window
cap.set(3, 1280);
cap.set(4, 720);
double dWidth = cap.get(CV_CAP_PROP_FRAME_WIDTH); //get width of frames of video
double dHeight = cap.get(CV_CAP_PROP_FRAME_HEIGHT); //get height of frames of video
Size frameSize(static_cast<int>(dWidth), static_cast<int>(dHeight));
cout << "Frame size = " << dWidth << "x" << dHeight << endl;
VideoWriter oVideoWriter("video.avi", CV_FOURCC('X', '2', '6', '4'), 30, frameSize);
if(!oVideoWriter.isOpened())
{
cout << "ERROR: Failed to write the video" << endl;
return -1;
}
while(1)
{
Mat frame;
bool bSuccess = cap.read(frame); //read a new frame from video
if(!bSuccess) //if unsuccessful, break loop
{
cout << "Cannot read frame from video file" << endl;
break;
}
oVideoWriter.write(frame); //write the frame into the file
imshow("Camera feed", frame); //show the frame in "Live Feed" window
cout << "Recording" << endl;
if (waitKey(30) == 27)
{
cout<< "Esc key is pressed by user" << endl;
break;
}
}
return 0;
}
</int></int>Here is the proof that my camera is supporting the H264 :
C:\Users>ffmpeg -f dshow -list_options true -i video="Logitech HD Pro Webcam C920"
ffmpeg version N-66116-g720c21d Copyright (c) 2000-2014 the FFmpeg developers
built on Sep 4 2014 22:09:48 with gcc 4.8.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --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-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.100 / 56. 4.100
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 0.103 / 5. 0.103
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100
[dshow @ 0000000002faf680] DirectShow video device options
[dshow @ 0000000002faf680] Pin "Capture"
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=160x90 fps=5 max s=160x90 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=320x180 fps=5 max s=320x180 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=1920x1080 fps=5 max s=1920x1080 fps=30
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=2304x1296 fps=2 max s=2304x1296 fps=2
[dshow @ 0000000002faf680] pixel_format=bgr24 min s=2304x1536 fps=2 max s=2304x1536 fps=2
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=160x90 fps=5 max s=160x90 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=320x180 fps=5 max s=320x180 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=1920x1080 fps=5 max s=1920x1080 fps=30
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=2304x1296 fps=2 max s=2304x1296 fps=2
[dshow @ 0000000002faf680] pixel_format=yuv420p min s=2304x1536 fps=2 max s=2304x1536 fps=2
[dshow @ 0000000002faf680] vcodec=mjpeg min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=160x90 fps=5 max s=160x90 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=320x180 fps=5 max s=320x180 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0000000002faf680] vcodec=mjpeg min s=1920x1080 fps=5 max s=1920x1080 fps=30
[dshow @ 0000000002faf680] Pin "Capture"
[dshow @ 0000000002faf680] vcodec=h264 min s=640x480 fps=5 max s=640x480 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=160x90 fps=5 max s=160x90 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=160x120 fps=5 max s=160x120 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=176x144 fps=5 max s=176x144 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=320x180 fps=5 max s=320x180 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=320x240 fps=5 max s=320x240 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=352x288 fps=5 max s=352x288 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=432x240 fps=5 max s=432x240 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=640x360 fps=5 max s=640x360 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=800x448 fps=5 max s=800x448 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=800x600 fps=5 max s=800x600 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=864x480 fps=5 max s=864x480 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=960x720 fps=5 max s=960x720 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=1024x576 fps=5 max s=1024x576 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=1280x720 fps=5 max s=1280x720 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=1600x896 fps=5 max s=1600x896 fps=30
[dshow @ 0000000002faf680] vcodec=h264 min s=1920x1080 fps=5 max s=1920x1080 fps=30
video=Logitech HD Pro Webcam C920: Immediate exit requested -
Concatenate chunk containg headers to another chunk in h264
18 novembre 2014, par OrtixxI’m trying to extract thumbnails from a torrent stream by downloading the first couple of chunks to get the headers, another set of chunks from the middle and then concat them to have a single video file.
For this I’m using nodejs but I’m having trouble with the concatenation part. Obviously the headers include the length of the video so if I simply concat another chunk to the end of the headers chunk, it won’t work.
In other words, I have 2 chunks of a video file : The first one contains the headers and some material and the other one is fully composed of a video stream. I want to combine the two to form a single video file
So my question is how can I make this work properly if at all ?