-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Repairing Recordings
Paul Gregoire edited this page Apr 9, 2014
·
5 revisions
To repair "unfinished" flv files manually, execute the following on the command line:
` export RH=/usr/share/red5
java -cp $RH/red5-server.jar:$RH/lib/red5-io-1.0.3.jar:$RH/lib/slf4j-api-1.7.5.jar:$RH/lib/logback-core-1.0.13.jar:$RH/lib/logback-classic-1.0.13.jar:$RH/lib/mina-core-2.0.8-SNAPSHOT.jar:$RH/lib/ehcache-core-2.5.0.jar org.red5.io.flv.impl.FLVWriter /usr/share/red5/webapps/vod/streams/myroom/mystream.flv.ser `
The arguments available are:
0 - Serial stream file path (the .ser file)
1 - Audio codec id (default: 11 == Speex)
2 - Video codec id (default: 7 == h.264)