Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-15-2015, 12:08 AM
Koze Koze is offline
Member
 
Join Date: Sep 2015
Posts: 35
Koze is on a distinguished road
Default

how to loop avi files in ffmpeg (Debian 7)


I am using Debian 7 with ffmpeg-dmo-1.0.10 installed within root folder. Within root I have also another folder which contains 2 .avi files (W1.avi and W22.avi)
I am using following command to stream W1.avi file:

Code:
ffmpeg -i '/root/folder2/W1.avi' -acodec aac -vcodec libx264 -s 640x480 -preset medium -strict experimental -f flv rtmp://live.xyz.tv/app/a9085ebcedxxxxxxx83
and all works great.

Now I would like to add second file named W22.avi and make them both loop all the time.

So what I have done, I created list.txt file with following content:

Code:
file 'W1.avi'
file 'W22.avi'
and placed this list.txt file within folder2

and then I tried to use following commend:

Code:
ffmpeg -f concat -i '/root/folder2/list.txt' -acodec aac -vcodec libx264 -s 640x480 -preset medium -strict experimental -f flv rtmp://live.xyz.tv/app/a9085ebcedxxxxxxx83
After running above command I am getting following error:
Code:
Unknown input format: 'concat'
Can you kindly guide me what I am doing wrong? Or maybe there is another way to get what I need?

Thank you in advance,
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:33 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons