-
-
Notifications
You must be signed in to change notification settings - Fork 989
Repairing Recordings
Paul Gregoire edited this page Nov 13, 2018
·
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.10-M7.jar:$RH/lib/slf4j-api-1.7.25.jar:$RH/lib/logback-core-1.2.3.jar:$RH/lib/logback-classic-1.2.3.jar:$RH/lib/mina-core-2.0.19.jar:$RH/lib/ehcache-core-2.6.11.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)