Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately 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 (13384)

  • How to read errors when compiling from source code

    28 décembre 2022, par slyfox1186

    Goal :

    


    Compile multiple libraries from source code to ultimately install a fully compiled version of FFmpeg with desirable libraries attached.

    


    Problem :

    


    During the compilation, all libraries (seemingly) are successful until liblv2 is reached.

    


    Error output via terminal :

    


    building lv2 - version 1.18.10
=======================
Downloading https://lv2plug.in/spec/lv2-1.18.10.tar.xz as lv2-1.18.10.tar.bz2
... Done
Extracted lv2-1.18.10.tar.bz2
$ python3 ./waf configure --prefix=/home/jman/tmp/ffmpeg/ffmpeg-build/workspace --lv2-user
python3: can't open file '/home/jman/tmp/ffmpeg/ffmpeg-build/packages/lv2-1.18.10/./waf': [Errno 2] No such file or directory

Failed to Execute python3 ./waf configure --prefix=/home/jman/tmp/ffmpeg/ffmpeg-build/workspace --lv2-user


    


    Where I need guidance :

    


    python3: can't open file '/home/jman/tmp/ffmpeg/ffmpeg-build/packages/lv2-1.18.10/./waf': [Errno 2] No such file or directory


    


    My question :

    


    What does this part mean ?

    


    lv2-1.18.10/./waf'

specifically the part /./


    


    My best guess so far is it :

    


      

    1. obviously is looking for a directory it can't find (perhaps because it truly doesn't exist)
    2. 


    3. The missing 'waf' directory should be located inside either the "${PACKAGES}" or "${WORKSPACE}" directory.
    4. 


    


    The ${PACKAGES}" path in this script should = /home/jman/tmp/ffmpeg/ffmpeg-build/packages

    


    The ${WORKSPACE}" path in this script should = /home/jman/tmp/ffmpeg/ffmpeg-build/workspace

    


    The full build script :

    


    https://github.com/slyfox1186/ffmpeg-build-script/blob/master/scripts/build-ffmpeg

    


    I tried my best to make this worth sometimes time without giving too much info... sorry if I don't meet the expectations of this forum.

    


    Am I even close ?

    


  • pthread_frame : do not run hwaccel decoding asynchronously unless it’s safe

    24 novembre 2016, par Anton Khirnov
    pthread_frame : do not run hwaccel decoding asynchronously unless it’s safe
    

    Certain hardware decoding APIs are not guaranteed to be thread-safe, so
    having the user access decoded hardware surfaces while the decoder is
    running in another thread can cause failures (this is mainly known to
    happen with DXVA2).

    For such hwaccels, only allow the decoding thread to run while the user
    is inside a lavc decode call (avcodec_send_packet/receive_frame).

    Merges Libav commit d4a91e65.

    Signed-off-by : wm4 <nfxjfg@googlemail.com>
    Tested-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/avcodec.h
    • [DH] libavcodec/hwaccel.h
    • [DH] libavcodec/pthread_frame.c
    • [DH] libavcodec/vaapi_h264.c
    • [DH] libavcodec/vaapi_mpeg2.c
    • [DH] libavcodec/vaapi_mpeg4.c
    • [DH] libavcodec/vaapi_vc1.c
    • [DH] libavcodec/vdpau_h264.c
    • [DH] libavcodec/vdpau_hevc.c
    • [DH] libavcodec/vdpau_mpeg12.c
    • [DH] libavcodec/vdpau_mpeg4.c
    • [DH] libavcodec/vdpau_vc1.c
  • OpenCV is able to read the stream but VLC not

    25 avril 2023, par Ahmet Çavdar

    I'm trying to stream my webcam frames to an UDP address. Here is my sender code.

    &#xA;

    cmd = [&#x27;ffmpeg&#x27;, &#x27;-y&#x27;, &#x27;-f&#x27;, &#x27;rawvideo&#x27;, &#x27;-pixel_format&#x27;, &#x27;bgr24&#x27;, &#x27;-video_size&#x27;, f&#x27;{width}x{height}&#x27;, &#xA;       &#x27;-i&#x27;, &#x27;-&#x27;, &#x27;-c:v&#x27;, &#x27;mpeg4&#x27;,&#x27;-preset&#x27;, &#x27;ultrafast&#x27;, &#x27;-tune&#x27;, &#x27;zerolatency&#x27;,&#x27;-b:v&#x27;, &#x27;1.5M&#x27;,&#xA;       &#x27;-f&#x27;, &#x27;mpegts&#x27;, f&#x27;udp://@{ip_address}:{port}&#x27;]&#xA;p = subprocess.Popen(cmd, stdin=subprocess.PIPE)&#xA;camera = cv2.VideoCapture(0)&#xA;while True:&#xA;    ret, frame = camera.read()&#xA;    cv2.imshow("Sender",frame)&#xA;    if not ret:&#xA;        break&#xA;    p.stdin.write(frame.tobytes())&#xA;    p.stdin.flush()&#xA;    if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;q&#x27;):&#xA;            break&#xA;

    &#xA;

    This Python code can make stream successfully. I can read the stream with this receiver code.

    &#xA;

    q = queue.Queue()&#xA;def receive():&#xA;    cap = cv2.VideoCapture(&#x27;udp://@xxx.x.xxx.xxx:5000&#x27;)&#xA;    ret, frame = cap.read()&#xA;    q.put(frame)&#xA;    while ret:&#xA;        ret, frame = cap.read()&#xA;        q.put(frame)&#xA;def display():&#xA;    while True:&#xA;        if q.empty() != True:&#xA;            frame = q.get()&#xA;            cv2.imshow(&#x27;Receiver&#x27;, frame)&#xA;        k = cv2.waitKey(1) &amp; 0xff&#xA;        if k == 27:  # press &#x27;ESC&#x27; to quit&#xA;            break&#xA;tr = threading.Thread(target=receive, daemon=True)&#xA;td = threading.Thread(target=display)&#xA;tr.start()&#xA;td.start()&#xA;td.join()&#xA;

    &#xA;

    But I can not watch the stream from VLC. I'm going to Media->Open Network Stream->&#xA;udp ://@xxx.x.xxx.xxx:5000 to watch stream. After some seconds, the timer that located bottom left of VLC starts to increase but there are no frames in screen, just VLC icon.

    &#xA;

    I checked firewall rules, opened all ports to UDP connections. I am using my IP address to send frames and watch them.&#xA;Also, I tried other video codecs like h264, hvec, mpeg4, rawvideo.&#xA;Additionally, I tried to watch stream by using Windows Media Player but it didn't work.

    &#xA;

    What should I do to fix this issue ?

    &#xA;