i have a list of video file mp4 and i want join all files into one file.
then with ffmpeg i have write one txt list with all my video files.
i have all video, my txt and ffmpeg on same folder.
with: ffmpeg -f concat -i xlist.txt -c copy output.mp4
i have this error:
[concat @ 00000000004d57c0] Line 1: unknown keyword 'first_video.mp4
'
xlist.txt: Invalid data found when processing input
G:\foldername>
why this error??
+ Reply to Thread
Results 1 to 12 of 12
-
-
work if add "file" at all my list like:
file ada01
file ada02
file ada03
without "file" not work.... another suggestion to not add "file" to whole list? i have a long list..... -
Did you try Prowo's suggestion?
I think,therefore i am a hamster. -
It may be easier just to create a quick new list from a dos command inside video folder
Cmd command
(for %i in (*.mp4,*mpg,*.Avi) do @echo file '%i') > mylist.txt
Bat file command
(for %%i in (*.mp4,*mpg,*.Avi) do @echo file '%%i') > mylist.txt -
@ johns0
Not yet. now i try it
@Budman1
tanxs for reply. but no problem: i use XY as file manager, and with this select all files and copy name into clipboard.
but with ffmpeg only file name it's not enough... i can add "file" to each clip video.
but also this is not problem: with np++ it's easy add "file" entries.
now i have 2 problem:
1) ffmpeg meets mistakes to generate a final video file because the clips don't have the same resolution and maybe not even the same video codec... so I should make an initial selection to put in clip groups with the same settings. but I have too many files and this job is not worth it
for this reason maybe i just need to see them in the player, but.... (see point 2)
2) i like potplayer but some clip do not play. but if i insist several times it works! same clips with VLC or gomplayer have no problems, but I find these 2 players always with some flaws and therefore prefer PP, but this has problems in playback.
I have already tried to change the internal codec parameters, using its Opencodec FFmpeg64 or internal LAV filters but in the end I don't see results.
all my clips is mp4 format. some play correctly at first shot, other i need to repeat play several times to get correct video play. this is very strange, and this only with PP. VLC and gomP not have problem to play all clips. -
-
- create a playlist and use a player which supports this feature
or
- convert to same resolution, append, and reencode to same codec parameters. -
tanxs for reply.
anyway i've solved my issue with PP.
before i have disable audio service (for my other issues). enable this service all clips play correctly!
VLC and gomplayer instead play all video with or without audio service.
that's why i didn't understand the problem with PP...!
Similar Threads
-
batch merge videos and audios with ffmpeg
By m0ck in forum Video ConversionReplies: 6Last Post: 27th May 2021, 08:12 -
[solved] Merge two videoes with different resolution and bitrates - ffmpeg
By parvares in forum Newbie / General discussionsReplies: 3Last Post: 11th Apr 2021, 08:55 -
[FFMPEG] How to merge flac and image to mkv (Wrong Color)
By Anonymous20 in forum Video ConversionReplies: 2Last Post: 7th Feb 2019, 09:34 -
FFMPEG how to merge 2 stereo .wav audio files into one of 4 channels?
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 24th Jun 2018, 07:25 -
(Help Needed with ffmpeg) how do i batch merge audio files to video files
By wander799 in forum Newbie / General discussionsReplies: 5Last Post: 20th Nov 2016, 14:40