--avi-index=1 How to use on command line?

About encoding, codec settings, muxers and filter usage
Peter S
Blank Cone
Blank Cone
Posts: 38
Joined: 21 Jun 2007 11:24

--avi-index=1 How to use on command line?

Postby Peter S » 01 May 2013 21:36

Hi,
I have two avi-files connected by the following:

Code: Select all

"C:\program files (x86)\VideoLan\VLC\vlc.exe" ^ -I dummy -vvv "20030419_DV.avi" "20030420_DV.avi" ^ --sout "#gather:std{access=file,mux=avi,dst=20030419c_DV.avi}" --sout-keep ^ vlc://quit
The output file size is correct, VLC gives me a fantastic picture, but the index is broken, I can not seek.

The wiki gives me the recommendation for

Code: Select all

--avi-index=1
But can any me give an example, wherein I have to put this?
My experiments have resulted in no better outfile.
Thanks

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: --avi-index=1 How to use on command line?

Postby Rémi Denis-Courmont » 02 May 2013 05:37

--avi-index is to rebuild the index of the input file, not the output.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Peter S
Blank Cone
Blank Cone
Posts: 38
Joined: 21 Jun 2007 11:24

Re: --avi-index=1 How to use on command line?

Postby Peter S » 02 May 2013 09:29

Yes, then I use the corrupt "output-avi" with --avi-index as input and copy to output?
Sorry, if the output avi muxer is corrupt (as described in the wiki), then is the result the same. There is no way to get good avi. :(

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: --avi-index=1 How to use on command line?

Postby Jean-Baptiste Kempf » 03 May 2013 00:08

You probably need to transcode too.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Peter S
Blank Cone
Blank Cone
Posts: 38
Joined: 21 Jun 2007 11:24

Re: --avi-index=1 How to use on command line?

Postby Peter S » 03 May 2013 10:34

I want to use "DVdate" after the conjunction of the two avi files to an avi file, because DVdate works only with avi.
"DVdate" exports automatically the date and time information inside the avi to a srt file.
If I first transcode to mp4 then cannot get the srt file from the whole.
Or I have to edit the srt file manually. This is not simple for me, but the target...
Thanks for answer


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests