hi, sorry for my bad English,
i tried to split a video using FFmpeg using this code:
the code is working, but the video started at 00:00:58.XX, and that bonus 2 seconds playable but muted,Code:ffmpeg -y -ss 00:01:00.00 -to 00:02:00.00 -i "D:\Test\test.mp4" -c copy "D:\Test\test_b.mp4"
is there any way to use "-c copy"(I need it because it fastest) but without that "bonus 2 seconds"?
thank you, have a nice day
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
No while copying you can only cut on key frames (otherwise reencoding would be needed) and apparently at the time code you selected no key frame is present.
If this is unclear to you, you might want to read up on how MPEG based compression works.
You would need to use a tool which does suport some kind of 'smart encoding' where it only reencodes the affected GOPs around the cut points.users currently on my ignore list: deadrats, Stears555 -
thank you again for the reply,
and sorry for the additional question,
is this AviDemux support Command-Line Interface(CLI)?
currently, I creating a python script to split video(s),
if not support Command-Line Interface(CLI), can you suggest that support one?
thank you again for the reply, sorry if I rude -
Never tried to use AviDemux through the command line, but it has a command line interface: http://avidemux.sourceforge.net/doc/en/command.xml.html
I have no clue whather con can cut using the command line interface, but the folks over at https://avidemux.org/smif/index.php probably can help.users currently on my ignore list: deadrats, Stears555 -
thank you again Selur,
i will study it
Update:
-avidemux do not support 265/hevc
--video-codec >> XVID4 | x264 | FFmpeg4 | VCD | SVCD |DVD | XSVCD | XVCD
-the tutorial on the google almost not exist, all replies suggest to using FFmpegLast edited by kucing; 8th May 2022 at 07:28.
-
thank for the reply Prowo,
is this Videoredo support Command-Line Interface(CLI)?Last edited by kucing; 8th May 2022 at 10:56.
-
Yeah, searching google for "avidemux tutorial" only gives 670,000 hits.
[Attachment 64715 - Click to enlarge] -
jagabo,
if you can read previous replies,
i need the Command-Line Interface(CLI) one,
not the GUI one,
Similar Threads
-
How to dl ".../Manifest(video,format=m3u8-aapl-v3...)" video using ffmpeg?
By lfer94 in forum Video Streaming DownloadingReplies: 10Last Post: 7th Feb 2021, 03:47 -
Will a JVC VCR "Stop" Playback if the video is "too grainy" or degraded?
By timepassenger in forum CapturingReplies: 8Last Post: 2nd May 2020, 07:17 -
How to Encode video using "Apple QuickTime" Writing Library in FFmpeg
By deepfrayder in forum Video ConversionReplies: 15Last Post: 3rd Feb 2020, 00:16 -
VirtualDub reports an error "Unable to read audio samples starting at"
By digicube in forum Video ConversionReplies: 9Last Post: 21st Jun 2017, 03:23