Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Stan I <stanislav.ionascu@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v3] avformat/dvd: new dvd:// protocol for reading dvd folder/images
Date: Mon, 9 Jan 2023 10:56:51 +0000
Message-ID: <CADDh33ocqqGa=hrhvdpB08MOfqNNP5aqtJqFBf+MYE_s3qahkg@mail.gmail.com> (raw)
In-Reply-To: <Y7valwslDIWtW/wp@phare.normalesup.org>

Thanks for looking into this.

On Mon, Jan 9, 2023 at 9:13 AM Nicolas George <george@nsup.org> wrote:
>
> Stanislav Ionascu (12023-01-08):
> > dvd:// protocol uses libdvdread for opening folders and/or disc-images,
> > it then either identifies the longest title-set, or uses the title-set
> > parameter.
> >
> > After opening the dvd, it will read and output all VOBs, in sequence
> > defined by the program-chain.
>
> Thanks for the patch. The reason there was no DVD support in ffmpeg
> until now is that it is not as straightforward as it seems.
>
> Your patch is missing documentation, including documentation about its
> limitations. Please clarify various points:
>
> - VOBs contain not only the movie but also menu data: will it be mixed
>   along with the movie or skipped?

The protocol, when opening the DVD folder or image, will read the VMG
and VTS info to identify the longest title. If identification was
incorrect, the title can be overridden via command-line parameters.
But most of the time it will be the main-movie. The VOBs that are read
via libdvdread belong to that video title set, so menu VOBs should be
skipped.

>
> - Are the timestamps monotonous over a whole title?

Since this is a protocol, it doesn't really do much about demuxing and
the timestamps, so it depends on the data in VOBs and the probed
demuxer (mpeg). From the ffmpeg perspective, this is a continuous
single concatenated VOB, similar to what the "concat" demuxer
generates from split-VOBs, so generating timestamps may be required
when muxing into a format that requires them, like matroska.

>
> - Does ffmpeg correctly detect all the subtitles streams?

Yes, ffmpeg either discovers them later in the stream, or with
adequate analyzeduration/probesize during probing.

>
> - Does ffmpeg correctly detect the language of audio and subtitles
>   streams?
>
> - Are chapters detected?

As this is protocol, it only provides the data that is stored in the
VOBs. Libdvdread has the language and chapter information, but I don't
know how to attach it to the stream without having to use a slave
mpeg-demuxer.

For the sample files I've used :
1. streams.videolan.org/samples/MPEG-VOB/menus\ DVD/free.iso
2. www.deniscarl.com/dvdtest/videotest.iso.bz2
3. dvdauthor-built disc from generated av streams

>
> Regards,
>
> --
>   Nicolas George

Thanks!

Stan.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

      reply	other threads:[~2023-01-09 10:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-08 15:06 Stanislav Ionascu
2023-01-09  9:12 ` Nicolas George
2023-01-09 10:56   ` Stan I [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADDh33ocqqGa=hrhvdpB08MOfqNNP5aqtJqFBf+MYE_s3qahkg@mail.gmail.com' \
    --to=stanislav.ionascu@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git