
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (10)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
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 (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (4591)
-
How to resolve "runOnReady command exited with code 0" when restreaming a stream using Mediamtx ?
2 juillet 2023, par Emad HelmiI'm attempting to publish a stream to the RTMP port
1935
using affmpeg
command with Mediamtx (v0.22.2). Afterward, I want to restream the mainstream to another path using therunOnReady
command in the config file. However, I'm encountering an issue wherethe runOnReady command exits with code 0.


Steps to Replicate :


- 

- Use the provided docker-compose.yml file :




version: "3.8"

name: mediamtx
services:
 mediamtx:
 image: aler9/rtsp-simple-server:v0.22.2
 container_name: media_mtx_rtsp_server
 ports:
 - "8554:8554"
 - "1935:1935"
 - "8888:8888"
 - "8889:8889"
 - "9997:9997"
 - "8000:8000"
 volumes:
 - ./configs/mediamtx/config.yml:/mediamtx.yml
 - ../volumes/hls/segments:/hls/segments



- 

- Add the following path to the
config.yml
file :




paths:
 show/test:
 runOnReady: ffmpeg -i rtmp://localhost:1935/show/test -c copy -f flv "rtmp://localhost:1935/compressed/test"
 runOnReadyRestart: yes



- 

- Start the server using docker-compose.
- Publish an
RTMP
stream to the server using the following command :






ffmpeg -re -stream_loop -1 -i files/sample-30s.mp4 -c copy -f flv "rtmp://localhost:1935/show/test"



- 

- When I check the logs :




2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] opened
2023/07/01 15:16:30 INF [path show/test] runOnReady command started
2023/07/01 15:16:30 INF [RTMP] [conn 172.26.0.1:51044] is publishing to path 'show/test', 2 tracks (H264, MPEG4-audio-gen)
2023/07/01 15:16:30 INF [path show/test] runOnReady command exited with code 0



So I can't watch the stream on the new path (/compressed/test)


-
Android FFmpeg sometimes works and sometimes crashes
20 novembre 2013, par Pawel CalaI compiled FFmpeg for Android ( https://gitorious.org/android-ffmpeg ) but when I'm trying to do some operations ( f.e filters cropping, transpose, trim etc ) it crashes in 5 on 10 cases.
Error logs are not the same so I assume that it might be caused by memory issues.
I'm using OSX, NDK android-ndk-r9b : darwing x86_64.
Native ffmpeg method is passing args to ffmpeg.c main method. It's executed in AsyncTask in Activity.
Thanks in advanceEDIT :
I forgot to mention that programs algorithm runs like that :
Press Button - > Open Camera Intent - > Start recording - > After recording copy file to project folder ( on SD card ) - > Open edit activity + Start asynctaskEDIT2 :
Tested on HTC ONE with different video resolutionsVersion and config of ffmpeg
11-20 12:15:23.001: I/ff-log(19091): ffmpeg version 0.10.2.git
11-20 12:15:23.001: I/ff-log(19091): Copyright (c) 2000-2012 the FFmpeg developers
11-20 12:15:23.001: I/ff-log(19091): built on Nov 20 2013 12:12:46 with gcc 4.6 20120106 (prerelease)
11-20 12:15:23.001: I/ff-log(19091): configuration: --target-os=linux --cross-prefix=arm-linux-androideabi- --arch=arm --cpu=armv7-a --disable-ffplay --disable-ffserver --disable-network --disable-avdevice --enable-protocol=file --enable-hwaccel=mpeg4_vaapi --enable-hwaccel=h264_vaapi --sysroot=/Users/dpc/Developer/android-ndk-r9b/platforms/android-9/arch-arm --disable-decoder=h264_vdpau --prefix=build/armv7-a --disable-asm --enable-small --disable-everything --enable-decoder=mjpeg --enable-parser=mjpeg --enable-muxer=mp4 --enable-muxer=h264 --enable-muxer=h263 --enable-muxer=yuv4mpegpipe --enable-muxer=mov --enable-demuxer=mpegvideo --enable-demuxer=mjpeg --enable-demuxer=image2 --enable-demuxer=mp4 --enable-demuxer=aac --enable-demuxer=ac3 --enable-demuxer=mp3 --enable-demuxer=yuv4mpegpipe --enable-demuxer=mov --enable-decoder=mpegvideo --enable-decoder=mpeg4 --enable-decoder=mp3 --enable-decoder=ac3 --enable-decoder=aac --enable-decoder=h264 --enable-decoder=h263 --enable-decoder=rawvideo --enable-decoder=yuv4 --enable-decoder=png --enableSample comand :
1-20 12:15:22.991: I/FFMPEG(19091): CMD:-i file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4 -vf crop=1079:1079:0:420 -vcodec mpeg4 -sameq -acodec copy file:/storage/emulated/0/.project/videos/croppedVid.mp4
Some output errors :
1st type :
11-20 12:15:23.011: I/ff-log(19091): libavutil 51. 46.100 / 51. 46.100
11-20 12:15:23.011: I/ff-log(19091): libavcodec 54. 14.101 / 54. 14.101
11-20 12:15:23.011: I/ff-log(19091): libavformat 54. 3.100 / 54. 3.100
11-20 12:15:23.011: I/ff-log(19091): libavfilter 2. 70.100 / 2. 70.100
11-20 12:15:23.011: I/ff-log(19091): libswscale 2. 1.100 / 2. 1.100
11-20 12:15:23.011: I/ff-log(19091): libswresample 0. 11.100 / 0. 11.100
11-20 12:15:23.011: I/ff-log(19091): before parsing options
11-20 12:15:23.011: I/ff-log(19091): before parsing options
11-20 12:15:23.011: I/ff-log(19091): parse options
11-20 12:15:23.011: I/ff-log(19091): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
11-20 12:15:23.011: I/ff-log(19091): after prepare app arguments
11-20 12:15:23.011: I/ff-log(19091): ffurl_open: file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4, 1
11-20 12:15:23.011: I/ff-log(19091): ffurl_alloc: file:/storage/emulated/0/.project/videos/mac_video_tmp.mp4, 1
11-20 12:15:23.011: I/ff-log(19091): ffurl_alloc: file
11-20 12:15:23.011: I/ff-log(19091): ffurl_open alloc: 0
11-20 12:15:23.011: I/ff-log(19091): ffurl_connect
11-20 12:15:23.011: I/ff-log(19091): ffurl_open connect: 0
11-20 12:15:23.011: I/ff-log(19091): Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
11-20 12:15:23.011: I/ff-log(19091): ISO: File Type Major Brand: isom
11-20 12:15:23.021: I/ff-log(19091): File position before avformat_find_stream_info() is 8458240
11-20 12:15:23.041: A/libc(19091): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 19091 (t.android.utils)Second type :
11-20 12:17:04.800: I/ff-log(19632): libavutil 51. 46.100 / 51. 46.100
11-20 12:17:04.800: I/ff-log(19632): libavcodec 54. 14.101 / 54. 14.101
11-20 12:17:04.800: I/ff-log(19632): libavformat 54. 3.100 / 54. 3.100
11-20 12:17:04.800: I/ff-log(19632): libavfilter 2. 70.100 / 2. 70.100
11-20 12:17:04.800: I/ff-log(19632): libswscale 2. 1.100 / 2. 1.100
11-20 12:17:04.800: I/ff-log(19632): libswresample 0. 11.100 / 0. 11.100
11-20 12:17:04.800: I/ff-log(19632): before parsing options
11-20 12:17:04.800: I/ff-log(19632): before parsing options
11-20 12:17:04.800: I/ff-log(19632): parse options
11-20 12:17:04.800: I/ff-log(19632): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
11-20 12:17:04.800: I/ff-log(19632): after prepare app arguments
11-20 12:17:04.800: I/ff-log(19632): opt_output_file ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4
11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 0
11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: file
11-20 12:17:04.800: I/ff-log(19632): ffurl_open: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 2
11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4, 2
11-20 12:17:04.800: I/ff-log(19632): ffurl_alloc: file
11-20 12:17:04.800: I/ff-log(19632): ffurl_open alloc: 0
11-20 12:17:04.800: I/ff-log(19632): ffurl_connect
11-20 12:17:04.800: I/ff-log(19632): ffurl_open connect: -2
11-20 12:17:04.800: I/ff-log(19632): ffurl_open FAIL
11-20 12:17:04.800: I/ff-log(19632): ܞ�f��f��f��f���flated/0/.project/videos/mac_video_tmp.mp4: No such file or directory( CHARSER IS AS IT'S IN OUTPUT LOGCAT )
3rd type :
11-20 12:18:23.243: I/ff-log(19867): libavutil 51. 46.100 / 51. 46.100
11-20 12:18:23.243: I/ff-log(19867): libavcodec 54. 14.101 / 54. 14.101
11-20 12:18:23.243: I/ff-log(19867): libavformat 54. 3.100 / 54. 3.100
11-20 12:18:23.243: I/ff-log(19867): libavfilter 2. 70.100 / 2. 70.100
11-20 12:18:23.243: I/ff-log(19867): libswscale 2. 1.100 / 2. 1.100
11-20 12:18:23.243: I/ff-log(19867): libswresample 0. 11.100 / 0. 11.100
11-20 12:18:23.243: I/ff-log(19867): before parsing options
11-20 12:18:23.243: I/ff-log(19867): before parsing options
11-20 12:18:23.243: I/ff-log(19867): parse options
11-20 12:18:23.243: I/ff-log(19867): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
11-20 12:18:23.243: I/ff-log(19867): after prepare app arguments
11-20 12:18:23.243: I/ff-log(19867): Unknown decoder '��f('
11-20 12:18:23.243: I/ff-log(19867): exit_program 1
11-20 12:18:23.243: I/ff-log(19867): exit_program 1
11-20 12:18:23.243: I/ff-log(19867): exit_program 2
11-20 12:18:23.253: A/libc(19867): @@@ ABORTING: invalid address or address of corrupt block 0x1d3422d passed to dlfree
11-20 12:18:23.253: A/libc(19867): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 20393 (AsyncTask #2)4th type :
11-20 12:20:07.214: I/ff-log(20660): libavutil 51. 46.100 / 51. 46.100
11-20 12:20:07.214: I/ff-log(20660): libavcodec 54. 14.101 / 54. 14.101
11-20 12:20:07.214: I/ff-log(20660): libavformat 54. 3.100 / 54. 3.100
11-20 12:20:07.214: I/ff-log(20660): libavfilter 2. 70.100 / 2. 70.100
11-20 12:20:07.214: I/ff-log(20660): libswscale 2. 1.100 / 2. 1.100
11-20 12:20:07.214: I/ff-log(20660): libswresample 0. 11.100 / 0. 11.100
11-20 12:20:07.214: I/ff-log(20660): before parsing options
11-20 12:20:07.214: I/ff-log(20660): before parsing options
11-20 12:20:07.214: I/ff-log(20660): parse options
11-20 12:20:07.214: I/ff-log(20660): prepare app arguments !!! NOT defined(_WIN32) && !defined(__MINGW32CE__) !
11-20 12:20:07.214: I/ff-log(20660): after prepare app arguments
11-20 12:20:07.214: I/ff-log(20660): Unknown decoder ''
11-20 12:20:07.214: I/ff-log(20660): exit_program 1
11-20 12:20:07.214: A/libc(20660): Fatal signal 11 (SIGSEGV) at 0x2d007165 (code=1), thread 21017 (AsyncTask #2) -
Rendering video streaming in android
16 avril 2013, par user1568549I've successfully cross-compiled a c++ streaming library to the ICS platform
This library contains a sample player that uses sdl library to render the resulting decoded streams and libav for decoding that i've also succeeded to cross compile(libav ... classes) .Then, i 've made the necessary jni classes and tested it log tags it seems that everything is fine but now i want to show the result on the screen(show the real streaming not just log messages)
I am searching for the easiest way to render my video-stream (just to be sure that everything works fine)
Am i obliged to cross-compile the SDL library too ? Is it possible ? If yes is there any good tutorial ?
Is there any other solution to render directly FFmpeg decoded frames ?