Copy files from Windows to Ubuntu/Linux

If you want to copy your files from windows laptop/PC to Ubuntu/Linux laptop/PC, than you can do it easiest way. If you are doing it this way than there might be some less transfer speed up to 10-20 mbps. But I am sure if you don’t have any other way than you can try this way. This way you can pause your progress and resume your transfer progress.

Follow given steps :

1) Install openssh server to your linux system

command : sudo apt-get install openssh-server

2) After installing openssh server, you can access your linux system from any other system connected with same network, you have to connect both system in same network. You can connect them via same router, wi-fi or by creating ad-hoc in one of system.

3) Install any ftp transfer application in windows, I mostly prefer filezilla to ftp transfer

4) Open filezilla in windows systsem, enter ip(ipv6) of linux system as server and user system(Linux) login credentials for ftp username and password.

5) Now you can easily move your files to linux from windows

This is the easiest way to transfer files from linux to windows.

 

For any query : contact me Ghanshyam Katriya (+91 9033701080 | anshkatriya@gmail.com)

Move recordings to another BigBlueButton setup

You can move your existing recording files to another bbb server/setup if you don’t want to loose your existing recordings.

Follow steps given here and you will achieve what you want. There are some benefits like you can grab this recordings using BBB recording API also.

It will work on record playback modules also, So you don’t need to setup anything more for working BBB recording API demo.

For eg., You have made some recordings using BBB demo API with meeting name English 101.

So, all recording files will be named 6e35e3b2778883f5db637d7a5dba0a427f692e91-******* This you can see using command “bbb-record –list” command.

Now, you have to copy all source for this recordings under this location, /var/bigbluebutton/MEETING_RECORDINGS_FOLDERS and /var/bigbluebutton/published/presentation/MEETING_RECORDINGS_FOLDERS to another BBB server on same path /var/bigbluebutton and /var/bigbluebutton/published/presentation.

Now, execute command `bbb-record –list` to see all recordings on other bbb server, you will see all this recording listed.

You can directly open this recording playback files using this url : http://BBB_SERVER_IP/playback/presentation/0.9.0/playback.html?meetingId=RECORDING_FOLDER_NAME

For any query : contact me Ghanshyam Katriya (+91 9033701080 | anshkatriya@gmail.com)

 

 

Post script for convert video/audio into .mp4/.mp3

Required package :

ffmpeg, avconv

Note : If these package are not installed in then you can install it using these command.

For ffmpeg : sudo apt-get install ffmpeg

For avconv : sudo apt-get install libav-tools

 

Step 1 : Open presentation.rb file located in /usr/local/bigbluebutton/core/scripts/publish/

 

Step 2 : Replace below contents with given contents :

 

Existing Content :

 

if File.exist?(“#{$process_dir}/webcams.webm”)

BigBlueButton.logger.info(“Making video dir”)

video_dir = “#{package_dir}/video”

FileUtils.mkdir_p video_dir

BigBlueButton.logger.info(“Made video dir – copying: #{$process_dir}/webcams.webm to -> #{video_dir}”)

FileUtils.cp(“#{$process_dir}/webcams.webm”, video_dir)

BigBlueButton.logger.info(“Copied .webm file”)

else

audio_dir = “#{package_dir}/audio”

BigBlueButton.logger.info(“Making audio dir”)

FileUtils.mkdir_p audio_dir

BigBlueButton.logger.info(“Made audio dir – copying: #{$process_dir}/audio.webm to -> #{audio_dir}”)

FileUtils.cp(“#{$process_dir}/audio.webm”, audio_dir)

BigBlueButton.logger.info(“Copied audio.webm file – copying: #{$process_dir}/audio.ogg to -> #{audio_dir}”)

FileUtils.cp(“#{$process_dir}/audio.ogg”, audio_dir)

BigBlueButton.logger.info(“Copied audio.ogg file”)

end

 

Replace Content :

 

 

if File.exist?(“#{$process_dir}/webcams.webm”)

BigBlueButton.logger.info(“Making video dir”)

video_dir = “#{package_dir}/video”

FileUtils.mkdir_p video_dir

BigBlueButton.logger.info(“Made video dir – copying: #{$process_dir}/webcams.webm to -> #{video_dir}”)

FileUtils.cp(“#{$process_dir}/webcams.webm”, video_dir)

BigBlueButton.logger.info(“Copied .webm file”)

#Added by Ghanshyam Katriya Company : Ecosmob Technology Pvt Ltd. Date : 23/12/2015 Purpose : Convert .webm to .mp4

#Convert .webm video to .mp4 video command : ffmpeg -i {path}/webcams.webm -strict -2 {path}/webcams.mp4

command=”ffmpeg -i #{$process_dir}/webcams.webm -strict -2 #{$process_dir}/webcams.mp4″

BigBlueButton.execute(command)

FileUtils.cp(“#{$process_dir}/webcams.mp4”, video_dir)

else

audio_dir = “#{package_dir}/audio”

BigBlueButton.logger.info(“Making audio dir”)

FileUtils.mkdir_p audio_dir

BigBlueButton.logger.info(“Made audio dir – copying: #{$process_dir}/audio.webm to -> #{audio_dir}”)

FileUtils.cp(“#{$process_dir}/audio.webm”, audio_dir)

BigBlueButton.logger.info(“Copied audio.webm file – copying: #{$process_dir}/audio.ogg to -> #{audio_dir}”)

FileUtils.cp(“#{$process_dir}/audio.ogg”, audio_dir)

BigBlueButton.logger.info(“Copied audio.ogg file”)

#Added by Ghanshyam Katriya Company : Ecosmob Technology Pvt Ltd. Date : 23/12/2015 Purpose : Convert .ogg to .mp3

#Convert .ogg video to .wav video command : avconv -i {path}/audio.ogg {path}/audio.mp3

command=”avconv -i #{$process_dir}/audio.ogg #{$process_dir}/audio.mp3″

BigBlueButton.execute(command)

FileUtils.cp(“#{$process_dir}/audio.mp3”, audio_dir)

end