Visualizzazione dei risultati da 1 a 8 su 8

Hybrid View

  1. #1
    ah si scusa, mi sono dimenticato di postarlo.

    non è vuoto, ma ha molte meno info di un altro video:
    codice:
    {
        "streams": [
            {
                "index": 0,
                "codec_name": "mpeg4",
                "codec_long_name": "MPEG-4 part 2",
                "codec_type": "video",
                "codec_tag_string": "DIVX",
                "codec_tag": "0x58564944",
                "width": 720,
                "height": 288,
                "coded_width": 720,
                "coded_height": 288,
                "closed_captions": 0,
                "film_grain": 0,
                "has_b_frames": 1,
                "pix_fmt": "yuv420p",
                "level": -99,
                "chroma_location": "left",
                "refs": 1,
                "quarter_sample": "false",
                "divx_packed": "false",
                "r_frame_rate": "20/1",
                "avg_frame_rate": "20/1",
                "time_base": "1/20",
                "start_pts": 0,
                "start_time": "0.000000",
                "duration_ts": 108346,
                "duration": "5417.300000",
                "bit_rate": "919913",
                "nb_frames": "108346",
                "extradata_size": 19,
                "disposition": {
                    "default": 0,
                    "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,
                    "captions": 0,
                    "descriptions": 0,
                    "metadata": 0,
                    "dependent": 0,
                    "still_image": 0
                }
            },
            {
                "index": 1,
                "codec_name": "mp3",
                "codec_long_name": "MP3 (MPEG audio layer 3)",
                "codec_type": "audio",
                "codec_tag_string": "U[0][0][0]",
                "codec_tag": "0x0055",
                "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/16000",
                "start_pts": 0,
                "start_time": "0.000000",
                "bit_rate": "128000",
                "nb_frames": "225716",
                "extradata_size": 12,
                "disposition": {
                    "default": 0,
                    "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,
                    "captions": 0,
                    "descriptions": 0,
                    "metadata": 0,
                    "dependent": 0,
                    "still_image": 0
                }
            }
        ],
        "chapters": [
    
        ],
        "format": {
            "filename": "/run/media/fermat/DATI/Film/Disney/Anastasia.avi",
            "nb_streams": 2,
            "nb_programs": 0,
            "format_name": "avi",
            "format_long_name": "AVI (Audio Video Interleaved)",
            "start_time": "0.000000",
            "duration": "5417.300000",
            "size": "717785950",
            "bit_rate": "1059990",
            "probe_score": 100
        }
    }
    invece un video che non da problemi: https://pastebin.com/AFwR3Zhi

  2. #2
    Utente di HTML.it L'avatar di andbin
    Registrato dal
    Jan 2006
    residenza
    Italy
    Messaggi
    18,284
    Quote Originariamente inviata da fermat Visualizza il messaggio
    non è vuoto, ma ha molte meno info di un altro video:
    E questo però che problemi dà? Perché dal JSON risulta che il "chapters" è un array vuoto.

    Il problema che hai esposto prima diceva: Expected an int but was 715346611889696927 at line 187 column 37 path $.chapters[0].id

    Ovvero era un problema il fatto di avere un oggetto chapter con un id es. 715346611889696927, perché nella definizione di FFmpegChapter, il id è appunto un int.
    Andrea, andbin.devSenior Java developerSCJP 5 (91%) • SCWCD 5 (94%)
    java.util.function Interfaces Cheat SheetJava Versions Cheat Sheet

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.