News : The level of daily SPAM has reached insane proportions, all registrations are now manual. I ask you to send me an e-mail (john (at) murga (dot) org), to confirm that you want me to create an account for you.


Post Reply  Post Thread 
FLTK and ffmpeg
Author Message
Juergen
Member
***


Posts: 81
Group: Registered
Joined: May 2007
Status: Offline
Reputation: 0
Post: #1
RE: FLTK and ffmpeg

dvw86 Wrote:
Well I tried that about ten or twenty times and it worked once. All the other times the camera would come on and ffmpeg would start encoding. The xine window would open and display a scrambled window. As soon as I stopped ffmpeg, the xine window would display it's normal splash screen. It makes me wonder if it is a xine or a ffmpeg issue. If mplayer is more repeatable, I guess that I will have to install it. That would be a bit of a bummer since xine works so well for me otherwise.


Actually the problem might be on the Xine side of the pipeline but on the ffmpeg side. You should test it with files first. It would be a good to try something like that (bash syntax):

Code:
mkdir vout
for ((i=1;i<=20;i++))
  do
     ffmpeg -vd /dev/video -f video4linux -r 25 -s 352x288 -sameq -f mpeg -t 30 vout/clip`printf "%.2i" $i`.mpg
  done

echo vout/* | xargs xine

If that works well, then there might be a problem with the pipes, but the chance is higher that there is a problem with the video input.

Juergen

04-08-2008 11:18 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

Messages In This Thread
FLTK and ffmpeg - dvw86 - 04-06-2008, 04:25 AM
RE: FLTK and ffmpeg - mikshaw - 04-06-2008, 11:21 AM
RE: FLTK and ffmpeg - Juergen - 04-07-2008, 01:06 AM
RE: FLTK and ffmpeg - dvw86 - 04-07-2008, 02:31 AM
RE: FLTK and ffmpeg - Juergen - 04-07-2008, 03:13 AM
RE: FLTK and ffmpeg - mikshaw - 04-08-2008, 12:20 AM
RE: FLTK and ffmpeg - dvw86 - 04-08-2008, 02:33 AM
RE: FLTK and ffmpeg - Juergen - 04-08-2008, 03:27 AM
RE: FLTK and ffmpeg - Juergen - 04-08-2008, 03:44 AM
RE: FLTK and ffmpeg - mikshaw - 04-08-2008, 04:38 AM
RE: FLTK and ffmpeg - dvw86 - 04-08-2008, 09:30 AM
RE: FLTK and ffmpeg - Juergen - 04-08-2008, 11:01 PM
RE: FLTK and ffmpeg - Juergen - 04-08-2008 11:18 PM
RE: FLTK and ffmpeg - JohnMurga - 04-09-2008, 07:25 AM
RE: FLTK and ffmpeg - JohnMurga - 04-10-2008, 06:53 AM
RE: FLTK and ffmpeg - Juergen - 04-10-2008, 07:39 AM
RE: FLTK and ffmpeg - JohnMurga - 04-12-2008, 05:01 AM
RE: FLTK and ffmpeg - JohnMurga - 04-10-2008, 10:48 PM
RE: FLTK and ffmpeg - dvw86 - 04-11-2008, 04:32 AM

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: