concatenate .h264 through a file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

concatenate .h264 through a file

bbo2
Guys I am a noob apologies if this has been asked..

I have over 900 files to concatenate and am using following command:

ffmpeg -f concat -i files.txt -vf scale=1080:-1 -vcodec mpeg4 -b:v 1000k output.mp4

I Created a txt list(files.txt) with names of the videos (video-1.h264 - to video-943.h264)

the response I get is "[concat @ 0000000000e967e0] Line 1: unknown keyword 'video-1.h264'
files.txt: Invalid data found when processing input

I am executing ffmpeg in the video directory... so don't need full path to videos, right?

what am I doing wrong?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: concatenate .h264 through a file

Reindl Harald


Am 11.04.2017 um 12:07 schrieb bbo2:

> Guys I am a noob apologies if this has been asked..
>
> I have over 900 files to concatenate and am using following command:
>
> ffmpeg -f concat -i files.txt -vf scale=1080:-1 -vcodec mpeg4 -b:v 1000k
> output.mp4
>
> I Created a txt list(files.txt) with names of the videos (video-1.h264 - to
> video-943.h264)
>
> the response I get is "[concat @ 0000000000e967e0] Line 1: unknown keyword
> 'video-1.h264'
> files.txt: Invalid data found when processing input
>
> I am executing ffmpeg in the video directory... so don't need full path to
> videos, right?
>
> what am I doing wrong?

besides that you can't concat h264 that way "-i" expects a video file,
you need some shell scripting - but as said: h264 is not something you
can concact that way

just read https://trac.ffmpeg.org/wiki/Concatenate
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: concatenate .h264 through a file

Cley Faye
In reply to this post by bbo2
2017-04-11 12:07 GMT+02:00 bbo2 <[hidden email]>:

> Guys I am a noob apologies if this has been asked..
>
> I have over 900 files to concatenate and am using following command:
>
> ffmpeg -f concat -i files.txt -vf scale=1080:-1 -vcodec mpeg4 -b:v 1000k
> output.mp4
>
> I Created a txt list(files.txt) with names of the videos (video-1.h264 - to
> video-943.h264)
>
> the response I get is "[concat @ 0000000000e967e0] Line 1: unknown keyword
> 'video-1.h264'
> files.txt: Invalid data found when processing input
>
> I am executing ffmpeg in the video directory... so don't need full path to
> videos, right?
>
> what am I doing wrong?
>

T
​he usual ​reply would be for you to post the actual content of files.txt
and the complete ffmpeg log.

However, I'll give you both these links in advance, showing you the full
help of the concat demuxer as well as a proper input file in this case:
https://ffmpeg.org/ffmpeg-formats.html#concat
https://trac.ffmpeg.org/wiki/Concatenate

:)
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: concatenate .h264 through a file

bbo2
thanks i'll try to do it!
Loading...