
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (89)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)
Sur d’autres sites (7369)
-
ffmpeg - how to pass all streams audio/tmcd, etc from input->output unchanged
22 avril 2021, par QRrabbitPlease help me, with hopefully specific ffmpeg arguments to include in my video encoding.


My work is only related to video stream, so this is the only one I'm changing.
I receive a .mov file(s) that have already been pre-compiled for a specific broadcaster, some of those selfcontained videos have 4 streams (1 video, 2 audio, and some other timecode stream). Others have up to 17 streams : 1-video, 15-audio streams and the final one is unsupported tmcd.


My process pipeline includes only re-encoding/re-processing video stream, and everything else I need to pass along to the output file - all other streams without any changes or alterations.


During this step of encoding, I insert icon.png into position 5:21 from sec 2-3, from 4-5, and from 6-8. To achieve this, I use map option, so my encoding string looks like this :


ffmpeg -i in.mov -i icon.png -i icon.png -i icon.png
 -filter_complex " [0][1]overlay=5:21:enable='between(t,2,3)'[v1];
 [v1][2]overlay=5:21:enable='between(t,4,5)'[v2];
 [v2][3]overlay=5:21:enable='between(t,6,8)'[v3]" -map '[v3]' -map 0:a
 -c:v dvvideo -pix_fmt yuv422p -b:v 115084915 -maxrate 115084915 -minrate 115084915 -r 29.97 -top 1 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -vtag dvh6
 -c:a copy -c:s copy -y out.mov



The problem is that the out.mov only shows with 2 streams instead of 17 (1-video, and 2-audio). All other 15 streams are truncated completely.
Reading some other stackoverflow posts I found a way to transfer all other streams, is by using -map 0 :


But as I tried adding -map 0 on my last line :


...
 -map 0 -c:a copy -c:s copy -y out.mov



but this doubles the number of streams from 17 to 34 - also double in output file size.
If I remove map '[v3]' -map 0:a from my original encoding string and only include -map 0, I get correct number of streams, but, of course icon.png is not getting inserted at the right time. What should I do ?


If there's a way to re-map my -filter_complex to overlay images without using this -map option ? Or, be specific at what each -map referring to ?


If not, what other arguments/parameters can I use, if such option even exists, to copy all streams, subs and all other audio, potentially some other signal for audio impairment, if such exists.


Please help, so I can finally wrap my output and submit my work.


EDIT 1 :
Here's my output :


ffprobe version N-99345-g904ab5365c Copyright (c) 2007-2020 the FFmpeg developers
 built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 configuration: --enable-filter=qrrabbit --enable-opengl --enable-gpl --enable-libx264 --extra-libs='-lqrencode -lpthread'
 libavutil 56. 59.100 / 56. 59.100
 libavcodec 58.106.100 / 58.106.100
 libavformat 58. 58.100 / 58. 58.100
 libavdevice 58. 11.102 / 58. 11.102
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mov':
 Metadata:
 major_brand : qt 
 minor_version : 512
 compatible_brands: qt 
 creation_time : 2020-02-29T22:07:42.000000Z
 encoder : Lavf58.58.100
 Duration: 00:00:20.05, start: 0.000000, bitrate: 133544 kb/s
 Stream #0:0: Video: dvvideo (dvh6 / 0x36687664), yuv422p(bt709, top first), 1280x1080 [SAR 3:2 DAR 16:9], 115084 kb/s, 29.97 fps, 29.97 tbr, 11988 tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : VideoHandler
 encoder : Lavc58.106.100 dvvideo
 timecode : 00:00:00;00
 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:14(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:15(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:16(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 Stream #0:17(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : VideoHandler
 timecode : 00:00:00;00
Unsupported codec with id 0 for input stream 17



and here's ffprobe from the input file :


ffprobe version N-99345-g904ab5365c Copyright (c) 2007-2020 the FFmpeg developers
 built with Apple LLVM version 10.0.0 (clang-1000.11.45.5)
 configuration: --enable-filter=qrrabbit --enable-opengl --enable-gpl --enable-libx264 --extra-libs='-lqrencode -lpthread'
 libavutil 56. 59.100 / 56. 59.100
 libavcodec 58.106.100 / 58.106.100
 libavformat 58. 58.100 / 58. 58.100
 libavdevice 58. 11.102 / 58. 11.102
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mov':
 Metadata:
 major_brand : qt 
 minor_version : 537199360
 compatible_brands: qt 
 creation_time : 2020-02-29T22:07:42.000000Z
 Duration: 00:00:20.05, start: 0.000000, bitrate: 133935 kb/s
 Stream #0:0(eng): Video: dvvideo (dvh6 / 0x36687664), yuv422p(bt709, top coded first (swapped)), 1280x1080 [SAR 3:2 DAR 16:9], 115084 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 29.97 tbc (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Video Media Handler
 encoder : DVCPRO HD 1080i60
 timecode : 00:00:00;00
 Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:2(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:3(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:4(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:5(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:6(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:7(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:8(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:9(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:10(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:11(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:12(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:13(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:14(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:15(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:16(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Apple Sound Media Handler
 timecode : 00:00:00;00
 Stream #0:17(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
 Metadata:
 creation_time : 2020-02-29T22:07:42.000000Z
 handler_name : Time Code Media Handler
 timecode : 00:00:00;00
Unsupported codec with id 0 for input stream 17



-
Wrong second count for blackdetect filter in ffprobe
10 avril 2016, par JabbI issue this command on a 8 minutes 20 seconds video in order to detect blackframes.
root@ubuntu:/home/hts# ffprobe -f lavfi -i "movie=test.ts,blackdetect[out0]" -show_entries tags=lavfi.black_start,lavfi.black_end -of default=nw=1
I am expecting to get proper seconds back from ffprobe indicating where the blackframes are.
Instead I receive very very high numbers.
I need to mention that I cut this video from the end of a larger stream using tail. The stream is configured to add a keyframe every 0.5 seconds. Could this be the reason ? And how could I cope with this ?
ffprobe version git-2016-03-31-54ccaae Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 --enable-libmfx
libavutil 55. 19.100 / 55. 19.100
libavcodec 57. 33.100 / 57. 33.100
libavformat 57. 29.101 / 57. 29.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 40.102 / 6. 40.102
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
[h264 @ 0x3222100] non-existing PPS 0 referenced
Last message repeated 1 times
[h264 @ 0x3222100] decode_slice_header error
[h264 @ 0x3222100] no frame!
Input #0, lavfi, from 'movie=test.ts,blackdetect[out0]':
Duration: N/A, start: 78576.400000, bitrate: N/A
Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x256 [SAR 1:1 DAR 5:4], 25 fps, 25 tbr, 90k tbn, 90k tbc
TAG:lavfi.black_start=78681.9
TAG:lavfi.black_end=78682
TAG:lavfi.black_start=78720.5
TAG:lavfi.black_end=78721.1
TAG:lavfi.black_start=78761.4
TAG:lavfi.black_end=78762.6
TAG:lavfi.black_start=78770.9
TAG:lavfi.black_end=78771
TAG:lavfi.black_start=78781
TAG:lavfi.black_end=78781.2
TAG:lavfi.black_start=78801.2
TAG:lavfi.black_end=78801.4
TAG:lavfi.black_start=78821.4
TAG:lavfi.black_end=78821.5
TAG:lavfi.black_start=78851.5
TAG:lavfi.black_end=78851.7
TAG:lavfi.black_start=78871.7
TAG:lavfi.black_end=78871.8
TAG:lavfi.black_start=78891.8
TAG:lavfi.black_end=78892
TAG:lavfi.black_start=78919
TAG:lavfi.black_end=78919.2
TAG:lavfi.black_start=78949.2
TAG:lavfi.black_end=78949.3
TAG:lavfi.black_start=78979.3
TAG:lavfi.black_end=78979.5
TAG:lavfi.black_start=78999.5
TAG:lavfi.black_end=78999.6
TAG:lavfi.black_start=79022.6
TAG:lavfi.black_end=79022.8
TAG:lavfi.black_start=79042.8
TAG:lavfi.black_end=79043
TAG:lavfi.black_start=79063
TAG:lavfi.black_end=79063.1
[h264 @ 0x3260360] concealing 284 DC, 284 AC, 284 MV errors in P frame -
building c++ code into a shared library
11 avril 2016, par gauravI have some c++ code which i use as shared library in a java application.My c++ code uses some libraries like ffmpeg and boost. and ffmpeg libraries in turn depend on libx264. my first question is - can i build my c++ into a "fat" shared library which contains all the symbols from all libraries used so that on a new machine if i just copy the fat .so file everything works.
If thats not possible then can you help me fix my current build process. This is what i am doing currently -1)on a local VM(ubuntu 64) i compile ffmpeg code using -fPIC flag and install h264 and boost using apt-get commands.
2) on the same VM i compile my code using make file which looks like this-INCLUDES = -I/opt/ffmpeg/include -I/usr/lib/jvm/java-7-openjdk- amd64/include -I/usr/lib/jvm/java-7-openjdk-amd64/include/linux
LDFLAGS = -L/home/ubuntu/ffmpeg_shared
LIBRARIES = -lavformat -lavcodec -lswscale -lavutil -lpthread -lx264 -lboost_system -lboost_thread -lboost_chrono
CC = g++ -std=c++11 -fPIC
all:clean final
final:Api.o ImageSequence.o OverlayAnimation.o Utils.o ImageFrame.o
$(CC) -o final.so Api.o ImageSequence.o OverlayAnimation.o Utils.o ImageFrame.o $(LDFLAGS) $(LIBRARIES) -shared3) on a new machine where java app will run. i install h264 and boost using apt-get commands and copy ffmpeg’s compiled library files to /usr/local/lib.
4) copy the final.so file to this new machine. but when the java code tries to use the final.so file i see it tries to use wierdly named files. for example - it tries to find libavcodec.so.57 , libavformat.so.57 etc. to fix this i just created a copy of these files ie libavcodec.so copied to libavcodec.so.57.
5)But these ffmpeg libraries in turn uses a differently named lib264.so file. on my new machine the apt-get command for x264 installed a file named libx264.so.148 but one of ffmpeg libraries is searching for file libx264.so.142 even if i rename this libx264.so file i get new errors where ffmpeg libraries tries to call libx264’s methods which has these numbers attached.
6) at this time the only working option for me is to bring the c++ code on every new machine and build final.so file locally. this is something i want to avoid since i want to distribute the .so file along with jar file to my clients which they can easily use without having to build and install stuff.