Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyue-zephyrus committed Jun 17, 2019
1 parent 22c9d32 commit 292a7e9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data_tools/ava/obtain_video_resolution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ cd ../../data/ava/

ls ./video_trimmed_trainval | while read filename; do \
vid="$(echo ${filename} | cut -d'.' -f1)";
resolution="ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 ${filename}"
resolution=`ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of csv=s=x:p=0 ./video_trimmed_trainval/${filename}`
echo ${vid} ${resolution}
done &> ava_video_resolution_stats.csv

cd ../../data_pool/ava/
echo $PWD

cd ../../data_tools/ava/

0 comments on commit 292a7e9

Please sign in to comment.