
Recherche avancée
Autres articles (28)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras. -
Les images
15 mai 2013
Sur d’autres sites (1646)
-
No Implementation Found for init method in Youtube Live Streaming Watch me project
17 mai 2017, par BashaI am new to android development.presently I am Working on Youtube Live Streaming and downloaded watchMe project.I am getting the error in my class where I used to load FFMPEG libffmpeg.so file and the error was cannot resolve "init" method. and getting error while running the application as below
java.lang.UnsatisfiedLinkError: No implementation found for boolean com.google.sai.apps.watchme.Ffmpeg.init(int, int, int, java.lang.String) (tried Java_com_google_sai_apps_watchme_Ffmpeg_init and Java_com_google_sai_apps_watchme_Ffmpeg_init__IIILjava_lang_String_2)
at com.google.sai.apps.watchme.Ffmpeg.init(Native Method)
at com.google.sai.apps.watchme.VideoStreamingConnection.open(VideoStreamingConnection.java:71)
at com.google.sai.apps.watchme.StreamerService.startStreaming(StreamerService.java:73)
at com.google.sai.apps.watchme.StreamerActivity.startStreaming(StreamerActivity.java:163)
at com.google.sai.apps.watchme.StreamerActivity.access$200(StreamerActivity.java:39)
at com.google.sai.apps.watchme.StreamerActivity$1.onServiceConnected(StreamerActivity.java:55)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1223)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1240)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5438)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:762)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:652)
05-17 11:31:41.415 23434-25678/com.google.sai.apps.watchme E/ImageFetcher: Error in downloadBitmap - java.io.FileNotFoundException: https://i.ytimg.com/vi/FFvfpXcOpYk/default_live.jpgand FFMPEG class was
public class Ffmpeg {
static {
System.loadLibrary("ffmpeg");
}
public static native boolean init(int width, int height, int audio_sample_rate, String rtmpUrl);
public static native void shutdown();
// Returns the size of the encoded frame.
public static native int encodeVideoFrame(byte[] yuv_image);
public static native int encodeAudioFrame(short[] audio_data, int length);
}please someone help me.
-
Video converted with FFMPEG cannot be played
20 mai 2023, par EugeneHI am developing a function that converts RTSP files to HLS and displays them in a web browser (chrome).
Development is node.js, I am using ffmpeg.


The part that is converted to HLS and displayed on the screen plays well without any problems.
Video cannot be played the moment the folder is changed for file management.


This is the existing working ffmpeg code and m3u8 code.


ffmpeg -rtsp_transport tcp -i rtsp://210.99.70.120:1935/live/cctv001.stream -c:v copy -f hls -hls_time 1 -hls_segment_type mpegts -hls_flags delete_segments+independent_segments+omit_endlist -hls_list_size 0 -master_pl_name playlist.m3u8 -hls_segment_filename /Users/name/Movies/cam/1/hls/1684560902700_%06d.ts -var_stream_map v:0 /Users/name/Movies/cam/1/hls/1684560902700_playlist.m3u8

Local Path : /Users/name/Movies/cam/1/hls/1684560902700_playlist.m3u8
EndPoint : http://localhost:3000/video/cam/1/hls/1684560902700_playlist.m3u8
 #EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-INDEPENDENT-SEGMENTS
#EXTINF:2.000000,
1684560902700_000000.ts
#EXTINF:1.969000,
1684560902700_000001.ts
#EXTINF:2.000000,
1684560902700_000002.ts
#EXTINF:2.015000,
1684560902700_000003.ts



This is the ffmpeg code and the m3u8 code with the path added.(Video not played)


ffmpeg -rtsp_transport tcp -i rtsp://210.99.70.120:1935/live/cctv001.stream -c:v copy -f hls -hls_time 1 -hls_segment_type mpegts -hls_flags delete_segments+independent_segments+omit_endlist -hls_list_size 0 -master_pl_name playlist.m3u8 -hls_segment_filename /Users/name/Movies/cam/1/hls/1684561736286/cam_%06d.ts -var_stream_map v:0 /Users/name/Movies/cam/1/hls/1684561736286/playlist.m3u8

Local Path : /Users/name/Movies/cam/1/hls/1684561736286/playlist.m3u8
EndPoint : http://localhost:3000/video/cam/1/hls/1684561736286/playlist.m3u8
#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-INDEPENDENT-SEGMENTS
#EXTINF:1.986000,
cam_000000.ts
#EXTINF:1.984000,
cam_000001.ts
#EXTINF:2.000000,
cam_000002.ts
#EXTINF:2.000000,
cam_000003.ts



The difference is the file name and the folder created one step further.


If you change POSIX from file name to folder name, you will not know the problem of not playing the video.
Can someone please explain this ?


-
How to avoid the "text relocation" error by ffmpeg library on Android x86
16 octobre 2017, par Tank2005My environment is Qt 5.9 for Android on Windows 10 64bit. NDK is r10e and SDK Level is 16(Those sdks are recommended version by Qt development team).
I built a ffmpeg 3.4 source code as .so files on Ubuntu 16.04.3 LTS. Those library has no error on ARM architecture Android. But, on x86 Emulator, "Text realocations" alart is shown like this.
I rewrite configure with "disable-asm, disable-yasm" referd from this site’s old posts.
This hereby removed some errors. But only one library has a problem.
I also tried the method of deleting "strtod.o", But it seems no effect. My current build configure is that. Does anyone know a better way ?
#!/bin/bash
NDK=/home/my/data/ndk
SYSROOT=$NDK/platforms/android-14/arch-x86/
TOOLCHAIN=$NDK/linux-x86-48
CPU=x86
PREFIX=$(pwd)/android/x86
PATH=$TOOLCHAIN/bin:$PATH
function build_one
{
./configure \
--cc="$TOOLCHAIN/bin/i686-linux-android-gcc-4.8" \
--enable-cross-compile \
--target-os=linux \
--arch=x86 \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--disable-avdevice \
--disable-doc \
--disable-encoders \
--disable-decoders \
--enable-decoder=h264 \
--enable-decoder=aac \
--disable-protocols \
--disable-demuxers \
--disable-muxers \
--disable-filters \
--disable-network \
--disable-ffplay \
--disable-ffmpeg \
--disable-ffprobe \
--disable-ffserver \
--enable-parsers \
--cross-prefix=i686-linux-android- \
--enable-cross-compile \
--target-os=linux \
--arch=x86 \
--disable-doc \
--sysroot=$SYSROOT \
--disable-x86asm -disable-yasm --enable-pic \
--extra-cflags="-std=c99 -O3 -Wall -fpic -pipe -DANDROID -DNDEBUG -march=atom -msse3 -ffast-math -mfpmath=sse" \
--extra-ldflags='-lm -lz -Wl,--no-undefined -Wl,-z,noexecstack' \
$ADDITIONAL_CONFIGURE_FLAG
make clean
rm -f $(pwd)/compat/strtod.o
rm -f $(pwd)/compat/strtod.d
make
make install
}
build_one