DevedeNG 4.17 error when trying to create a DVD video with srt subtitle

43 views
Skip to first unread message

Terje J. Hanssen

unread,
Feb 13, 2024, 11:59:04 AMFeb 13
to DeVeDe forum
Adding a mpg video file and a srt subtitle file cause an error message already when trying to preview. Tried both ascii and utf-8 charset. The DVD tree structure is partly created with a mpg.tmp file and without any iso created. 

Without a srt subtitle file the DVD video is created successfully.

Anybody here that succeed to create a DVD with a srt subtitle file?

Comparing with an old 2015 article I can't see a corresponding field for Extra parameters for mencoder in the current DevedeNG 4.17

Include below a shortened Devede debug data report:

Static data:

FFProbe JSON data: {
    "streams": [
        {
            "index": 0,
            "codec_name": "dvd_nav_packet",
            "codec_long_name": "DVD Nav packet",
            "codec_type": "data",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "id": "0x1bf",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 14400,
            "start_time": "0.160000",
            "duration_ts": 10189440,
            "duration": "113.216000",
            "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,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        },
        {
            "index": 1,
            "codec_name": "mpeg2video",
            "codec_long_name": "MPEG-2 video",
            "profile": "Main",
            "codec_type": "video",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "width": 720,
            "height": 576,
            "coded_width": 0,
            "coded_height": 0,
            "closed_captions": 0,
            "film_grain": 0,
            "has_b_frames": 1,
            "sample_aspect_ratio": "16:15",
            "display_aspect_ratio": "4:3",
            "pix_fmt": "yuv420p",
            "level": 8,
            "color_range": "tv",
            "color_space": "bt709",
            "chroma_location": "left",
            "field_order": "progressive",
            "refs": 1,
            "id": "0x1e0",
            "r_frame_rate": "25/1",
            "avg_frame_rate": "25/1",
            "time_base": "1/90000",
            "start_pts": 14400,
            "start_time": "0.160000",
            "duration_ts": 10141200,
            "duration": "112.680000",
            "extradata_size": 34,
            "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,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            },
            "side_data_list": [
                {
                    "side_data_type": "CPB properties",
                    "max_bitrate": 9000000,
                    "min_bitrate": 0,
                    "avg_bitrate": 0,
                    "buffer_size": 1835008,
                    "vbv_delay": -1
                }
            ]
        },
        {
            "index": 2,
            "codec_name": "ac3",
            "codec_long_name": "ATSC A/52A (AC-3)",
            "codec_type": "audio",
            "codec_tag_string": "[0][0][0][0]",
            "codec_tag": "0x0000",
            "sample_fmt": "fltp",
            "sample_rate": "48000",
            "channels": 2,
            "channel_layout": "stereo",
            "bits_per_sample": 0,
            "initial_padding": 0,
            "id": "0x80",
            "r_frame_rate": "0/0",
            "avg_frame_rate": "0/0",
            "time_base": "1/90000",
            "start_pts": 14400,
            "start_time": "0.160000",
            "duration_ts": 10189440,
            "duration": "113.216000",
            "bit_rate": "224000",
            "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,
                "non_diegetic": 0,
                "captions": 0,
                "descriptions": 0,
                "metadata": 0,
                "dependent": 0,
                "still_image": 0
            }
        }
    ]
}

Getting data for /home/terje/Videoklipp/video/dvd.mpg with ffprobe
Estimated length: 113; Resolution: 720x576


Dynamic data:

Creating menu 0


Launching: ffmpeg -loop 1 -f image2 -i /home/terje/Videoklipp/video/DVD/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/terje/Videoklipp/video/DVD/menu/menu_0.mpg

Copying file dvd.mpg


Launching: copy_files_verbose.py /home/terje/Videoklipp/video/dvd.mpg /home/terje/Videoklipp/video/DVD/movies/movie_0.mpg

Copied 0.1%
Copied 0.1%
Copied 0.2%
Copied 0.2%

.....snip....

Copied 99.8%
Copied 99.9%
Copied 100.0%
Copied 100.0%


Adding AA subtitles to movie_0.mpg


Launching: spumux -m dvd -s 0 /home/terje/Videoklipp/video/DVD/movies/movie_0.mpg_s0.xml






Sergio Costas

unread,
Feb 13, 2024, 5:52:27 PMFeb 13
to devede...@googlegroups.com

Can you try to manually execute that last command?

    spumux -m dvd -s 0 /home/terje/Videoklipp/video/DVD/movies/movie_0.mpg_s0.xml

and put here the output?

El 13/2/24 a las 17:59, Terje J. Hanssen escribió:
--
You received this message because you are subscribed to the Google Groups "DeVeDe forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devede-forum...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/devede-forum/dc5f0d5d-8025-4094-aafa-eabec1052fa5n%40googlegroups.com.
-- 
Nos leemos
		         RASTER    (Linux user #228804)
raste...@gmail.com                https://www.rastersoft.com

Terje J. Hanssen

unread,
Feb 13, 2024, 6:25:26 PMFeb 13
to devede...@googlegroups.com
I had deleted the DVD structure, but hope I have recreated it indentical again.

Here is the command output:

spumux -m dvd -s 0 /home/terje/Videoklipp/video/DVD/movies/movie_0.mpg_s0.xml
DVDAuthor::spumux, version 0.7.2.
Build options: gnugetopt imagemagick iconv freetype fribidi
Send bug reports to <dvdauth...@lists.sourceforge.net>

INFO: no default video format, must explicitly specify NTSC or PAL
INFO: Opened iconv descriptor. *UTF-8* <= *ASCII*
INFO: Detected subtitle file format: subviewer
INFO: Read 6 subtitles
ERR:  New_Face failed. Maybe the font path is wrong.
ERR:  Please supply the text font file (arial).

Terje J. Hanssen

unread,
Feb 13, 2024, 6:34:29 PMFeb 13
to devede...@googlegroups.com

Checked the character set of my srt subtitle file created with gedit on openSUSE Leap 15.5::

    file -bi dvd.srt
    text/plain; charset=us-ascii


Looks like I am not able to change the charset to utf-8

    iconv -f ascii -t utf-8 -o dvd_utf-8.srt dvd.srt

    file -bi dvd_utf-8.srt
    text/plain; charset=us-ascii

Terje J. Hanssen

unread,
Feb 14, 2024, 10:32:07 AMFeb 14
to devede...@googlegroups.com
I also tested a plain DV clip (instead of mpg), added the srt softsub file and got the the same DevedeNG error.
The minor difference was that the spumux command output above was included in the Devede Debug file this time.



Den 14.02.2024 00:25, skrev Terje J. Hanssen:
Reply all
Reply to author
Forward
0 new messages