Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (60)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Installation en mode standalone

    4 février 2011, par

    L’installation de la distribution MediaSPIP se fait en plusieurs étapes : la récupération des fichiers nécessaires. À ce moment là deux méthodes sont possibles : en installant l’archive ZIP contenant l’ensemble de la distribution ; via SVN en récupérant les sources de chaque modules séparément ; la préconfiguration ; l’installation définitive ;
    [mediaspip_zip]Installation de l’archive ZIP de MediaSPIP
    Ce mode d’installation est la méthode la plus simple afin d’installer l’ensemble de la distribution (...)

Sur d’autres sites (5765)

  • The RTSP stream provided by my camera is parsed properly by ffmpeg on windows but on Linux it shows:Invalid data found when processing input ? [closed]

    9 novembre 2023, par LvWei

    The RTSP stream provided by my camera is parsed properly by ffmpeg on windows but on Linux it shows:Invalid data found when processing input ?

    


    The execution logs for ffmpeg for both operating systems are as follows:

    


    Linux :

    


    Opening an input file: rtsp://admin:12345678wjc@10.11.12.143:8960/h264/ch1/sub/av_stream.
Probing rtsp score:100 size:0
[tcp @ 0x64c8480] No default whitelist set
[tcp @ 0x64c8480] Original list of addresses:
[tcp @ 0x64c8480] Address 10.11.12.143 port 8960
[tcp @ 0x64c8480] Interleaved list of addresses:
[tcp @ 0x64c8480] Address 10.11.12.143 port 8960
[tcp @ 0x64c8480] Starting connection attempt to 10.11.12.143 port 8960
[tcp @ 0x64c8480] Successfully connected to 10.11.12.143 port 8960
[rtsp @ 0x64c5840] Sending:
OPTIONS rtsp://10.11.12.143:8960/h264/ch1/sub/av_stream RTSP/1.0
CSeq: 1
User-Agent: Lavf60.3.100

--
[rtsp @ 0x64c5840] ret=-104 c=00 [rtsp://admin:password@10.11.12.143:8960/h264/ch1/sub/av_stream: Invalid data found when processing input


    


    Windows :

    


    [tcp @ 000001c07a8ddd00] No default whitelist set
[tcp @ 000001c07a8ddd00] Original list of addresses:
[tcp @ 000001c07a8ddd00] Address 10.11.12.143 port 8960
[tcp @ 000001c07a8ddd00] Interleaved list of addresses:
[tcp @ 000001c07a8ddd00] Address 10.11.12.143 port 8960
[tcp @ 000001c07a8ddd00] Starting connection attempt to 10.11.12.143 port 8960
[tcp @ 000001c07a8ddd00] Successfully connected to 10.11.12.143 port 8960
[rtsp @ 000001c07a8da480] Sending:
OPTIONS rtsp://10.11.12.143:8960/h264/ch1/sub/av_stream RTSP/1.0
CSeq: 1
User-Agent: Lavf60.15.100

--
[rtsp @ 000001c07a8da480] ret=1 c=52 [R]
[rtsp @ 000001c07a8da480] ret=1 c=54 [T]
[rtsp @ 000001c07a8da480] ret=1 c=53 [S]
[rtsp @ 000001c07a8da480] ret=1 c=50 [P]
[rtsp @ 000001c07a8da480] ret=1 c=2f [/]
[rtsp @ 000001c07a8da480] ret=1 c=31 [1]
[rtsp @ 000001c07a8da480] ret=1 c=2e [.]
[rtsp @ 000001c07a8da480] ret=1 c=30 [0]
[rtsp @ 000001c07a8da480] ret=1 c=20 [ ]
[rtsp @ 000001c07a8da480] ret=1 c=32 [2]
[rtsp @ 000001c07a8da480] ret=1 c=30 [0]
    Last message repeated 1 times
[rtsp @ 000001c07a8da480] ret=1 c=20 [ ]
[rtsp @ 000001c07a8da480] ret=1 c=4f [O]
[rtsp @ 000001c07a8da480] ret=1 c=4b [K]
[rtsp @ 000001c07a8da480] ret=1 c=0d [
]
[rtsp @ 000001c07a8da480] ret=1 c=0a [
]
[rtsp @ 000001c07a8da480] line='RTSP/1.0 200 OK'


    


    windows下完整执行日志链接:
https://cowtransfer.com/s/b69b55e743c244 点击链接查看 [ windows_log.txt ] ,或访问奶牛快传 cowtransfer.com 输入传输口令 bsp0fk 查看;

    


    Why is this happening ? What causes parsing failures on linux systems ?感谢各位大佬!!!

    


  • ffmpeg processing error but mp4 vieawable in VLC & Daum [closed]

    10 octobre 2023, par user3303579

    I downloaded mp4 file using Video Download Heleper. I am able to watch this file using VLC & Daum players but I am not able to see an image as a preview in Windows Explorer. I tried to process this file in ffmpeg using command (ffmpeg v 6.0 and ffmppeg night batch)
ffmpeg -i input.mp4 -copy output.mp4
but I get following error :

    


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0000021f0a60a5c0] Invalid sample size -6
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000021f0a60a5c0] error reading header
[in#0 @ 0000021f0a60a480] Error opening input : Invalid data found when processing input
Error opening input file input.mp4.
Error opening input files : Invalid data found when processing input

    


    I tried to analyze this file using Media Info and I got following :

    


    General
Complete name : D :\input.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/avc1/mp41)
File size : 1.71 GiB
Duration : 4 h 11 min
Overall bit rate mode : Variable
Overall bit rate : 975 kb/s
Frame rate : 29.970 FPS

    


    Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3.1
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, Reference frames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 4 h 11 min
Source duration : 4 h 11 min
Bit rate : 869 kb/s
Width : 864 pixels
Original width : 852 pixels
Height : 468 pixels
Original height : 480 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 29.970 FPS
Minimum frame rate : 5.994 FPS
Maximum frame rate : 120.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.072
Stream size : 1.52 GiB (89%)
Source stream size : 1.52 GiB (89%)
Writing library : x264 core 164 r3106 eaa68fa
Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=15 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=150 / keyint_min=76 / scenecut=0 / intra_refresh=0 / rc_lookahead=20 / rc=crf / mbtree=1 / crf=25.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
mdhd_Duration : 15065532
Codec configuration box : avcC

    


    Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 4 h 9 min
Source duration : 4 h 11 min
Bit rate mode : Variable
Bit rate : 2 394 kb/s
Nominal bit rate : 96.3 kb/s
Maximum bit rate : 6 025 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 4.17 GiB
Source stream size : 4.17 GiB
mdhd_Duration : 14956507
Errors : Missing ID_END

    


    I tried to use ffmpeg and it return error. Avidemux just crashed

    


    I also tried ffmpeg -v error and ffprobe -show_streams and got the dame error

    


    I even re-download this file using VDH but I got absolutely the same file

    


  • ffmpeg receiving a rtp h264 video stream : invalid data found when processing input [closed]

    6 octobre 2023, par JK2018

    I am trying to play a video with ffmpeg that is being sent by a Gstreamer pipeline over udp.

    


    Here is the Gstreamer pipeline that sends a test video :
gst-launch-1.0 videotestsrc ! videoscale ! video/x-raw,width=320,height=240 ! videoconvert ! x264enc tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1 port=45005

    


    In a second terminal window i run this ffmpeg pipeline in order to show the video :
ffmpeg -i udp://127.0.0.1:45005 -f sdl "Video Player"

    


    I get the following error : Error opening input : Invalid data found when processing input
Error opening input file udp ://127.0.0.1:45005.

    


    This is a minimalistic example.

    


    In my project, both pipelines run on separate devices. It would have been easier if I could use a Gstreamer pipeline to read the video but I must use ffmpeg unfortunately.