Registered Member
|
Hi! After authoring a DVD with VOB streams exported from KDEnlive, I have a problem with the resulting DVD on my standalone set top box DVD player - it isn't able to seek in the stream, when trying to jump to a position it starts playing the chapter from the beginning. On the web I've found information that this might be because of lack of video sequence headers at beginning of GOPs in the stream. Does KDEnlive with its default DVD format settings generate those headers? What argument to kdenlive_renderer decides that? Maybe the export template doesn't specify the needed option? |
Registered Member
|
Does anybody know an Open Source dump utility for VOBs? One which would dump the information about the VOB video stream's GOP structure, tell me whether video sequence headers are present etc. I want to compare the VOBs exported from KDEnlive with known good VOBs from commercial DVDs. |
Registered Member
|
I've found a tool that can be used do analyze VOB files - http://dvbsnoop.sourceforge.net/. I've compared a VOB file fomr commercial DVD with VOB files from KDEnlive and they exhibit this thing that commercial DVD's dont have:
Anybody knows what this wrong protocol discrimintor is about? Or maybe this isn't harmful? But why commercial VOBs don't exhibit this? |
Registered Member
|
I've been trying to create a DVD with kdenlive and faced similar issues. It seems that the 'vob' file created by kdenlive_renderer does not contain the required 'NAV' packets. so you would think the NAV packets would be there... but they aren't. I managed to make progress by using to extract the video part, ffmpeg -i movie.vob -f ac3 -acodec copy movie.ac3 to extract the audio part, then mplex -f 8 movie.ac3 movie.mpeg -o movie2.vob to create a vob with the right NAV packets. dvdauthor is much happier with this new vob, and creates Now to figure out why libavformat gets it wrong... I tried to see if that would get it right, but it hangs after a while... |
Registered Member
|
Use Avidemux 2. Nice user-friendly GUI for ffmpeg. It can fix various issues with both importing and exported video from Kdenlive without need of reencoding. Use copy/copy/MPEG2 PS method. |
Registered Member
|
Thanks for the pointer to avidemux. I'll have a play with it and add it to my tool box. However I really rather that it worked with as little fiddling as possible, so I dived into mpegenc tries to put in the NAV packets, but fails. I've manage to get it to succeed. In ffmpeg/libavformat/mpegenc.c, in the function mpeg_mux_write_packet, towards the end, around line
The original doesn't have the "stream->align_iframe = 0;" commented out. Commenting this line |
Registered Member
|
The patch suggested by Neil Brown has just been committed to FFMPEG svn, so the issue should be fixed now, great. Regards |
Registered users: Bing [Bot], gfielding, Google [Bot], Sogou [Bot]