Skip to content

EZrenderer: copy sound from slide to cam - #60

Open
arwillame wants to merge 2 commits into
devfrom
CopySoundFromSlideToCam
Open

arwillame wants to merge 2 commits into
devfrom
CopySoundFromSlideToCam

Conversation

@arwillame

Copy link
Copy Markdown
Collaborator

copy sound from slide to cam if ( $enable_audio_sync == true && $copy_sound_from_slide_to_cam == true)
In case of sound from camera is not good

Comment thread ezrenderer/bin/lib_audio_sync.php Outdated
}
else print "Audio creation of ".$slidepath.".wav from ".$slidepath." SUCCEED. \n";
else
print "Audio creation of ".$slidepath.".wav from ".$slidepath." SUCCEED. \n";

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tu peux remplacer les \n par des PHP_EOL en général, c'est mieux pour la portabilité du code

Comment thread ezrenderer/bin/lib_audio_sync.php Outdated
print "Move ".$slidepath." from ".$movies_path."/slidetemp.mov failed. \n";

exec('cp '.$movies_path.'/camtemp.mov '.$campath,$err,$return);
if ($return != 0)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reste des tabs ici je pense :p

Comment thread ezrenderer/bin/lib_audio_sync.php Outdated
print "Move ".$campath." from ".$movies_path."/camtemp.mov failed. \n";


//use to replace the cam song with the slide song

@jdulb jdulb Aug 31, 2017

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plutôt "sound" plutôt que "song" ? ici et dans les occurences suivantes

@jdulb

jdulb commented Aug 31, 2017

Copy link
Copy Markdown
Collaborator

Je note que la config se fait sur le renderer, quid du jour où vous installez des nouvelles salles avec des caméras dont le son est ok ? Peut-etre qu'à ce moment là vous voudrez quand même garder la config et override le sons de celle là aussi, je pose juste la question au cas où :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants