=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:17 AM [express] GET /api/sessions/9/transcriptions 200 in 17ms :: {"success":true,"sessionId":9…
5:57:17 AM [express] POST /api/transcriptions/391/status 200 in 17ms :: {"id":391,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:17 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
5:57:18 AM [express] POST /api/transcriptions/390/status 200 in 17ms :: {"id":390,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:18 AM [express] GET /api/sessions/9/transcriptions 200 in 19ms :: {"success":true,"sessionId":9…
5:57:18 AM [express] POST /api/transcriptions/390/status 200 in 16ms :: {"id":390,"sessionId":9,"sta…
[RTMP] Status check - Server running: true
5:57:18 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:18 AM [express] GET /api/sessions/9/transcriptions 304 in 18ms :: {"success":true,"sessionId":9…
5:57:19 AM [express] POST /api/transcriptions/389/status 200 in 18ms :: {"id":389,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:19 AM [express] GET /api/sessions/9/transcriptions 200 in 18ms :: {"success":true,"sessionId":9…
5:57:19 AM [express] POST /api/transcriptions/389/status 200 in 18ms :: {"id":389,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:20 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
5:57:20 AM [express] POST /api/transcriptions/386/status 200 in 18ms :: {"id":386,"sessionId":9,"sta…
Active transcription sessions: []
5:57:20 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:20 AM [express] GET /api/sessions/9/transcriptions 200 in 24ms :: {"success":true,"sessionId":9…
5:57:20 AM [express] POST /api/transcriptions/386/status 200 in 17ms :: {"id":386,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:21 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
5:57:21 AM [express] POST /api/transcriptions/383/status 200 in 16ms :: {"id":383,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:21 AM [express] GET /api/sessions/9/transcriptions 200 in 17ms :: {"success":true,"sessionId":9…
5:57:21 AM [express] POST /api/transcriptions/383/status 200 in 17ms :: {"id":383,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:22 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
5:57:22 AM [express] POST /api/transcriptions/378/status 200 in 17ms :: {"id":378,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:22 AM [express] GET /api/sessions/9/transcriptions 200 in 17ms :: {"success":true,"sessionId":9…
5:57:22 AM [express] POST /api/transcriptions/378/status 200 in 17ms :: {"id":378,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:23 AM [express] GET /api/sessions/9/transcriptions 304 in 18ms :: {"success":true,"sessionId":9…
5:57:23 AM [express] POST /api/transcriptions/368/status 200 in 17ms :: {"id":368,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:23 AM [express] GET /api/sessions/9/transcriptions 200 in 18ms :: {"success":true,"sessionId":9…
5:57:24 AM [express] POST /api/transcriptions/368/status 200 in 17ms :: {"id":368,"sessionId":9,"sta…
[RTMP] Status check - Server running: true
5:57:24 AM [express] GET /api/rtmp/status 304 in 2ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:24 AM [express] GET /api/sessions/9/transcriptions 304 in 18ms :: {"success":true,"sessionId":9…
5:57:24 AM [express] POST /api/transcriptions/366/status 200 in 17ms :: {"id":366,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:24 AM [express] GET /api/sessions/9/transcriptions 200 in 18ms :: {"success":true,"sessionId":9…
Active transcription sessions: []
5:57:25 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
5:57:27 AM [express] POST /api/transcriptions/362/status 200 in 16ms :: {"id":362,"sessionId":9,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:27 AM [express] GET /api/sessions/9/transcriptions 200 in 16ms :: {"success":true,"sessionId":9…
[RTMP] Status check - Server running: true
5:57:29 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
Active transcription sessions: []
5:57:30 AM [express] GET /api/transcriptions/active 304 in 0ms :: {"success":true,"activeSessionIds"…
5:57:33 AM [express] POST /api/transcriptions/397/status 200 in 17ms :: {"id":397,"sessionId":3,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:57:33 AM [express] GET /api/sessions/3/transcriptions 200 in 17ms :: {"success":true,"sessionId":3…
[RTMP] Status check - Server running: true
5:57:34 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
5:57:35 AM [express] POST /api/transcriptions/394/status 200 in 18ms :: {"id":394,"sessionId":3,"sta…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:57:35 AM [express] GET /api/sessions/3/transcriptions 200 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: []
5:57:36 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:57:39 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
🚀 Starting transcription service for session: 3
🎬 Starting stream clip processing for session 3
Fetching settings
📝 Transcription service started for session 3
5:57:40 AM [express] POST /api/transcriptions/start 200 in 41ms :: {"message":"Transcription started…
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154260423.wav
Active transcription sessions: [ 3 ]
5:57:40 AM [express] GET /api/transcriptions/active 200 in 1ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:57:40 AM [express] GET /api/sessions/3/transcriptions 304 in 20ms :: {"success":true,"sessionId":3…
🚀 Starting transcription service for session: 9
🎬 Starting stream clip processing for session 9
Fetching settings
📝 Transcription service started for session 9
5:57:43 AM [express] POST /api/transcriptions/start 200 in 35ms :: {"message":"Transcription started…
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154263736.wav
Active transcription sessions: [ 3, 9 ]
5:57:43 AM [express] GET /api/transcriptions/active 200 in 1ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 12 transcriptions
Found 12 transcriptions
5:57:44 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
[RTMP] Status check - Server running: true
5:57:45 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/10/transcriptions
Method: GET
Session ID from params: 10
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 10
Attempting to fetch transcriptions for session: 10
Fetching transcriptions for session: 10 with status: undefined
Found 6 transcriptions
Found 6 transcriptions
5:57:45 AM [express] GET /api/sessions/10/transcriptions 304 in 16ms :: {"success":true,"sessionId":…
Active transcription sessions: [ 3, 9 ]
5:57:49 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:57:50 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:57:53 AM [express] GET /api/sessions/3/transcriptions 304 in 19ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:57:54 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:57:55 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:57:58 AM [express] GET /api/sessions/3/transcriptions 304 in 18ms :: {"success":true,"sessionId":3…
[FFMPEG] Process completed successfully for session 3
🎙 Starting OpenAI Whisper transcription
Active transcription sessions: [ 3, 9 ]
5:57:59 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
🎬 Starting stream clip processing for session 3
Fetching settings
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154280424.wav
[RTMP] Status check - Server running: true
5:58:00 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
⏱ OpenAI Whisper API response time: 2294ms
✅ Received transcript from OpenAI Whisper
🤖 Starting OpenAI translation
[FFMPEG] Process completed successfully for session 9
🎙 Starting OpenAI Whisper transcription
🎬 Starting stream clip processing for session 9
Fetching settings
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154283735.wav
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 7 transcriptions
Found 7 transcriptions
5:58:04 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
⏱ OpenAI Whisper API response time: 1984ms
✅ Received transcript from OpenAI Whisper
🤖 Starting OpenAI translation
⏱ OpenAI API response time: 2974ms
✅ Received translation from OpenAI
⏱ Database save time: 17ms
⏱ Total processing time for session 3: 23868ms
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154260423.wav
Active transcription sessions: [ 3, 9 ]
5:58:05 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[FFMPEG] Process failed for session 3 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x7a7800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_3/clip_1741154280424.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x7a9240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 3
❌ Error processing stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154280424.wav
Failed to process stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[RTMP] Status check - Server running: true
5:58:06 AM [express] GET /api/rtmp/status 304 in 3ms :: {"isRunning":true}
⏱ OpenAI API response time: 2008ms
✅ Received translation from OpenAI
⏱ Database save time: 22ms
⏱ Total processing time for session 9: 22547ms
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154263736.wav
[FFMPEG] Process failed for session 9 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0xb7e800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_9/clip_1741154283735.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0xb80240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 9
❌ Error processing stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154283735.wav
Failed to process stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:09 AM [express] GET /api/sessions/3/transcriptions 200 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:58:10 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:11 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:14 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:58:15 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:16 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
🎬 Starting stream clip processing for session 3
Fetching settings
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154300426.wav
Active transcription sessions: [ 3, 9 ]
5:58:20 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:22 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
🎬 Starting stream clip processing for session 9
Fetching settings
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154303735.wav
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 13 transcriptions
Found 13 transcriptions
5:58:23 AM [express] GET /api/sessions/9/transcriptions 200 in 18ms :: {"success":true,"sessionId":9…
[FFMPEG] Process failed for session 3 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x12bb800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_3/clip_1741154300426.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x12bd240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 3
❌ Error processing stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154300426.wav
Failed to process stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Active transcription sessions: [ 3, 9 ]
5:58:26 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:27 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
[FFMPEG] Process failed for session 9 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x18d9800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_9/clip_1741154303735.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x18db240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 9
❌ Error processing stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154303735.wav
Failed to process stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 13 transcriptions
Found 13 transcriptions
5:58:29 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
Active transcription sessions: [ 3, 9 ]
5:58:31 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:32 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
Active transcription sessions: [ 3, 9 ]
5:58:36 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:37 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:39 AM [express] GET /api/sessions/3/transcriptions 304 in 19ms :: {"success":true,"sessionId":3…
🎬 Starting stream clip processing for session 3
Fetching settings
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154320425.wav
Active transcription sessions: [ 3, 9 ]
5:58:41 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:43 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
🎬 Starting stream clip processing for session 9
Fetching settings
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154323735.wav
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:44 AM [express] GET /api/sessions/3/transcriptions 304 in 18ms :: {"success":true,"sessionId":3…
[FFMPEG] Process failed for session 3 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x1d91800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_3/clip_1741154320425.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x1d93240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 3
❌ Error processing stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154320425.wav
Failed to process stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Active transcription sessions: [ 3, 9 ]
5:58:47 AM [express] GET /api/transcriptions/active 304 in 0ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:48 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
[FFMPEG] Process failed for session 9 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x13c2800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_9/clip_1741154323735.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x13c4240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 9
❌ Error processing stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154323735.wav
Failed to process stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:49 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:58:52 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:53 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:58:54 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:58:57 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:58:58 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:00 AM [express] GET /api/sessions/3/transcriptions 304 in 19ms :: {"success":true,"sessionId":3…
🎬 Starting stream clip processing for session 3
Fetching settings
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154340425.wav
Active transcription sessions: [ 3, 9 ]
5:59:03 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
🎬 Starting stream clip processing for session 9
Fetching settings
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154343735.wav
[RTMP] Status check - Server running: true
5:59:04 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:05 AM [express] GET /api/sessions/3/transcriptions 304 in 21ms :: {"success":true,"sessionId":3…
[FFMPEG] Process failed for session 3 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0xb16800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_3/clip_1741154340425.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0xb18240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 3
❌ Error processing stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154340425.wav
Failed to process stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Active transcription sessions: [ 3, 9 ]
5:59:08 AM [express] GET /api/transcriptions/active 304 in 0ms :: {"success":true,"activeSessionIds"…
[FFMPEG] Process failed for session 9 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x1150800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_9/clip_1741154343735.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x1152240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090454%
size=     171kB time=00:00:05.43 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 9
❌ Error processing stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154343735.wav
Failed to process stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[RTMP] Status check - Server running: true
5:59:09 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:10 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:59:13 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:59:14 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:15 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
Active transcription sessions: [ 3, 9 ]
5:59:18 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:59:19 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
🎬 Starting stream clip processing for session 3
Fetching settings
Found existing settings
🔄 Running in test mode for session 3
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 3...
[FFMPEG] Starting process for session 3 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_3/clip_1741154360426.wav
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:21 AM [express] GET /api/sessions/3/transcriptions 304 in 17ms :: {"success":true,"sessionId":3…
🎬 Starting stream clip processing for session 9
Fetching settings
Found existing settings
🔄 Running in test mode for session 9
📁 Using test file: /home/runner/workspace/uploads/3.mp3
🎙 Converting audio to WAV format for session 9...
[FFMPEG] Starting process for session 9 with args: -re -probesize 32 -analyzeduration 0 -i /home/runner/workspace/uploads/3.mp3 -t 20 -bufsize 64k -acodec pcm_s16le -ac 1 -ar 16000 -y uploads/transcription/session_9/clip_1741154363735.wav
Active transcription sessions: [ 3, 9 ]
5:59:24 AM [express] GET /api/transcriptions/active 304 in 1ms :: {"success":true,"activeSessionIds"…
[RTMP] Status check - Server running: true
5:59:25 AM [express] GET /api/rtmp/status 304 in 2ms :: {"isRunning":true}
[FFMPEG] Process failed for session 3 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x1a1c800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_3/clip_1741154360426.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x1a1e240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 3
❌ Error processing stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 3: uploads/transcription/session_3/clip_1741154360426.wav
Failed to process stream clip for session 3: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
[FFMPEG] Process failed for session 9 with code 255
stderr: ffmpeg version 6.1.1 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.0 (GCC)
  configuration: --disable-static --prefix=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1 --target_os=linux --arch=x86_64 --pkg-config=pkg-config --enable-gpl --enable-version3 --disable-nonfree --disable-static --enable-shared --enable-pic --disable-thumb --disable-small --enable-runtime-cpudetect --disable-gray --enable-swscale-alpha --enable-hardcoded-tables --enable-safe-bitstream-reader --enable-pthreads --disable-w32threads --disable-os2threads --enable-network --enable-pixelutils --datadir=/nix/store/71hcrwn1g6ncki859v14jq18i8fx84sk-ffmpeg-6.1.1-data/share/ffmpeg --enable-ffmpeg --enable-ffplay --enable-ffprobe --bindir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-bin/bin --enable-avcodec --enable-avdevice --enable-avfilter --enable-avformat --enable-avutil --enable-postproc --enable-swresample --enable-swscale --libdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-lib/lib --incdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-dev/include --enable-doc --enable-htmlpages --enable-manpages --mandir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-man/share/man --enable-podpages --enable-txtpages --docdir=/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ffmpeg-6.1.1-doc/share/doc/ffmpeg --enable-alsa --disable-libaom --disable-appkit --disable-libaribcaption --enable-libass --disable-audiotoolbox --disable-avfoundation --disable-avisynth --disable-libbluray --disable-libbs2b --enable-bzlib --disable-libcaca --disable-libcelt --disable-chromaprint --disable-libcodec2 --disable-coreimage --disable-cuda --disable-cuda-llvm --enable-cuvid --enable-libdav1d --disable-libdc1394 --enable-libdrm --disable-libfdk-aac --enable-ffnvcodec --disable-libflite --enable-fontconfig --enable-libfontconfig --enable-libfreetype --disable-frei0r --disable-libfribidi --disable-libgme --enable-gnutls --disable-libgsm --enable-libharfbuzz --enable-iconv --disable-libjack --disable-libjxl --disable-ladspa --enable-lzma --disable-libmfx --disable-libmodplug --enable-libmp3lame --disable-libmysofa --enable-nvdec --enable-nvenc --disable-openal --disable-opencl --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --enable-libopus --disable-libplacebo --enable-libpulse --disable-librav1e --disable-librtmp --disable-libsmbclient --enable-sdl2 --disable-libshaderc --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --disable-librsvg --enable-libsvtav1 --disable-libtensorflow --enable-libtheora --enable-libv4l2 --enable-v4l2-m2m --enable-vaapi --enable-vdpau --disable-libvpl --disable-videotoolbox --disable-libvidstab --disable-libvmaf --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-vulkan --disable-libwebp --enable-libx264 --enable-libx265 --disable-libxavs --disable-libxcb --disable-libxcb-shape --disable-libxcb-shm --disable-libxcb-xfixes --disable-xlib --disable-libxml2 --enable-libxvid --enable-libzimg --enable-zlib --disable-libzmq --disable-debug --enable-optimizations --disable-extra-warnings --disable-stripping
  libavutil      58. 29.100 / 58. 29.100
  libavcodec     60. 31.102 / 60. 31.102
  libavformat    60. 16.100 / 60. 16.100
  libavdevice    60.  3.100 / 60.  3.100
  libavfilter     9. 12.100 /  9. 12.100
  libswscale      7.  5.100 /  7.  5.100
  libswresample   4. 12.100 /  4. 12.100
  libpostproc    57.  3.100 / 57.  3.100
[mp3 @ 0x5f3800] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from '/home/runner/workspace/uploads/3.mp3':
  Metadata:
    album           : demo
    date            : 2011
    comment         : www.arabianbeat.com
    track           : 1
    genre           : Other
  Duration: 00:00:18.93, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3, 44100 Hz, mono, fltp, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mp3 (mp3float) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'uploads/transcription/session_9/clip_1741154363735.wav':
  Metadata:
    IPRD            : demo
    ICRD            : 2011
    ICMT            : www.arabianbeat.com
    IPRT            : 1
    IGNR            : Other
    ISFT            : Lavf60.16.100
  Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, mono, s16, 256 kb/s
    Metadata:
      encoder         : Lavc60.31.102 pcm_s16le
[out#0/wav @ 0x5f5240] video:0kB audio:171kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.090023%
size=     172kB time=00:00:05.45 bitrate= 257.5kbits/s speed= 1.1x    
Exiting normally, received signal 15.

[FFMPEG] Process stopped for session 9
❌ Error processing stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
🧹 Cleaned up temp file for session 9: uploads/transcription/session_9/clip_1741154363735.wav
Failed to process stream clip for session 9: Error: FFMPEG process failed with code 255
    at ChildProcess.<anonymous> (/home/runner/workspace/server/ffmpeg-manager.ts:73:18)
    at ChildProcess.emit (node:events:530:35)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
Active transcription sessions: [ 3, 9 ]
5:59:29 AM [express] GET /api/transcriptions/active 304 in 0ms :: {"success":true,"activeSessionIds"…
⏹ Transcription service stopped for session 3
5:59:29 AM [express] POST /api/transcriptions/stop 200 in 1ms :: {"message":"Transcription stopped s…
Active transcription sessions: [ 9 ]
5:59:30 AM [express] GET /api/transcriptions/active 200 in 4ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/3/transcriptions
Method: GET
Session ID from params: 3
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 3
Attempting to fetch transcriptions for session: 3
Fetching transcriptions for session: 3 with status: undefined
Found 8 transcriptions
Found 8 transcriptions
5:59:30 AM [express] GET /api/sessions/3/transcriptions 304 in 18ms :: {"success":true,"sessionId":3…
[RTMP] Status check - Server running: true
5:59:30 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
⏹ Transcription service stopped for session 9
5:59:32 AM [express] POST /api/transcriptions/stop 200 in 1ms :: {"message":"Transcription stopped s…
Active transcription sessions: []
5:59:32 AM [express] GET /api/transcriptions/active 200 in 1ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 13 transcriptions
Found 13 transcriptions
5:59:32 AM [express] GET /api/sessions/9/transcriptions 304 in 18ms :: {"success":true,"sessionId":9…
[RTMP] Status check - Server running: true
5:59:35 AM [express] GET /api/rtmp/status 304 in 1ms :: {"isRunning":true}
Active transcription sessions: []
5:59:38 AM [express] GET /api/transcriptions/active 304 in 0ms :: {"success":true,"activeSessionIds"…
=== Transcriptions Request Debug Info ===
Full URL: http://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/api/sessions/9/transcriptions
Method: GET
Session ID from params: 9
Query params: {}
Headers: {
  origin: undefined,
  host: '9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev',
  referer: 'https://9b89bc69-4f57-477a-a4e2-2880e8cb8ec5-00-3i30iqd56py7z.spock.replit.dev/manage/transcriptions',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36'
}
Parsed sessionId: 9
Attempting to fetch transcriptions for session: 9
Fetching transcriptions for session: 9 with status: undefined
Found 13 transcriptions
Found 13 transcriptions
5:59:38 AM [express] GET /api/sessions/9/transcriptions 304 in 17ms :: {"success":true,"sessionId":9…
[RTMP] Status check - Server run