Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

일부 동영상이 업로드되지 않는 오류 해결 #47

Merged
merged 2 commits into from
Oct 15, 2024
Merged

Conversation

SJ70
Copy link
Member

@SJ70 SJ70 commented Oct 15, 2024

🚀 작업 내용

동영상 업로드 중 발생하는 오류 원인 확인

  • ffmpeg 해상도 읽는 중 발생

📝 참고 사항

문자열 파싱 방식을 수정

기존 방식 : , 를 기준으로 split한 후, 정규식을 통해 해상도를 추출

Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 1796 kb/s, 72.58 fps, 60 tbr, 60k tbn (default)

하지만 아래와 같은 형식도 존재함을 확인

Stream #0:0[0x1](und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 7666 kb/s, 60 fps, 60 tbr, 15360 tbn (default)

delimeter를 ,에서 로 변경

🖼️ 스크린샷

image

@SJ70 SJ70 merged commit 86e3111 into main Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant