

For example if the problem occurs around 64 seconds in, try -mc 0 -noskip -edl "$(echo "$N"|sed -e s/jpg$/png/)" done (followed by the mencoder command on *.png, or on to ensure it processes them in the correct order) If you get issues due to reconnection near the start of the stream, you may have to edit out a small section of the video.Check rtmpsuck output for captured files, then proceed as above.Leave it running while playing the video in a Flash-enabled browser like Google Chrome (which must be run as a non-root user for this to work).Iptables -t nat -A OUTPUT -p tcp -dport 1935 -m owner \! -uid-owner root -j REDIRECT If the sound is not synchronized, try setting the framerate explicitly with -fps 24 (or 27 or whatever) after each input file, maybe even adding -mc 0 in older versions rtmp streams embedded in complex Javascript etcYou need root access to a GNU/Linux machine with rtmpdump.Can save a clip to a separate file using -o clip.avi -oac lavc -ovc lavc and then combine multiple clips by specifying all their filenames on an mencoder command (when doing this it might be necessary to list the scaling and output options before the inputs).

Can trim with -ss start-second and/or -endpos length.Some discs work better with mencoder, while other discs work better with ffmpeg, so both commands are useful to keep. vcodec mpeg4 -b:v 600k -strict -2 -g 50 -vf yadif -c:a aac -b:a 160k output.mp4 Where for a multi-title DVD you'll need to figure out the correct set of VOB files, and -map 0:1 and -map 0:3 might need to be refined according to ffmpeg's output of the language list you'll also need to add some ffmpeg output options, e.g. Or cat $DVD_DIR/ VIDEO_TS/ *.VOB | ffmpeg -i -map 0:1 -map 0:3 If mencoder doesn't work well on a particular DVD, you could also try ffmpeg:Ĭd $DVD_DIR/ VIDEO_TS & ffmpeg -i "concat:$(echo *.VOB|tr ' ' '|')" -map 0:1 -map 0:3.


Track 1, default language, subtitles off:ĭvd://1 -dvd-device PATH -sid 31 (where PATH is the path to the DVD image).I am not an mencoder expert but just collected some options that worked for me. It is meant for conversions that are legal (own work, personal use of products without DRM, etc). These are some quick notes I made to provide starting points for mencoder command lines.
