Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (7)

  • Contribute to translation

    13 avril 2011

    You 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 (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

Sur d’autres sites (4452)

  • ffmpeg - convert MP4 to Panasonic Lumix playable MJPEG [closed]

    21 août 2024, par Maro Natts

    I'm new to ffmpeg and ffprobe, I started using it to convert videos to show on 3DS and DSi for an art project.

    


    Now I want to show my own videos on a Panasonic LUMIX digicam (DMC-FT2)(JPN), but have had trouble getting the device to play the video.

    


    The digi takes videos in AVCHD Lite and Motion JPEG.

    


    I've tried online converting mp4 to the respective formats + changing file name, but the device only recognises that it's there — refuses to/can't play it.

    


    I also tried using this code to convert to MJPEG :
ffmpeg -i input.mp4 -c:v mjpeg -q:v 2 -an output.mjpeg

    


    But no luck ! Changed the filename to match the others, the camera recognised the file is there, but can't play it.

    


    So I used this code to get the information of a MJPEG video taken on the digi :
/opt/ffmpeg/ffprobe file.mp4 -show_streams  -select_streams v  -print_format json

    


    and got the following, is it possible to convert my own video (mp4) to these settings ? So that it can play on the device ? If so how ?

    


    Thanks !

    


      Metadata:
    major_brand     : qt  
    minor_version   : 537331972
    compatible_brands: qt  pana
    creation_time   : 2024-08-21T21:54:59.000000Z
  Duration: 00:00:06.00, start: 0.000000, bitrate: 12287 kb/s
  Stream #0:0[0x1](eng): Video: mjpeg (Baseline) (jpeg / 0x6765706A), yuvj420p(pc, bt470bg/unknown/unknown), 640x480, 11083 kb/s, 30 fps, 30 tbr, 30 tbn (default)
      Metadata:
        creation_time   : 2024-08-21T21:54:59.000000Z
        vendor_id       : pana
        encoder         : Photo - JPEG
  Stream #0:1[0x2](eng): Audio: pcm_s16be (twos / 0x736F7774), 16000 Hz, 1 channels, s16, 256 kb/s (default)
      Metadata:
        creation_time   : 2024-08-21T21:54:59.000000Z
        vendor_id       : pana
    "streams": [
        {
            "index": 0,
            "codec_name": "mjpeg",
            "codec_long_name": "Motion JPEG",
            "profile": "Baseline",
            "codec_type": "video",
            "codec_tag_string": "jpeg",
            "codec_tag": "0x6765706a",
            "width": 640,
            "height": 480,
            "coded_width": 640,
            "coded_height": 480,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 0,
            "pix_fmt": "yuvj420p",
            "level": -99,
            "color_range": "pc",
            "color_space": "bt470bg",
            "chroma_location": "center",
            "refs": 1,
            "id": "0x1",
            "r_frame_rate": "30/1",
            "avg_frame_rate": "30/1",
            "time_base": "1/30",
            "start_pts": 0,
            "start_time": "0.000000",
            "duration_ts": 180,
            "duration": "6.000000",
            "bit_rate": "11083093",
            "bits_per_raw_sample": "8",
            "nb_frames": "180",
            "disposition": {
                "default": 1,
                "dub": 0,
                "original": 0,
                "comment": 0,
                "lyrics": 0,
                "karaoke": 0,
                "forced": 0,
                "hearing_impaired": 0,
                "visual_impaired": 0,
                "clean_effects": 0,
                "attached_pic": 0,
                "timed_thumbnails": 0,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "tags": {
                "creation_time": "2024-08-21T21:54:59.000000Z",
                "language": "eng",
                "vendor_id": "pana",
                "encoder": "Photo - JPEG"
            }
        }
    ]
}



    


  • Flutter error in Ffmpeg, "Unhandled Exception : ProcessException : No such file or directory" in macOS desktop version

    19 avril 2024, par pratik vekariya

    I'm trying video trim video using ffmpeg, for macOS desktop application.

    


    I have downloaded ffmpeg from here for macOS.

    


    Here is my code

    


        String mainPath = &#x27;Users/apple/Workspace/User/2024/Project/videoapp/build/macos/Build/Products/Debug/&#x27;;&#xA;        mainPath = mainPath.substring(0, mainPath.lastIndexOf("/"));&#xA;    &#xA;                  Directory directoryExe3 = Directory("$mainPath");&#xA;                  var dbPath = path.join(directoryExe3.path,&#xA;                      "App.framework/Resources/flutter_assets/assets/ffmpeg/ffmpegmacos");&#xA;//here in "Products/Debug/" folder desktop app will generate&#xA;&#xA;//directoryExe3 path will be, Users/apple/Workspace/User/2024/Project/videoapp/build/macos/Build/Products/Debug&#xA;&#xA;//and dbPath will be, Users/apple/Workspace/User/2024/Project/videoapp/build/macos/Build/Products/Debug/App.framework/Resources/flutter_assets/assets/ffmpeg/ffmpegmacos&#xA;&#xA;//so when app will run it can access it from this path&#xA;&#xA;//executable code, command for ffmpeg&#xA;&#xA;String transpose_str &#x2B;= "crop=" &#x2B;&#xA;              out_w.toInt().toString() &#x2B;&#xA;              ":" &#x2B;&#xA;              out_h.toInt().toString() &#x2B;&#xA;              ":" &#x2B;&#xA;              x!.toInt().toString() &#x2B;&#xA;              ":" &#x2B;&#xA;              y!.toInt().toString() &#x2B;&#xA;              ",";&#xA;          transpose_str &#x2B;= "scale=960:192";&#xA;&#xA;Future<processresult> result_ = Process.run(dbPath, [&#xA;                "-ss",&#xA;                timestamp,&#xA;                "-i",&#xA;                inputFilePath,&#xA;                "-t",&#xA;                endTime,&#xA;                "-vf",&#xA;                transpose_str,&#xA;                "-an",&#xA;                "./temp.mp4",&#xA;              ]); &#xA;</processresult>

    &#xA;

    Now when I run this in macOS desktop verison, it gives me error at Process.run that in dbPath, Unhandled Exception : ProcessException : No such file or directory.

    &#xA;

    Any help would be appreciate !

    &#xA;

    when i run this as desktop version it should get file from assets.

    &#xA;

  • Is there any possibility to transcode a h264 hls/m3u8 live stream into another HEVC (h265) hls/m3u8 live stream using FFmpeg in real time ?

    2 septembre 2024, par Ghenadie Pripa

    The command I used :

    &#xA;

    ffmpeg -i  https://tezaurtv.md/wp-content/uploads/live/index.m3u8 -c:v libx265 -b:v 1500k -tag:v hvc1 -c:a aac -b:a 128k -f hls -hls_time 10 -hls_list_size 10 -hls_flags delete_segments&#x2B;append_list&#x2B;program_date_time -hls_playlist_type event -hls_segment_type mpegts -hls_segment_filename "D:/BRUT/HLS/test/stream_%d.ts" -vsync 2 -rtbufsize 500M -loglevel debug D:/BRUT/HLS/test/stream.m3u8&#xA;

    &#xA;

    I tried a lot of commands and parameters but nothing helps. The experiment is on local Windows. Transcode with ffmpeg and play with FFplay.

    &#xA;

    The problem is the following : After I start stream.m3u8 to play after a few seconds the picture and sound stops. What is wrong in the FFmpeg command ?

    &#xA;

    ffmpeg version 7.0.2-full_build-www.gyan.dev Copyright (c) 2000-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;

    &#xA;

    ffplay version 7.0.2-full_build-www.gyan.dev Copyright (c) 2003-2024 the FFmpeg developers&#xA;  built with gcc 13.2.0 (Rev5, Built by MSYS2 project)&#xA;

    &#xA;

    An error from FFplay :

    &#xA;

    [hevc @ 0000023d8c320940] Output frame with POC 239.&#xA;[hevc @ 0000023d8c320940] Decoded frame with POC 241.&#xA;[hevc @ 0000023d8c320e40] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c320e40] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c320e40] Output frame with POC 240.&#xA;[hevc @ 0000023d8c320e40] Decoded frame with POC 240.&#xA;[hevc @ 0000023d855aae80] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d855aae80] nal_unit_type: 0(TRAIL_N), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d855aae80] Output frame with POC 241.&#xA;[hevc @ 0000023d855aae80] Decoded frame with POC 242.&#xA;[hevc @ 0000023d8c2cab40] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c2cab40] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c2cab40] Output frame with POC 242.&#xA;[hevc @ 0000023d8c2cab40] Decoded frame with POC 247.&#xA;[hevc @ 0000023d8c2da9c0] nal_unit_type: 35(AUD), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c2da9c0] nal_unit_type: 1(TRAIL_R), nuh_layer_id: 0, temporal_id: 0&#xA;[hevc @ 0000023d8c2da9c0] Output frame with POC 243.&#xA;[hevc @ 0000023d8c2da9c0] Decoded frame with POC 245.&#xA;[hls @ 0000023d85544b80] Opening &#x27;D:\BRUT\HLS\test\stream.m3u8&#x27; for reading&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-VERSION:3&#x27;)&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-DISCONTINUITY&#x27;)&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-PROGRAM-DATE-TIME:2024-08-30T16:29:28.175&#x2B;0300&#x27;)&#xA;[AVIOContext @ 0000023d8c327040] Statistics: 207 bytes read, 0 seeks&#xA;[hls @ 0000023d85544b80] Opening &#x27;D:\BRUT\HLS\test\stream.m3u8&#x27; for reading&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-VERSION:3&#x27;)sq=    0B&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-DISCONTINUITY&#x27;)&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-PROGRAM-DATE-TIME:2024-08-30T16:29:28.175&#x2B;0300&#x27;)&#xA;[AVIOContext @ 0000023d8c326980] Statistics: 207 bytes read, 0 seeks&#xA;[hls @ 0000023d85544b80] Opening &#x27;D:\BRUT\HLS\test\stream.m3u8&#x27; for reading&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-VERSION:3&#x27;)&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-DISCONTINUITY&#x27;)&#xA;[hls @ 0000023d85544b80] Skip (&#x27;#EXT-X-PROGRAM-DATE-TIME:2024-08-30T16:29:28.175&#x2B;0300&#x27;)&#xA;[AVIOContext @ 0000023d8c326f00] Statistics: 207 bytes read, 0 seeks&#xA;  11.30 A-V:-18.499 fd=   3 aq=    0KB vq=    0KB sq=    0B&#xA;

    &#xA;

    I tried to transcode in real time hls h264 to hls 265.

    &#xA;