Author Topic: Ripping and editing video  (Read 249 times)

Offline kah5683

  • Sr. Member
  • ****
  • Posts: 307
Ripping and editing video
« on: January 17, 2013, 10:33:27 AM »
I have some home movies that I had on vhs tape that I am finally dubbing onto dvd's.  I am then ripping the dvd's to put on the computer, and then want to edit the videos (mainly trimming right now).

I usually use handbrake to rip the dvd's and then avidemux to edit.  I am running into the following message when I open up advidemux with the ripped home movies from handbrake (or when I open up avidemux with the .mov files from my flipcamera):

Quote
H.264 detected

If the file is using B-frames as reference it can lead to a crash or stuttering.
Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY.
Do you want to use that mode?

When I don't use the other mode, the audio is off sync, and when I do, it is hard to edit with the loss of frame accuracy.

Is there is a better way to do this?

Thanks!

P8Z68-V Pro/Gen3 Motherboard - onboard soundcard
Intel i5-2500K Processor 3.3 GHz 4 core
Nvidia GeForce GTX550Ti Graphics card
60gb Patriot SSD - 2tb Seagate HDD - 8gb RAM
PCLinuxOS-KDE-2012-02

Offline Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10628
  • MLUs Forever!
Re: Ripping and editing video
« Reply #1 on: January 17, 2013, 11:27:38 AM »
There are other   'video editor'  packages in the repository ......  maybe try a couple of them ?

MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Re: Ripping and editing video
« Reply #2 on: January 17, 2013, 12:53:22 PM »
I have some home movies that I had on vhs tape that I am finally dubbing onto dvd's.  I am then ripping the dvd's to put on the computer, and then want to edit the videos (mainly trimming right now).

I usually use handbrake to rip the dvd's and then avidemux to edit.  I am running into the following message when I open up advidemux with the ripped home movies from handbrake (or when I open up avidemux with the .mov files from my flipcamera):

Quote
H.264 detected

If the file is using B-frames as reference it can lead to a crash or stuttering.
Avidemux can use another mode which is safe but YOU WILL LOSE FRAME ACCURACY.
Do you want to use that mode?


When I don't use the other mode, the audio is off sync, and when I do, it is hard to edit with the loss of frame accuracy.

Is there is a better way to do this?

Thanks!


Just a couple of questions:

How are you ripping from VHS?  Are you using a transcription deck (that records directly from VHS to DVD)?  If not, you're already capturing digital video somewhere to produce the DVD, so a rip from the disk seems like an unnecessary step.

You're also using raw .mov footage from a camera.  Is this what you are converting with Handbrake?  (Doesn't seem like it.)

End questions.

IF I might suggest it, look at something called Cinelerra.  It's in the repositories.  Be advised the learning curve is kinda steep, but it has a lot of capability.  For something less intense, try Kino.  As was said earlier, there are other tools in the repositories that work well enough.

Here's a decent short into to B-Frames, what they do, and why, with links to further reading.  It might also be wise to read up on h.264 - it's a very popular encoding format, and very capable when used well.

http://en.wikipedia.org/wiki/Video_compression_picture_types#Bi-directional_predicted_frames.2Fslices_.28B-frames.2Fslices.29

http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

Good Luck with your project.  Hope all goes well for you.

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline kah5683

  • Sr. Member
  • ****
  • Posts: 307
Re: Ripping and editing video
« Reply #3 on: January 17, 2013, 01:49:24 PM »
horusfalcon:


Just a couple of questions:

How are you ripping from VHS?  Are you using a transcription deck (that records directly from VHS to DVD)?  I am using an older Panasonic DVD Recorder

You're also using raw .mov footage from a camera.  Is this what you are converting with Handbrake?  (Doesn't seem like it.)  No.  I dub with the DVD Recorder from VHS to DVD, rip with Handbrake, and edit with avidemux.  The movies from the camera I download onto computer and edit with avidemux.


When I look at the video options in handbrake, under video encoder, the default is the H.264, but I can also choose mpeg-4 (ffmpeg) or mpeg-2 (ffmpeg).  Are those better alternatives?
P8Z68-V Pro/Gen3 Motherboard - onboard soundcard
Intel i5-2500K Processor 3.3 GHz 4 core
Nvidia GeForce GTX550Ti Graphics card
60gb Patriot SSD - 2tb Seagate HDD - 8gb RAM
PCLinuxOS-KDE-2012-02

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Re: Ripping and editing video
« Reply #4 on: January 17, 2013, 03:18:16 PM »
Sorry if this goes a bit long.  The topic is not a simple one.

horusfalcon:


Just a couple of questions:

How are you ripping from VHS?  Are you using a transcription deck (that records directly from VHS to DVD)?  I am using an older Panasonic DVD Recorder

You're also using raw .mov footage from a camera.  Is this what you are converting with Handbrake?  (Doesn't seem like it.)  No.  I dub with the DVD Recorder from VHS to DVD, rip with Handbrake, and edit with avidemux.  The movies from the camera I download onto computer and edit with avidemux.



When I look at the video options in handbrake, under video encoder, the default is the H.264, but I can also choose mpeg-4 (ffmpeg) or mpeg-2 (ffmpeg).  Are those better alternatives?


That "Panasonic DVD Recorder" is a transcription deck.  Tape goes in one side, blank DVD-R goes in the other, press a few keys, and a player-ready DVD-R is the final result.  Not fancy, (e.g., no menus or control over chapter divisions) but it gets the job done.

As to the "better alternatives", that can turn into a religious war in some circles.  Me, I tend to be more pragmatic:  if your conversions are playing back correctly in the desired environment, you are being successful to that point.

Where it seems you are having trouble is during playback after editing with avidemux.  I don't really use avidemux that much myself, so I would hesitate to give app-specific advise there.  You might consider consulting the avidemux forums
for something more authoritative.

Getting back to the compression format:  this quote from Wikipedia may help clarify for you why h.264 is not necessarily a bad choice:

Quote
H.264 is perhaps best known as being one of the codec standards for Blu-ray Discs; all Blu-ray Disc players must be able to decode H.264. It is also widely used by streaming internet sources, such as videos from Vimeo, YouTube, and the iTunes Store, web software such as the Adobe Flash Player and Microsoft Silverlight, and also various HDTV broadcasts over terrestrial (ATSC, ISDB-T, DVB-T or DVB-T2), cable (DVB-C) and satellite (DVB-S and DVB-S2).


So, you can see h.264 is quite versatile and popular.  If you can make it work for you, your finished product will be capable of reaching a wide audience on a variety of media outlets.  If that's a consideration, you may want to stick with it.  If you're not so concerned with this aspect, other formats may serve your needs as well as or better than h.264.  I would hazard to guess that MP4 (ffmpeg) would be worth a try on a small sample, just to see.

Another item of interest is whether you're using MP4 or MKV output from Handbrake.  These two container formats have different strengths and weaknesses.  Here's a comparison from the Handbrake Wiki:

I favor MKV outputs for a lot of what I do, but I have different requirements than you may have (ability to add foreign language subtitles, alternate audio tracks, etc.), and for some things I find MP4 output is simpler (transcoding for tablets like the Nook Tablet).

What would tempt you to consider another option?  I'd probably consider finding another way to edit the h.264 stuff you have now, but that's me.

Hope some of this helps you sort it out.

Later On,
D

"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.

Offline µT6

  • Hero Member
  • *****
  • Posts: 1879
Re: Ripping and editing video
« Reply #5 on: January 17, 2013, 06:34:14 PM »
what is producing the .mov files, handbrake?  can you use another rip tool?

avidemux doesn't like .mov files much, especially audio that comes with it, not sure why

perhaps convert the mov to something else first but i think it is more simple to copy the vob files to the hard disk and then join them in avidemux?  i just tested it and does work

the idea would be create a iso of the dvd or copy the vob files from the dvd, if it doesn't have any anticopy technology it is a simple task to do and files won't end corrupt or unreadable

if you make the iso you can open it with ark and export the vob files to a folder and then add them to avidemux

you can cut, edit audio and all you want to do with it and then convert from the vob to avi or something else, this way you don't loose quality from the ripping process and you can have results faster
"A question that sometimes drives me hazy: am I or are the others crazy?"

Albert Einstein

Offline horusfalcon

  • Hero Member
  • *****
  • Posts: 997
  • Wayfarer of The Western Wastes
Re: Ripping and editing video
« Reply #6 on: January 17, 2013, 09:47:19 PM »
what is producing the .mov files, handbrake?  can you use another rip tool?

avidemux doesn't like .mov files much, especially audio that comes with it, not sure why

perhaps convert the mov to something else first but i think it is more simple to copy the vob files to the hard disk and then join them in avidemux?  i just tested it and does work

the idea would be create a iso of the dvd or copy the vob files from the dvd, if it doesn't have any anticopy technology it is a simple task to do and files won't end corrupt or unreadable

if you make the iso you can open it with ark and export the vob files to a folder and then add them to avidemux

you can cut, edit audio and all you want to do with it and then convert from the vob to avi or something else, this way you don't loose quality from the ripping process and you can have results faster

Yeah, it really shouldn't be necessary to mess with ISOs, but keep reading.  µT6's approach is not a bad one at all, and has the virtue of having been tested.

Your home-made DVDs should not have copy protection, so this shouldn't be a big deal.

The flip camera is producing .mov as its "raw" output, yes?  It might be desirable to transcode that to .MP4 or .MKV of some kind.  Even .AVI could work, it's just such an old format I hesitate to recommend it.  .MKV would possibly be more difficult to work with, and who needs more steps in this process than necessary?  (I'd conduct initial experiments with small samples from the camera until I found the "sweet spot" were I you.  Definitely use whatever works to your satisfaction.)

If you do decide to muck around with mounting ISOs to work from, look at acetoneISO, too.  It's an ISO management tool with a nice GUI and some nice features (such as playing back mounted DVD ISOs with MPlayer or SMPlayer directly from your hard drive).  I can see where you might have a use for such features.

One of your original sources (VHS) is roughly 333x480 pixels, so anything greater than that will be acceptable in subsequent transcoding barring any serious errors in transcription.  Larger amounts of upscaling (anything greater than, say, 800x600) during transcoding can have an effect on this, though, depending on the interpolation methods selected.  You may have to play around here to see what works best for you.  (Actual "standard definition" NTSC TV resolution is something like 575x192, but that's scanlines, not pixels. Not truly the same thing.)

I'm not sure about your camera's resolution, but you should probably work to the same or slightly higher resolution in your finished product to preserve video quality.  Massive upscaling should be avoided for the same reasons already mentioned.

Again, here's hoping it goes well for you.

Later On,
D
"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."

Dell Latitude D620, PCLinuxOS 2012.08 KDE4/LXDE, 3.2.18.pclos.bfs, specs here.