
Recherche avancée
Autres articles (27)
-
Qualité du média après traitement
21 juin 2013, parLe bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5440)
-
ffmpeg static link in Visual Studio [duplicate]
24 avril 2019, par iz25This question already has an answer here :
I have build ffmpeg static library on Windows. It seems that everything completed with success. The result of build are following files :
libavcodec.a
libavdevice.a
libavfilter.a
libavformat.a
libavutil.a
libswscale.aI tried to specify above files in Linker->Input in my C++ libray project, but linking fails. Following is build output :
1>libavutil.a(samplefmt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(error.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(avstring.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(bprint.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavformat.a(id3v2.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(opt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(dict.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavutil.a(pixdesc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(qsv.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavformat.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavformat.a(aviobuf.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(utils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(ffv1enc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(exif.o) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_img_wrap
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_version_str
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_version_str
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_build_config
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_build_config
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_err_to_string
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_error
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_error
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_error_detail
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_error_detail
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_destroy
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_destroy
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_control_
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_enc_init_ver
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_enc_config_default
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_encode
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_get_cx_data
1>libavcodec.a(libvpxenc.o) : error LNK2001: unresolved external symbol _vpx_codec_vp8_cx
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_dec_init_ver
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_decode
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_get_frame
1>libavcodec.a(libvpxdec.o) : error LNK2001: unresolved external symbol _vpx_codec_vp8_dx_algo
1>libavutil.a(opt.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavutil.a(parseutils.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavcodec.a(h264_sei.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavcodec.a(ratecontrol.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavcodec.a(qsv.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavformat.a(id3v2.o) : error LNK2001: unresolved external symbol ___stdio_common_vsscanf
1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___acrt_iob_func
1>libavutil.a(log.o) : error LNK2001: unresolved external symbol ___stdio_common_vfprintfWhat could be missing here ?
-
Add project files for Visual Studio 2010 and later.
6 juillet 2014, par Erik de Castro LopoAdd project files for Visual Studio 2010 and later.
Also allows building for x86-64 Windows.
Patch-from : lvqcl <lvqcl.mail@gmail.com>
- [DH] FLAC-vs2010.sln
- [DH] examples/c/decode/file/example_c_decode_file.vcxproj
- [DH] examples/c/decode/file/example_c_decode_file.vcxproj.filters
- [DH] examples/c/encode/file/example_c_encode_file.vcxproj
- [DH] examples/c/encode/file/example_c_encode_file.vcxproj.filters
- [DH] examples/cpp/decode/file/example_cpp_decode_file.vcxproj
- [DH] examples/cpp/decode/file/example_cpp_decode_file.vcxproj.filters
- [DH] examples/cpp/encode/file/example_cpp_encode_file.vcxproj
- [DH] examples/cpp/encode/file/example_cpp_encode_file.vcxproj.filters
- [DH] src/flac/flac.vcxproj
- [DH] src/flac/flac.vcxproj.filters
- [DH] src/flac/iffscan.vcxproj
- [DH] src/flac/iffscan.vcxproj.filters
- [DH] src/libFLAC++/libFLAC++_dynamic.vcxproj
- [DH] src/libFLAC++/libFLAC++_dynamic.vcxproj.filters
- [DH] src/libFLAC++/libFLAC++_static.vcxproj
- [DH] src/libFLAC++/libFLAC++_static.vcxproj.filters
- [DH] src/libFLAC/libFLAC_dynamic.vcxproj
- [DH] src/libFLAC/libFLAC_dynamic.vcxproj.filters
- [DH] src/libFLAC/libFLAC_static.vcxproj
- [DH] src/libFLAC/libFLAC_static.vcxproj.filters
- [DH] src/metaflac/metaflac.vcxproj
- [DH] src/metaflac/metaflac.vcxproj.filters
- [DH] src/plugin_common/plugin_common_static.vcxproj
- [DH] src/plugin_common/plugin_common_static.vcxproj.filters
- [DH] src/share/getopt/getopt_static.vcxproj
- [DH] src/share/getopt/getopt_static.vcxproj.filters
- [DH] src/share/grabbag/grabbag_static.vcxproj
- [DH] src/share/grabbag/grabbag_static.vcxproj.filters
- [DH] src/share/replaygain_analysis/replaygain_analysis_static.vcxproj
- [DH] src/share/replaygain_analysis/replaygain_analysis_static.vcxproj.filters
- [DH] src/share/replaygain_synthesis/replaygain_synthesis_static.vcxproj
- [DH] src/share/replaygain_synthesis/replaygain_synthesis_static.vcxproj.filters
- [DH] src/share/utf8/utf8_static.vcxproj
- [DH] src/share/utf8/utf8_static.vcxproj.filters
- [DH] src/share/win_utf8_io/win_utf8_io_static.vcxproj
- [DH] src/share/win_utf8_io/win_utf8_io_static.vcxproj.filters
- [DH] src/test_grabbag/cuesheet/test_cuesheet.vcxproj
- [DH] src/test_grabbag/cuesheet/test_cuesheet.vcxproj.filters
- [DH] src/test_grabbag/picture/test_picture.vcxproj
- [DH] src/test_grabbag/picture/test_picture.vcxproj.filters
- [DH] src/test_libFLAC++/test_libFLAC++.vcxproj
- [DH] src/test_libFLAC++/test_libFLAC++.vcxproj.filters
- [DH] src/test_libFLAC/test_libFLAC.vcxproj
- [DH] src/test_libFLAC/test_libFLAC.vcxproj.filters
- [DH] src/test_libs_common/test_libs_common_static.vcxproj
- [DH] src/test_libs_common/test_libs_common_static.vcxproj.filters
- [DH] src/test_seeking/test_seeking.vcxproj
- [DH] src/test_seeking/test_seeking.vcxproj.filters
- [DH] src/test_streams/test_streams.vcxproj
- [DH] src/test_streams/test_streams.vcxproj.filters
- [DH] src/utils/flacdiff/flacdiff.vcxproj
- [DH] src/utils/flacdiff/flacdiff.vcxproj.filters
- [DH] src/utils/flactimer/flactimer.vcxproj
- [DH] src/utils/flactimer/flactimer.vcxproj.filters
-
Basic "pass-through" use of FFmpegReader/FFmpegWriter in scikit-video
6 février 2021, par JonathanZ supports MonicaCI am starting to use scikit-video and am having trouble writing files. I have reduced the problem to the simplest possible example


vid_file = "6710185719062326259_stamp_25pct.mp4"
output_file = "out_temp3.mp4"
reader = skvideo.io.FFmpegReader(vid_file)
writer = skvideo.io.FFmpegWriter(output_file)
for frame in reader.nextFrame():
 writer.writeFrame(frame)
writer.close()



I'm playing the files in VLC, and the
vid_file
is valid but the output file, though playable, is mostly big green blocks (though I can discern some details from the original video in it).

My goal, or course, is to do "interesting" manipulations of the frame before I write it out, but I need to get the "no modifications" version working correctly first. I'm also going to be using this on large files, so the
vread/vwrite
functions that process an entire file at once are not appropriate.

I'm guessing I need to set the appropriate values in the
outputdict
parameter for the FFmpegWriter, but there are so many that I don't know where to start. I have tried

writer = skvideo.io.FFmpegWriter(output_file, outputdict={'-crf': '0', '-pix_fmt': 'rgb24'})



(
-crf 0
to suppress any compression,-pixfmt rgb24
as that's what FFmpegReader says it delivers by default, but these don't work either.

Any ideas on how to make this work ?


Here's the
skvideo.io.ffprobe
video information for the input file.

{
 "@index": "0",
 "@codec_name": "h264",
 "@codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
 "@profile": "High",
 "@codec_type": "video",
 "@codec_time_base": "1/30",
 "@codec_tag_string": "avc1",
 "@codec_tag": "0x31637661",
 "@width": "480",
 "@height": "270",
 "@coded_width": "480",
 "@coded_height": "272",
 "@has_b_frames": "2",
 "@pix_fmt": "yuv420p",
 "@level": "21",
 "@chroma_location": "left",
 "@refs": "1",
 "@is_avc": "true",
 "@nal_length_size": "4",
 "@r_frame_rate": "15/1",
 "@avg_frame_rate": "15/1",
 "@time_base": "1/15360",
 "@start_pts": "0",
 "@start_time": "0.000000",
 "@duration_ts": "122880",
 "@duration": "8.000000",
 "@bit_rate": "183806",
 "@bits_per_raw_sample": "8",
 "@nb_frames": "120",
 "disposition": {
 "@default": "1",
 "@dub": "0",
 "@original": "0",
 "@comment": "0",
 "@lyrics": "0",
 "@karaoke": "0",
 "@forced": "0",
 "@hearing_impaired": "0",
 "@visual_impaired": "0",
 "@clean_effects": "0",
 "@attached_pic": "0",
 "@timed_thumbnails": "0"
 },
 "tag": [
 {
 "@key": "language",
 "@value": "und"
 },
 {
 "@key": "handler_name",
 "@value": "VideoHandler"
 }
 ]
}



I will mention that when I ffprobe the output file the only differences I see are 1) the timing data is different, which isn't surprising, and 2) the output file has


"@has_b_frames": "0",
 "@pix_fmt": "yuv444p",



I'm pretty confident the reader is working okay, because if I write out the data with


skimage.io.imsave('x.png', frame, check_contrast=False)



it looks good.