Problem adjusting audio volume

10 views
Skip to first unread message

Enno Oosterhuis

unread,
Jun 20, 2019, 11:14:10 AM6/20/19
to DeVeDe forum
Hallo

I am using devede NG (version 4.8.0) on linux mint.

I can create a dvd. But when I try to adjust the audio volume I get an error message.

I highlight the mp4 file I want to adjust the volume, and click Properties, than I can change the Volume form 100% to 80% (by clicking the minus sign).

I get "There was an error while crating the disc"
See the output on the end of the messages.

I tryed to start ffmpeg by hand and got the following error

Expected int64 for vol but found 204.8
The ffmpeg command line contains "vol 204.8"

My question "How can I adjest the audio??"

Regards

Enno Oosterhuis


The debugging data from devede:

Static data:

FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/100",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 40,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "50/1",
            "avg_frame_rate": "50/1",
            "time_base": "1/50",
            "start_pts": 4,
            "start_time": "0.080000",
            "duration_ts": 4772,
            "duration": "95.440000",
            "bit_rate": "11239120",
            "bits_per_raw_sample": "8",
            "nb_frames": "4772",
            "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": {
                "creation_time": "2018-09-18T16:09:17.000000Z",
                "language": "eng",
                "handler_name": "Video Media Handler",
                "encoder": "AVC Coding"
            }
        },
        {
            "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": 4581120,
            "duration": "95.440000",
            "bit_rate": "384000",
            "max_bit_rate": "384000",
            "nb_frames": "4476",
            "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": {
                "creation_time": "2018-09-18T16:09:17.000000Z",
                "language": "eng",
                "handler_name": "Sound Media Handler"
            }
        }
    ]
}

Getting data for /home/enno/iets/0_Intro_2.mp4 with ffprobe
Estimated length: 95; Resolution: 1920x1080
FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/100",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 40,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "50/1",
            "avg_frame_rate": "50/1",
            "time_base": "1/50",
            "start_pts": 4,
            "start_time": "0.080000",
            "duration_ts": 44834,
            "duration": "896.680000",
            "bit_rate": "17999019",
            "bits_per_raw_sample": "8",
            "nb_frames": "44834",
            "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": {
                "creation_time": "2019-02-11T19:48:05.000000Z",
                "language": "eng",
                "handler_name": "Video Media Handler",
                "encoder": "AVC Coding"
            }
        },
        {
            "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": 43040640,
            "duration": "896.680000",
            "bit_rate": "384000",
            "max_bit_rate": "384000",
            "nb_frames": "42034",
            "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": {
                "creation_time": "2019-02-11T19:48:05.000000Z",
                "language": "eng",
                "handler_name": "Sound Media Handler"
            }
        }
    ]
}

Getting data for /home/enno/iets/1_Frans_Leemrieze.mp4 with ffprobe
Estimated length: 896; Resolution: 1920x1080
FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/100",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 40,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "50/1",
            "avg_frame_rate": "50/1",
            "time_base": "1/50",
            "start_pts": 4,
            "start_time": "0.080000",
            "duration_ts": 41146,
            "duration": "822.920000",
            "bit_rate": "17999993",
            "bits_per_raw_sample": "8",
            "nb_frames": "41146",
            "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": {
                "creation_time": "2019-03-07T09:59:28.000000Z",
                "language": "eng",
                "handler_name": "Video Media Handler",
                "encoder": "AVC Coding"
            }
        },
        {
            "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": 39500160,
            "duration": "822.920000",
            "bit_rate": "384000",
            "max_bit_rate": "384000",
            "nb_frames": "38577",
            "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": {
                "creation_time": "2019-03-07T09:59:28.000000Z",
                "language": "eng",
                "handler_name": "Sound Media Handler"
            }
        }
    ]
}

Getting data for /home/enno/iets/2_To_Krakers.mp4 with ffprobe
Estimated length: 822; Resolution: 1920x1080
FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/100",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 40,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "50/1",
            "avg_frame_rate": "50/1",
            "time_base": "1/50",
            "start_pts": 4,
            "start_time": "0.080000",
            "duration_ts": 52330,
            "duration": "1046.600000",
            "bit_rate": "17999305",
            "bits_per_raw_sample": "8",
            "nb_frames": "52330",
            "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": {
                "creation_time": "2019-02-12T09:42:28.000000Z",
                "language": "eng",
                "handler_name": "Video Media Handler",
                "encoder": "AVC Coding"
            }
        },
        {
            "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": 50236800,
            "duration": "1046.600000",
            "bit_rate": "384000",
            "max_bit_rate": "384000",
            "nb_frames": "49062",
            "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": {
                "creation_time": "2019-02-12T09:42:28.000000Z",
                "language": "eng",
                "handler_name": "Sound Media Handler"
            }
        }
    ]
}

Getting data for /home/enno/iets/3_Bep_ter_Horst.mp4 with ffprobe
Estimated length: 1046; Resolution: 1920x1080
FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "h264",
            "codec_long_name": "H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10",
            "profile": "High",
            "codec_type": "video",
            "codec_time_base": "1/100",
            "codec_tag_string": "avc1",
            "codec_tag": "0x31637661",
            "width": 1920,
            "height": 1080,
            "coded_width": 1920,
            "coded_height": 1080,
            "has_b_frames": 1,
            "sample_aspect_ratio": "1:1",
            "display_aspect_ratio": "16:9",
            "pix_fmt": "yuv420p",
            "level": 40,
            "color_range": "tv",
            "color_space": "bt709",
            "color_transfer": "bt709",
            "color_primaries": "bt709",
            "chroma_location": "left",
            "refs": 1,
            "is_avc": "true",
            "nal_length_size": "4",
            "r_frame_rate": "50/1",
            "avg_frame_rate": "50/1",
            "time_base": "1/50",
            "start_pts": 4,
            "start_time": "0.080000",
            "duration_ts": 49382,
            "duration": "987.640000",
            "bit_rate": "17999199",
            "bits_per_raw_sample": "8",
            "nb_frames": "49382",
            "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": {
                "creation_time": "2019-03-08T10:18:45.000000Z",
                "language": "eng",
                "handler_name": "Video Media Handler",
                "encoder": "AVC Coding"
            }
        },
        {
            "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": 47406720,
            "duration": "987.640000",
            "bit_rate": "384000",
            "max_bit_rate": "384000",
            "nb_frames": "46298",
            "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": {
                "creation_time": "2019-03-08T10:18:45.000000Z",
                "language": "eng",
                "handler_name": "Sound Media Handler"
            }
        }
    ]
}

Getting data for /home/enno/iets/4_Bertus_Krakers.mp4 with ffprobe
Estimated length: 987; Resolution: 1920x1080


Dynamic data:

Creating menu 0


Launching: ffmpeg -loop 1 -f image2 -i /home/enno/test34/menu/menu_0_bg.png -i /usr/share/devedeng/silence.ogg -y -target pal-dvd -acodec mp2 -s 720x576 -g 12 -b:v 2500k -b:a 224k -aspect 4:3 -t 31 /home/enno/test34/menu/menu_0.mpg

Converting 0_Intro_2


Launching: ffmpeg -i /home/enno/iets/0_Intro_2.mp4 -vol 204.8 -i /home/enno/iets/0_Intro_2.mp4 -map 1:0 -map 0:1 -vf scale=720:576 -y -target pal-dvd -sn -g 12 -bf 2 -strict 1 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k /home/enno/test34/movies/movie_0.mpg

Converting 1_Frans_Leemrieze


Launching: ffmpeg -i /home/enno/iets/1_Frans_Leemrieze.mp4 -i /home/enno/iets/1_Frans_Leemrieze.mp4 -map 1:0 -map 0:1 -vf scale=720:576 -y -target pal-dvd -sn -g 12 -bf 2 -strict 1 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k /home/enno/test34/movies/movie_1.mpg

Converting 2_To_Krakers


Launching: ffmpeg -i /home/enno/iets/2_To_Krakers.mp4 -i /home/enno/iets/2_To_Krakers.mp4 -map 1:0 -map 0:1 -vf scale=720:576 -y -target pal-dvd -sn -g 12 -bf 2 -strict 1 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k /home/enno/test34/movies/movie_2.mpg

Converting 3_Bep_ter_Horst


Launching: ffmpeg -i /home/enno/iets/3_Bep_ter_Horst.mp4 -i /home/enno/iets/3_Bep_ter_Horst.mp4 -map 1:0 -map 0:1 -vf scale=720:576 -y -target pal-dvd -sn -g 12 -bf 2 -strict 1 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k /home/enno/test34/movies/movie_3.mpg

Converting 4_Bertus_Krakers


Launching: ffmpeg -i /home/enno/iets/4_Bertus_Krakers.mp4 -i /home/enno/iets/4_Bertus_Krakers.mp4 -map 1:0 -map 0:1 -vf scale=720:576 -y -target pal-dvd -sn -g 12 -bf 2 -strict 1 -ac 2 -aspect 1.7777777777777777 -s 720x576 -trellis 1 -mbd 2 -b:a 224k -b:v 5000k /home/enno/test34/movies/movie_4.mpg




Reply all
Reply to author
Forward
0 new messages