Can I trim a mpeg file (audio and video) How
Thanks
George
Trimming In DVD Workshop
-
skier-hughes
- Microsoft MVP
- Posts: 2659
- Joined: Thu Jul 21, 2005 10:09 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: gigabyte
- processor: Intel core 2 6420 2.13GHz
- ram: 4GB
- Video Card: NVidia GForce 8500GT
- sound_card: onboard
- Hard_Drive_Capacity: 36GB 2TB
- Location: UK
I think it's OK to trim DV AVIs before encoding (these have the A & V interleaved) but trimming encoded MPEG is probably a no-no unless you know exactly where the I frames are or you have a GOP of 1, which is not very economical.
[b][i][color=red]Devil[/color][/i][/b]
[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
[size=84]P4 Core 2 Duo 2.6 GHz/Elite NVidia NF650iSLIT-A/2 Gb dual channel FSB 1333 MHz/Gainward NVidia 7300/2 x 80 Gb, 1 x 300 Gb, 1 x 200 Gb/DVCAM DRV-1000P drive/ Pan NV-DX1&-DX100/MSP8/WS2/PI11/C3D etc.[/size]
-
skier-hughes
- Microsoft MVP
- Posts: 2659
- Joined: Thu Jul 21, 2005 10:09 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: gigabyte
- processor: Intel core 2 6420 2.13GHz
- ram: 4GB
- Video Card: NVidia GForce 8500GT
- sound_card: onboard
- Hard_Drive_Capacity: 36GB 2TB
- Location: UK
I suppose you could use the Next/Prev I-Frame while TrimmingDevil wrote:I think it's OK to trim DV AVIs before encoding (these have the A & V interleaved) but trimming encoded MPEG is probably a no-no unless you know exactly where the I frames are or you have a GOP of 1, which is not very economical.
George, are your mpeg videos program or elementary streams (are the video/audio combined into one file, or are they separate files on your hard drive)
Regards,
George
only combined streams work
You can only trim a n MPEG file if it contains both audio and video.
If they are separate streams (or if you have multiple audiotracks like I do), your're stuck. It trims the video, not the audio at the start of the movie. It trims the audio and not the video at the end of the movie.
This problem has existed since day One and no service pack ever fixed it - odd as I think it is quite an important feature to get right.
If they are separate streams (or if you have multiple audiotracks like I do), your're stuck. It trims the video, not the audio at the start of the movie. It trims the audio and not the video at the end of the movie.
This problem has existed since day One and no service pack ever fixed it - odd as I think it is quite an important feature to get right.
