Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (57)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9056)

  • ffmpeg produces "is_avc" = false with h264_nvenc & tee muxer

    14 août 2018, par Areeb111

    I am using ffmpeg for encoding MKV (Matroska Video files) to 2x MP4 (H264 - 720p Main@L4) & (H264 - 360p Baseline@L3.1).

    Having really strange problem when using -c:v h264_nvenc and tee muxer then the produced output file is having is_avc=false even i have checked the same input matroska file with another server running with Intel QuickSync -c:v h264_qsv with the same command then the produced output file is is_avc=true.

    The main goal that i want the is_avc=true is because the files must be played using nginx-vod-module which requires the AVC video format to be streamed.

    Steps to reproduce the problem :

    • Custom ffmpeg build with NVENC support ffmpeg version N-91182-gbdf1bbd Copyright (c) 2000-2018 the FFmpeg developers   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-28)
    • ffprobe version 4.0.2-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2007-2018 the FFmpeg developers
    • Running ffmpeg command line with NVENC and tee muxer
      /root/ffmpeg  -y -t 00:00:50 -i "testinput.mkv" -filter_complex "[0:v]split=2[s0][s1];[s0]scale=-2:720[v0];[s1]scale=-2:360[v1]" -map "[v0]" -map "[v1]" -map 0:a -c:v h264_nvenc -b:v:0 1100k -b:v:1 600k -profile:v:0 main -profile:v:1 baseline -level:v:0 4 -level:v:1 3.1 -ac 2 -c:a aac -b:a 128k -af "aresample=async=1000:first_pts=0"  -f tee "[select=\'v:0,a\']testoutput.mp4|[select=\'v:1,a\']testoutput-360.mp4"
    • Running ffprobe for the output file to check "is_avc" :
      ./ffprobe -v quiet -print_format json -show_format -show_streams testoutput.mp4
    • My current ffprobe output results are :

      ./ffprobe -v quiet -print_format json -show_format -show_streams testoutput.mp4
      {
         "streams": [
             {
                 "index": 0,
                 "codec_name": "h264",
                 "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
                 "profile": "Main",
                 "codec_type": "video",
                 "codec_time_base": "1001/48000",
                 "codec_tag_string": "avc1",
                 "codec_tag": "0x31637661",
                 "width": 1280,
                 "height": 720,
                 "coded_width": 1280,
                 "coded_height": 720,
                 "has_b_frames": 0,
                 "sample_aspect_ratio": "1:1",
                 "display_aspect_ratio": "16:9",
                 "pix_fmt": "yuv420p",
                 "level": 40,
                 "chroma_location": "left",
                 "refs": 1,
                 "is_avc": "false",
                 "nal_length_size": "0",
                 "r_frame_rate": "24000/1001",
                 "avg_frame_rate": "24000/1001",
                 "time_base": "1/24000",
                 "start_pts": 984,
                 "start_time": "0.041000",
                 "duration_ts": 1201200,
                 "duration": "50.050000",
                 "bit_rate": "845035",
                 "bits_per_raw_sample": "8",
                 "nb_frames": "1199",
                 "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
                 },
                 "tags": {
                     "language": "und",
                     "handler_name": "VideoHandler"
                 }
             },
             {
                 "index": 1,
                 "codec_name": "aac",
                 "codec_long_name": "AAC (Advanced Audio Coding)",
                 "profile": "LC",
                 "codec_type": "audio",
                 "codec_time_base": "1/48000",
                 "codec_tag_string": "mp4a",
                 "codec_tag": "0x6134706d",
                 "sample_fmt": "fltp",
                 "sample_rate": "48000",
                 "channels": 2,
                 "channel_layout": "stereo",
                 "bits_per_sample": 0,
                 "r_frame_rate": "0/0",
                 "avg_frame_rate": "0/0",
                 "time_base": "1/48000",
                 "start_pts": 0,
                 "start_time": "0.000000",
                 "duration_ts": 2401488,
                 "duration": "50.031000",
                 "bit_rate": "129153",
                 "max_bit_rate": "129153",
                 "nb_frames": "2346",
                 "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
                 },
                 "tags": {
                     "language": "ger",
                     "handler_name": "SoundHandler"
                 }
             }
         ],
         "format": {
             "filename": "Leonmusssterben20171080p.mp4",
             "nb_streams": 2,
             "nb_programs": 0,
             "format_name": "mov,mp4,m4a,3gp,3g2,mj2",
             "format_long_name": "QuickTime / MOV",
             "start_time": "0.000000",
             "duration": "50.031000",
             "size": "6116472",
             "bit_rate": "978029",
             "probe_score": 100,
             "tags": {
                 "major_brand": "isom",
                 "minor_version": "512",
                 "compatible_brands": "isomiso2avc1mp41",
                 "encoder": "Lavf58.17.100"
             }
         }
      }

    Please anyone can help me why is the output video file is getting "is_avc=false" ?

    Is there any option to force it ?

    Thank you

  • "Error configuring filters" FFmpeg issue while using Vogon

    8 juillet 2018, par Jk425

    Prerequisites :

    vogon, python 2.7, ffmpeg 2.3.6(newer versions caused + one more error :
    "Error configuring complex filters" due to vogon outdate itself, i
    suppose)

    sample_project/
       ├── adwords_video_csv.py
       ├── adwords_video_csv.pyc
       ├── assets
       │   ├── car_ad.mp4
       │   ├── README.txt
       │   └── vogon.png
       ├── edit_config.py
       ├── output
       │   └── README.txt
       ├── sample.csv
       ├── sample.json
       ├── sample_win.json
       ├── vogon.py
       ├── vogon.pyc
       ├── yt_upload.py
       └── yt_upload.pyc

    Getting such a message after executing command :

    python vogon.py sample.json --noauth_local_webserver
    Input #1, image2, from 'assets/vogon.png':
     Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
       Stream #1:0: Video: png, rgba, 400x223 [SAR 2835:2835 DAR 400:223], 25 tbr, 25 tbn, 25 tbc
    [Parsed_movie_1 @ 0x1b35480] Failed to avformat_open_input '/tmp/vogon_Ql9UW7.gif'
    [AVFilterGraph @ 0x1af08e0] Error initializing filter 'movie' with args '/tmp/vogon_Ql9UW7.gif'
    Error configuring filters.
    vogon.py -h:

    positional arguments:
     config_file           Configuration JSON file

    optional arguments:
     -h, --help            show this help message and exit
     --auth_host_name AUTH_HOST_NAME
                           Hostname when running a local web server.
     --noauth_local_webserver
                           Do not run a local web server.
     --auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT ...]]
                           Port web server should listen on.
     --logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                           Set the logging level of detail.
     --youtube_upload      Upload generated videos to YouTube
     --preview_line PREVIEW_LINE
                           Generate only one video, for the given CSV line number

    Makes me think it is an ffmgep issue. What could it be ?

  • ffmpeg ... "Impossible to convert between the formats supported by the filter"

    27 novembre 2017, par hydra3333

    Using the latest ffmpeg master built as at 2017.11.26, I’m having trouble deciphering what the error messages means and, more importantly, what to do about them.

    Changing from -vf to -filter_complex did nothing (I had to try).
    The main error message seems to be

    Impossible to convert between the formats supported by the filter

    I have tried to insert "format=" and "scale" before/between/after yadif and unsharp_opencl but to no avail.

    I wonder, could it be something to do with needing hwupload/hwdownload/hwmap or is that a red herring ?

    What am I doing wrong ?

    ".\ffmpeg_3.latest_master.exe" -hide_banner -v verbose -init_hw_device opencl=ocl:1.0 -filter_hw_device ocl -i ".\test_01.mpg" -an -map_metadata -1 -sws_flags lanczos+accurate_rnd+full_chroma_int+full_chroma_inp -filter_complex "[0:v]yadif=0:0:0,scale=flags=lanczos+accurate_rnd+full_chroma_int+full_chroma_inp,unsharp_opencl=lx=3:ly=3:la=0.5:cx=3:cy=3:ca=0.5,setdar=dar=16/9" -r 25 -c:v h264_nvenc -preset slow -bf 2 -g 50 -refs 3 -rc:v vbr_hq -rc-lookahead:v 32 -cq 22 -qmin 16 -qmax 25 -coder cabac -movflags +faststart -profile:v high -level 4.1 -pixel_format yuv420p -y ".\test_01.newest.MP4"
    [AVHWDeviceContext @ 0000020e229aad40] 1.0: NVIDIA CUDA / GeForce GTX 750 Ti
    [AVHWDeviceContext @ 0000020e229aad40] DXVA2 to OpenCL mapping function found (clCreateFromDX9MediaSurfaceKHR).
    [AVHWDeviceContext @ 0000020e229aad40] DXVA2 in OpenCL acquire function found (clEnqueueAcquireDX9MediaSurfacesKHR).
    [AVHWDeviceContext @ 0000020e229aad40] DXVA2 in OpenCL release function found (clEnqueueReleaseDX9MediaSurfacesKHR).
    [AVHWDeviceContext @ 0000020e229aad40] The cl_khr_d3d11_sharing extension is required for D3D11 to OpenCL mapping.
    [AVHWDeviceContext @ 0000020e229aad40] D3D11 to OpenCL mapping not usable.
    [mpeg @ 0000020e229ae240] max_analyze_duration 5000000 reached at 5000000 microseconds st:0
    Input #0, mpeg, from '.\test_01.mpg':
     Duration: 00:06:29.96, start: 0.240000, bitrate: 2799 kb/s
       Stream #0:0[0x1e0]: Video: mpeg2video (Main), 1 reference frame, yuv420p(tv, top first, left), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
    [Parsed_scale_1 @ 0000020e29951a20] w:iw h:ih flags:'lanczos+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
    Stream mapping:
     Stream #0:0 (mpeg2video) -> yadif
     setdar -> Stream #0:0 (h264_nvenc)
    Press [q] to stop, [?] for help
    [Parsed_scale_1 @ 0000020e29cccda0] w:iw h:ih flags:'lanczos+accurate_rnd+full_chroma_int+full_chroma_inp' interl:0
    [graph 0 input from stream 0:0 @ 0000020e29ccc980] w:720 h:576 pixfmt:yuv420p tb:1/90000 fr:25/1 sar:64/45 sws_param:flags=2
    [auto_scaler_0 @ 0000020e29ccc580] w:iw h:ih flags:'bilinear' interl:0
    [Parsed_unsharp_opencl_2 @ 0000020e29ccc4a0] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_scale_1' and the filter 'Parsed_unsharp_opencl_2'
    Impossible to convert between the formats supported by the filter 'Parsed_scale_1' and the filter 'auto_scaler_0'
    Error reinitializing filters!
    Failed to inject frame into filter network: Function not implemented
    Error while processing the decoded data for stream #0:0
    Conversion failed!